@charset "UTF-8";

:root {
    --soft-white: #f5f5f5;
    --powder-blue: #b9e1dc;
    --coral: #ff865e;
    --gunmetal: #303841;
    --bs-body-font-family: 'Outfit', sans-serif;
    --bs-body-font-size: 18px;
    --bs-body-font-weight: 400;
    --bs-heading-font-weight: 500;
    --bs-body-line-height: 30px;
    --bs-body-color: #303841;
    --bs-gutter-x: 2rem;
}

.hero-background {
    background: url(./assets/img/hero-background.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.coral-overlay {
    background: rgba(255, 134, 94, 0.96);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.light-background {
    background: var(--soft-white);
}

.soft-background {
    background: var(--powder-blue);
}

.dark-background {
    background: var(--gunmetal);
}

h1, h2, h3, h4, h5 {
    font-family: var(--bs-body-font-family);
    color: var(--bs-body-color);
}

h1, h2, h3, h4 {
    font-weight: var(--bs-heading-font-weight);
}

h1 {
    font-size: 48px;
    line-height: 60px;
    padding-bottom: 20px;
}

h2 {
    font-size: 44px;
    line-height: 48px;
    padding-bottom: 12px;
}

h3 {
    font-size: 36px;
    line-height: 36px;
    padding-bottom: 14px;
}

h4 {
    font-size: 32px;
    line-height: 32px;
    padding-bottom: 10px;
}

h5 {
    font-size: 28px;
    line-height: 40px;
    padding-bottom: 10px;
    font-weight: 400;
}

section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.btn {
    padding: 5px 24px;
    border-radius: 5px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 18px;
    margin-top: 10px;
}

.btn-primary {
    color: #ffffff;
    background-color: var(--coral);
    border-color: var(--coral);
}

.btn-secondary {
    color: var(--gunmetal);
    background-color: #ffffff;
    border-color: #ffffff;
}

.btn-primary:hover {
    color: var(--gunmetal);
    background-color: #ffffff;
    border-color: #ffffff;
}

.btn-secondary:hover {
    color: var(--gunmetal);
    background-color: var(--powder-blue);
    border-color: var(--powder-blue);
}

.btn-check:focus+.btn-primary,
.btn-primary:focus {
    background-color: var(--coral);
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgb(48 56 65 / 80%);
}

::selection {
    color: var(--gunmetal);
    background: var(--powder-blue);
}

.soft-background ::selection {
    color: #ffffff;
    background: var(--coral);
}

.section-text {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.section-text .btn.btn-primary {
    max-width: 8em;
}

.section-logo img {
    width: 100%;
    max-width: 30rem;
}

.section-img img {
    width: 100%;
    max-width: 24rem;
    border: solid 12px #ffffff;
}

h2.sticky-top {
    padding-top: 1rem;
}

.section-experience {
    background: url(./assets/img/paper-plane.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.section-experience ul {
    padding-bottom: 20px;
}

.section-experience .col-lg-8.col-sm-12 div:last-child ul {
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-experience ul li {
    margin-bottom: .75em;
}

.section-experience p {
    font-weight: 500;
    text-transform: uppercase;
}

.section-experience a {
    text-decoration: none;
    color: var(--gunmetal);
}

.section-experience a:hover {
    color: var(--coral);
}

.img-portfolio {
    position: relative;
}

.img-portfolio:before {
    content: "";
    background: #fff;
    position: absolute;
    left: -16vw;
    right: 0;
    bottom: -2rem;
    top: -2rem;
}

.img-portfolio:after {
    content: "";
    background-size: cover;
    opacity: 0.3;
    background: url(./assets/img/portfolio-background.svg) fixed;
    position: absolute;
    left: -16vw;
    right: 0;
    bottom: -2rem;
    top: -2rem;
}

#accordion-portfolio {
    z-index: 1;
    position: relative;
}

#accordion-portfolio .accordion-body ul li {
    list-style: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#accordion-portfolio .accordion-body ul li a {
    color: var(--gunmetal);
}

#accordion-portfolio .accordion-body ul li a:hover {
    color: var(--coral);
}

.accordion-item {
    border: unset;
    margin-bottom: 5px;
}

.accordion-body ul {
    padding-left: 1rem;
}

.accordion-header {
    padding-bottom: 0;
    border: 1px solid var(--gunmetal)
}

.accordion-body {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 1px solid var(--gunmetal);
    border-bottom: 1px solid var(--gunmetal);
    border-right: 1px solid var(--gunmetal);
}

button.accordion-button {
    font-size: 20px;
}

button.accordion-button.collapsed:hover {
    color: #ffffff;
    background: var(--coral);
}

.accordion-button.collapsed:hover::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23303841'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23303841'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed) {
    color: var(--gunmetal);
    background-color: var(--powder-blue);
    box-shadow: unset;
}

.accordion-button,
.accordion-button.collapsed {
    padding: 0.5rem 1rem;
}

.accordion-button:focus {
    box-shadow: unset;
}

.accordion-item:first-of-type .accordion-button {
    border-top-left-radius: unset;
    border-top-right-radius: unset;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
}

footer {
    font-size: 14px;
    font-weight: 300;
    line-height: 27px;
    text-align: center;
}

footer a {
    text-decoration: none;
    text-align: center;
    color: #ffffff;
}

footer a:hover {
    color: var(--coral);
}

footer .container {
    display: flex;
    justify-content: space-between;
}

footer .container .footer-links {
    display: flex;
    gap: 40px;
}

/* Tablet and mobile */
@media only screen and (max-width: 991px) {
    h1 {
        font-size: 44px;
        line-height: 48px;
        padding-bottom: 12px;
    }

    h2 {
        font-size: 36px;
        line-height: 36px;
        padding-bottom: 14px;
    }

    h3 {
        font-size: 32px;
        line-height: 32px;
        padding-bottom: 10px;
    }

    h4 {
        font-size: 28px;
        line-height: 40px;
        padding-bottom: 10px;
        font-weight: 400;
    }

    h5 {
        font-size: 24px;
        line-height: 38px;
        padding-bottom: 10px;
        font-weight: 400;
    }

    section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #hero-area h1 {
        padding-top: 40px
    }

    .reverse-columns {
        flex-direction: column-reverse;
    }

    .section-text {
        padding-top: 40px;
        text-align: center;
    }

    h2.sticky-top {
        padding-top: 0;
    }

    .section-experience h2 {
        padding-bottom: 30px;
    }

    .section-text {
        align-items: center;
    }

    .section-img img {
        margin-bottom: 20px;
    }

    footer .container {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    footer .container .footer-links {
        flex-direction: column;
        gap: 0px;
    }

    footer p {
        margin-bottom: 10px;
        font-size: 20px;
        font-weight: 500;
    }

    footer a {
        padding-bottom: 20px;
        color: var(--coral);
    }
}
