/*==================================================
  ESTHER GYEKYEBEA PORTFOLIO
  STYLE.CSS
===================================================*/

/*==============================
ROOT VARIABLES
==============================*/

:root {

    --primary: #ff9f1a;
    --secondary: #1f252d;
    --white: #ffffff;
    --black: #000;
    --gray: #efefef;
    --dark: #20252d;

    --shadow: 0 12px 30px rgba(0, 0, 0, .18);

    --transition: .35s ease;

    --radius: 8px;

    --max-width: 1200px;

}

/*==============================
RESET
==============================*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {

    font-family: 'Poppins', sans-serif;

    color: var(--white);

    background: #fff;

    overflow-x: hidden;

}

img {
    display: block;
    width: 100%;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {

    width: min(92%, var(--max-width));

    margin: auto;

}

/*==============================
HEADER
==============================*/

header {

    width: 100%;

    background: #fff;

    position: relative;

    z-index: 100;

}

.nav-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 75px;

}

.logo img {

    width: 85px;

}

.nav-links {

    display: flex;

    align-items: center;

    gap: 48px;

}

.nav-links a {

    color: var(--primary);

    font-size: 1.2rem;

    font-weight: 700;

    transition: var(--transition);

    position: relative;

}

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 3px;

    background: var(--primary);

    transition: .35s;

}

.nav-links a:hover {

    color: #000;

}

.nav-links a:hover::after {

    width: 100%;

}

.menu-btn {

    display: none;

    color: var(--primary);

    font-size: 2rem;

    cursor: pointer;

}

/*==============================
HERO
==============================*/

.hero {

    position: relative;

    background: var(--secondary);

    overflow: hidden;

}

.orange-bg {

    position: absolute;

    right: 0;

    top: 0;

    width: 22%;

    height: 100%;

    background: var(--primary);

}

.hero-container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 610px;

    position: relative;

    z-index: 2;

}

/*==============================
LEFT
==============================*/

.hero-text {

    width: 55%;

    animation: slideLeft 1s ease;

}

.hero-text h3 {

    font-size: 2rem;

    margin-bottom: 25px;

}

.hero-text h1 {

    font-size: 4.4rem;

    line-height: 1.05;

    font-weight: 800;

    color: #fff;

}

.hero-text span {

    display: block;

    color: var(--primary);

}

.title-box {

    display: inline-block;

    margin: 30px 0;

    background: #fff;

    color: #000;

    padding: 14px 22px;

    font-size: 1.6rem;

    font-weight: 800;

}

.hero-text p {

    font-size: 1.35rem;

    font-style: italic;

    line-height: 2;

    max-width: 700px;

    margin-bottom: 55px;

}

/*==============================
BUTTONS
==============================*/

.hero-buttons {

    display: flex;

    gap: 35px;

}

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 225px;

    height: 60px;

    font-size: 1.3rem;

    font-weight: 700;

    border-radius: 10px;

    transition: .35s;

    box-shadow: 0 8px 0 rgba(0, 0, 0, .35);

}

.btn-primary {

    background: var(--primary);

    color: #fff;

}

.btn-secondary {

    background: #fff;

    color: #000;

}

.btn:hover {

    transform: translateY(-6px);

    box-shadow: 0 18px 30px rgba(0, 0, 0, .25);

}

.btn:active {

    transform: translateY(-2px);

}

/*==============================
RIGHT IMAGE
==============================*/

.hero-image {

    width: 420px;

    height: 420px;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    animation: slideRight 1s ease;

}

.profile {

    width: 320px;

    height: 320px;

    border-radius: 50%;

    overflow: hidden;

    position: relative;

    z-index: 10;

    background: #fff;

    box-shadow: var(--shadow);

}

.profile img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition: .5s;

}

.profile:hover img {

    transform: scale(1.05);

}

/*==========================================
ROTATING CIRCLES
==========================================*/

.circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.circle.one {
    width: 380px;
    height: 380px;
    border: 5px dotted #ffffff;
    animation: rotateClockwise 18s linear infinite;
}

