@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@500;600;700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "League Spartan", sans-serif;
    font-weight: 500;
}

.container-1 {
    display: grid;
    grid-template-columns: 840px 1fr;
}

.slider {
    position: relative;
    top: 0;
    left: 0;
    width: 840px;
    height: 534px;
}
.slider .slider-img {
    display: none;
    position: absolute;
    width: 840px;
    height: 534px;
    z-index: -1;
}
.slider .slider-img.active{
    display: inline;
}

.slider .slider-nav {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(100%, 0);
}

.slider .slider-nav .angle {
    width: 80px;
    height: 80px;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 56px;
    padding: 64px;
}

.nav .menu {
    display: none;
}

.nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    gap: 31px;
}

.nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.67px;
}

.hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: 0 50px;
}

.hero h1 {
    font-size: 48px;
    letter-spacing: -2px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #000;
}

.hero p {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -.33px;
    color: #a0a0a0;
    margin-bottom: 26px;
}

.hero a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    text-decoration: none;
    color: #000;
    font-size: 15px;
    line-height: 16px;
    letter-spacing: 12.5px;
}

.container-2 {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
}

.about {
    padding: 10px 48px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.about h3 {
    color: #000;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    letter-spacing: 6.67px;
    font-weight: 700;
}

.about p {
    font-size: 16px;
    line-height: 22px;
    letter-spacing: -0.33px;
    color: #a0a0a0;
}

.img-1 {
    width: 420px;
    height: 266px;
}

.img-1 img {
    width: 420px;
    height: 266px;
}

.img-2 {
    width: 420px;
    height: 266px;
}

.img-2 img {
    width: 420px;
    height: 266px;
}

@media (min-width: 1440px) {
    .hero {
        padding: 0 100px;
    }
}

@media (max-width: 1439px) {
    .hero {
        margin-top: -30px;
    }
}

@media (max-width: 767px) {
    .container-1 {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .slider {
        width: 100vw;
        height: auto;
    }

    .slider .slider-img {
        position: static;
        display: none;
        width: 100%;
        height: auto;
    }
    .slider .slider-img.active{
        display: block;
    }

    .slider .slider-nav {
        transform: translate(0);
    }
    .slider .slider-nav .angle{
        width: 56px;
        height: 56px;
    }

    .nav {
        position: absolute;
        top: 0;
        left: 0;
        justify-content: center;
        width: 100%;
        padding: 48px 24px;
    }

    .nav .menu {
        display: block;
        position: absolute;
        background: url("images/icon-hamburger.svg") no-repeat center;
        left: 24px; 
        z-index: 5;
        top: 50%;
        width: 20px;
        height: 20px;
        transform: translate(0, -50%);
    }
    .nav:has(ul.active) .menu{
        background: url("images/icon-close.svg") no-repeat center;
    }
    .nav ul.active{
        display: flex;
    }
    .nav ul {
        display: none;
        position: absolute;
        background: #FFF;
        top: 0;
        left: 0;
        width: 100vw;
        justify-content: flex-end;
        padding: 46px 23px;
    }

    .nav ul::after {
        content: "";
        position: absolute;
        width: 100vw;
        height: 100vh;
        background-color: #00000080;
        top: 100%;
        left: 0;
    }

    .nav ul li a {
        color: #000;
    }

    .hero {
        margin-top: 0;
        padding: 60px 32px;
    }

    .container-2 {
        flex-direction: column;
        align-items: stretch;
    }
    .about{
        padding: 50px 32px;
    }

    .img-1 {
        width: 100%;
        height: auto;
    }

    .img-1 img {
        width: 100%;
        height: auto;
    }

    .img-2 {
        width: 100%;
        height: auto;
    }

    .img-2 img {
        width: 100%;
        height: auto;
    }
}