/*==================================================
        ESTHER GYEKYEBEA PORTFOLIO
                ABOUT PAGE
===================================================*/

:root {

    --primary: #ff9d17;
    --dark: #20252d;
    --white: #ffffff;
    --black: #000;
    --shadow: 0 10px 25px rgba(0, 0, 0, .25);
    --transition: .35s ease;
    --max-width: 1200px;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Poppins', sans-serif;

    background: #fff;

    overflow-x: hidden;

}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {

    width: min(92%, 1200px);

    margin: auto;

}

/*==========================
HEADER
==========================*/

header {

    background: #fff;

}

.nav-container {

    height: 75px;

    display: flex;

    justify-content: space-between;

    align-items: center;

}

.logo img {

    width: 85px;

}

.nav-links {

    display: flex;

    gap: 48px;

}

.nav-links a {

    color: var(--primary);

    font-size: 1.2rem;

    font-weight: 700;

    position: relative;

    transition: .3s;

}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 3px;

    background: var(--primary);

    transition: .35s;

}

.nav-links a:hover::after,

.nav-links .active::after {

    width: 100%;

}

.nav-links a:hover {

    color: #000;

}

.menu-btn {

    display: none;

    font-size: 2rem;

    color: var(--primary);

    cursor: pointer;

}

/*==========================
ABOUT
==========================*/

.about {

    background: var(--dark);

    min-height: 530px;

    display: flex;

    align-items: center;

}

.about-content {

    text-align: center;

    color: #fff;

    animation: fadeUp 1s ease;

}

.about-content h1 {

    font-size: 4rem;

    font-weight: 800;

    font-style: italic;

    margin-bottom: 35px;

}

.about-content p {

    max-width: 980px;

    margin: auto;

    font-size: 1.15rem;

    line-height: 2.1;

    font-style: italic;

    font-weight: 700;

    text-align: left;

}

/*==========================
BUTTON
==========================*/

.btn {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    margin-top: 65px;

    width: 220px;

    height: 60px;

    background: var(--primary);

    color: #fff;

    font-size: 1.5rem;

    font-weight: 700;

    font-style: italic;

    border-radius: 10px;

    transition: .35s;

    box-shadow: 0 8px 0 rgba(0, 0, 0, .35);

}

.btn:hover {

    transform: translateY(-6px);

    box-shadow: 0 20px 35px rgba(0, 0, 0, .30);

}

.btn:active {

    transform: translateY(-2px);

}

/*==========================
FOOTER
==========================*/

footer {

    background: var(--primary);

    padding: 18px 0;

}

footer p {

    text-align: center;

    color: #fff;

    font-size: 1.8rem;

    font-style: italic;

    font-weight: 700;

}

/*==========================
ANIMATION
==========================*/

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/*==========================
RESPONSIVE
==========================*/

@media(max-width:900px) {

    .about {

        padding: 70px 0;

    }

    .about-content h1 {

        font-size: 3rem;

    }

    .about-content p {

        font-size: 1rem;

        text-align: center;

    }

    .nav-links {

        display: none;

        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        background: #fff;

        padding: 25px;

        flex-direction: column;

        gap: 20px;

        box-shadow: 0 10px 20px rgba(0, 0, 0, .15);

    }

    .nav-links.active {

        display: flex;

    }

    .menu-btn {

        display: block;

    }

}

@media(max-width:600px) {

    .logo img {

        width: 65px;

    }

    .about-content h1 {

        font-size: 2.3rem;

    }

    .about-content p {

        font-size: .95rem;

        line-height: 1.9;

    }

    .btn {

        width: 100%;

        max-width: 240px;

        font-size: 1.2rem;

    }

    footer p {

        font-size: 1.1rem;

    }

}