.circle.two {
    width: 350px;
    height: 350px;
    border: 5px dotted var(--primary);
    animation: rotateAntiClockwise 14s linear infinite;
}

.circle.three {
    width: 325px;
    height: 325px;
    border: 4px solid rgba(255, 255, 255, .25);
}

/*==========================================
VIDEO SECTION
==========================================*/

.video-section {

    padding: 40px 0 60px;

    background: #fff;

}

.video-section h2 {

    color: #000;

    text-align: center;

    font-size: 3rem;

    font-weight: 500;

    margin-bottom: 35px;

}

.video-container {

    width: 100%;

    max-width: 700px;

    margin: auto;

    aspect-ratio: 16/9;

    background: #e00000;

    overflow: hidden;

}

.video-container iframe {

    width: 100%;

    height: 100%;

    border: none;

}

/*==========================================
FOOTER
==========================================*/

footer {

    background: var(--primary);

    padding: 18px 0;

}

footer p {

    color: #fff;

    text-align: center;

    font-size: 1.8rem;

    font-weight: 700;

    font-style: italic;

}

/*==========================================
ANIMATIONS
==========================================*/

@keyframes rotateClockwise {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

@keyframes rotateAntiClockwise {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }

}

@keyframes slideLeft {

    from {

        opacity: 0;

        transform: translateX(-70px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

@keyframes slideRight {

    from {

        opacity: 0;

        transform: translateX(70px);

    }

    to {

        opacity: 1;

        transform: translateX(0);

    }

}

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}

/*==========================================
RESPONSIVE
==========================================*/

@media(max-width:1100px) {

    .hero-container {

        flex-direction: column;

        padding: 70px 0;

        text-align: center;

    }

    .hero-text {

        width: 100%;

        margin-bottom: 60px;

    }

    .hero-text p {

        margin: auto auto 50px;

    }

    .hero-buttons {

        justify-content: center;

    }

    .orange-bg {

        display: none;

    }

    .hero-image {

        margin: auto;

    }

}

@media(max-width:768px) {

    .nav-links {

        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        background: #fff;

        display: none;

        flex-direction: column;

        padding: 30px;

        gap: 25px;

        box-shadow: 0 10px 20px rgba(0, 0, 0, .15);

    }

    .nav-links.active {

        display: flex;

    }

    .menu-btn {

        display: block;

    }

    .hero-text h1 {

        font-size: 3rem;

    }

    .title-box {

        font-size: 1.1rem;

        padding: 12px 18px;

    }

    .hero-text p {

        font-size: 1rem;

        line-height: 1.8;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: center;

        gap: 20px;

    }

    .hero-image {

        width: 330px;

        height: 330px;

    }

    .circle.one {

        width: 320px;

        height: 320px;

    }

    .circle.two {

        width: 295px;

        height: 295px;

    }

    .circle.three {

        width: 270px;

        height: 270px;

    }

    .profile {

        width: 250px;

        height: 250px;

    }

    .video-section h2 {

        font-size: 2rem;

    }

    footer p {

        font-size: 1.2rem;

    }

}

@media(max-width:500px) {

    .logo img {

        width: 65px;

    }

    .hero {

        padding-top: 20px;

    }

    .hero-text h3 {

        font-size: 1.4rem;

    }

    .hero-text h1 {

        font-size: 2.4rem;

    }

    .title-box {

        font-size: .95rem;

    }

    .btn {

        width: 100%;

        min-width: unset;

    }

    .hero-image {

        width: 280px;

        height: 280px;

    }

    .circle.one {

        width: 275px;

        height: 275px;

    }

    .circle.two {

        width: 250px;

        height: 250px;

    }

    .circle.three {

        width: 225px;

        height: 225px;

    }

    .profile {

        width: 210px;

        height: 210px;

    }

    .video-section {

        padding: 40px 15px;

    }

    .video-section h2 {

        font-size: 1.7rem;

    }

}