* {
    box-sizing: border-box;
}

@font-face {
    font-family: 'Modena';
    src: url('./fonts/ModenaSans-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Montserrat';
    src: url('./fonts/Montserrat-Medium.woff') format('woff');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 700;
    font-style: italic;
    src: url('./fonts/Montserrat-BoldItalic.woff') format('woff');
}

:root {
    --yellow: #FDF797;
    --main: #00C8D3;
    --fz84: 5.83vw;
    --fz73: 5.07vw;
    --fz61: 4.24vw;
    --fz54: 3.75vw;
    --fz29: 2.01vw;
    --fz27: 1.89vw;
    --fz26: 1.81vw;
    --fz25: 1.73vw;    
    --fz20: 1.38vw;    
}

body {
    padding: 0;
    margin: 0;
    background-color: var(--main);
    overflow-x: hidden;
}
body::-webkit-scrollbar {
    width: 8px;
    border-radius: 8px;
}
body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
}
body::-webkit-scrollbar-thumb {
    background-color: #018f97;
    outline: var(--main);
    border-radius: 8px;
}

.modena {
    font-family: Modena;
}
.montserrat {
    font-family: Montserrat;
}

.header {
    padding-left: 7.36vw;
    padding-right: 6.73vw;
    padding-top: 3.75vh;
    padding-bottom: 20vh;
    display: flex;
    justify-content: space-between;
}
.header-logo a {
    display: flex;
}
.header-logo img {
    width: 17.7vw;
}
.header-menu {
    display: flex;
    align-items: flex-end;
    gap: 8vw;
    margin-right: 12vw;
}
.header-menu a {
    text-decoration: none;
    outline: 0;
    color: var(--yellow);
    display: flex;
    text-transform: uppercase;
    font-size: var(--fz25);
    position: relative;
    overflow: hidden;
}
.header-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #F8FC75 0%, #00FFEB 100%);
    transition: all .15s linear;
}
.header-menu a:hover:after {
    bottom: 0;
}
.social a {
    text-decoration: none;
    outline: 0;
    display: flex;
    align-items: center;
    margin-left: auto;
}
.social {
    display: flex;
    align-items: flex-end;
}
.intro__main-title {
    letter-spacing: -0.02em;
    position: relative;
    font-size: 20vw;
    color: var(--yellow);
    line-height: 0.9;
    display: inline-block;
    position: relative;
}
.intro-chill {
    text-align: center;
}
.intro-main-wrap {
    display: inline-block;
    position: relative;
    overflow: hidden;
}
.intro-main-center {
    padding: 0 1px;
}
.intro-main-center img {
    width: 100%;
}
.intro__main-top {
    position: relative;
}
.intro__main-bottom {
    margin-top: 3vh;
    position: relative;
}
.brief-img {
    width: 21.7vw;
    margin-left: 44.5vw;
    margin-top: 3vh;
    margin-bottom: 3vh;
}
.brief-img img {
    max-width: 100%;
}
.intro__main-wrting {
    position: absolute;
    left: 31%;
    top: 32.8%;
    text-transform: uppercase;
    color: #fff;
    font-size: var(--fz20);
    display: inline-block;
    letter-spacing: normal;
}
.intro__main-visual {
    position: absolute;
    left: 61.3%;
    top: 56%;
    text-transform: uppercase;
    color: #fff;
    font-size: var(--fz20);
    display: inline-block;
    letter-spacing: normal;
    text-align: left;
    line-height: 1.2;
}
.intro__main-design {
    position: absolute;
    left: 5.5%;
    top: 27.5%;
    text-transform: uppercase;
    color: #fff;
    font-size: var(--fz20);
    display: inline-block;
    letter-spacing: normal;
    text-align: left;
    line-height: 1.2;
    transform: rotate(58deg)
}
.intro-chill__lines {
    width: 8.5vw;
    margin-left: 44%;
    margin-top: 4vh;
}
.intro-chill__lines img {
    max-width: 100%;
}
.about-container {
    width: 70.7vw;
    margin: 7vh auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.about-title {
    color: var(--yellow);
    line-height: 1.17;
    font-size: var(--fz84);
    position: relative;
    width: 37%;
    top: -0.625vw;
}
.about-title span {
    position: absolute;
    right: 0;
    top: 0.85vw;
    transform-origin: 100%;
    width: 0.37vw;
    height: 100%;
}
.about-title span img {
    max-width: 100%;
    height: 88%;
}
.about-description {
    width: 58%;
    color: #fff;
    font-size: var(--fz26);
    line-height: 1.15;
}
.makes {
    margin-left: auto;
    margin-top: 20vh;
    width: 85vw;
}
.makes-title__title {
    font-size: var(--fz84);
    line-height: 1;
    color: var(--yellow);
}
.makes-title__image {
    display: inline-block;
    margin-left: 2.5vw;
}
.makes-title__image img {
    width: 68.5vw;
    position: relative;
    top: 0.5vh;
}
.makes-title {
    margin-bottom: 15vh;
}
.makes-item {
    display: flex;
    flex-wrap: wrap;
}
.makes-item__title {
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #fff;
    font-size: var(--fz29);
    margin-bottom: 20px;
}
.makes-item__title span {
    color: var(--yellow);
}
.makes-item__description {
    color: #fff;
    font-size: var(--fz26);
    line-height: 1.15;
}
.makes-item-1 .makes-item-content {
    width: 46%;
}
.makes-item-1 .makes-item-image {
    width: 6.4vw;
    position: relative;
    transform: rotate(-48.7deg);
    top: -5.3vh;
    left: 8vw;
}
.makes-item-1 .makes-item-image img {
    position: relative;
    max-width: 100%;
}
.makes-item-2 .makes-item-content {
    width: 60%;
    padding-right: 10vw;
}
.makes-item-2 .makes-item-image {
    width: 40%;
    text-align: right;
}
.makes-item-2 .makes-item-image img {
    position: relative;
    width: 6.5vw;
    top: 0.6vw;
    left: -2vw;
}
.makes-item-3 {
    margin-top: 11vh;
}
.makes-item-3 .makes-item-content {
    width: 51%;
}
.makes-item-3 .makes-item__description {
    width: 91%;
}
.makes-item-3 .makes-item-image {
    width: 5.8vw;
    transform: rotate(44deg);
    position: relative;
    top: -1vh;
    left: 8vw;
}
.makes-item-3 .makes-item-image img {
    position: relative;
    max-width: 100%;
}
.projects {
    margin-top: 20vh;
}
.projects-title {
    display: flex;
    justify-content: space-between;
    width: 100vw;
    text-transform: uppercase;
    color: var(--yellow);
    line-height: 1;
    font-size: var(--fz54);
}
.works {
    margin-top: 20vh;
}
.works-title {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    color: var(--yellow);
    line-height: 1;
    font-size: var(--fz73);
    letter-spacing: 0.03em;
}
.projects-subtitle {
    font-weight: 700;
    font-style: italic;
    color: var(--yellow);
    font-size: var(--fz61);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.projects-subtitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5vh;
}
.best-to {
    width: 16.5vw;
    display: flex;
}
.best-to img {
    max-width: 100%;
}
.chance {
    width: 16.7vw;
    display: flex;
}
.chance img {
    max-width: 100%;
}
.works-content {
    display: flex;
    flex-wrap: wrap;
    width: 80vw;
    margin-left: auto;
    margin-top: 15vh;
}
.works {
    position: relative;
    z-index: 10;
}
.works-items {
    width: 60%; 
}
.works-image {
    width: 40%;
    overflow: hidden;
    display: flex;
}
.works-image img {
    max-width: 100%;
    position: relative;
    left: 0.5vw;
}
.works-item__title {
    background: linear-gradient(90deg, #F8FC75 0%, #00FFEB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.78vw;
}
.works-items {
    padding-right: 2.78vw;
}
.works-item__description {
    font-size: var(--fz27);
    color: #fff;
}
.works-item:not(:last-child) {
    margin-bottom: 8vh;
}
.footer {
    padding-top: 20vh;
    padding-bottom: 8vh;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    width: 100%;
    height: calc(100% + 20vh);
    background: linear-gradient(var(--main) 0%, #F8FC75 100%);
    bottom: 0;
    left: 0;
}
.footer-bg {
    display: inline-block;
    height: 18px;
}
.footer-bg-left {
    width: 16.8vw;
    background: linear-gradient(90deg, #00FFEB 0%, #F8FC75 100%);
}
.footer-bg-right {
    width: 62.8vw;
    background: linear-gradient(90deg, #F8FC75 0%, #00FFEB 100%);
}
.footer-header {
    overflow: hidden;
    display: flex;
    align-items: center;
}
.footer-title {
    text-transform: uppercase;
    color: var(--main);
    font-size: var(--fz25);
    padding: 0 3vw;
    width: 20.5vw;
    display: inline-block;
}
.footer-header, .footer-content {
    position: relative;
    z-index: 10;
}
.footer-header {
    padding-bottom: 5vh;
}
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20vw;
}
.footer-content a {
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: 0;
    color: var(--main);
    text-transform: uppercase;
    font-size: var(--fz20);
}
.soc-icon {
    margin-right: 23px;
}
.footer-content a span {
    display: inline-block;
}
.soc-icon-insta {
    margin-right: 20px;
}

.header {
    transition: all .5s linear 1.8s;
    opacity: 0;
}
.intro__main-top {
    transition: all .5s linear .8s;
    opacity: 0;
}
.intro__main-bottom {
    transition: all .5s linear 1s;
    opacity: 0;
}
.intro-main-center {
    transition: all .5s linear 1.2s;
    opacity: 0;
}
.header.show, .intro__main-top.show, .intro__main-bottom.show, .intro-main-center.show {
    opacity: 1;
}
.items-wrap {
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 0px;
}
.intro-main-center {
    flex-shrink: 0;
    display: flex;
    gap: 80px;
    counter-reset: item;
    justify-content: space-around;
    min-width: 100%;
}
.intro-main-center-image {
    flex: 0 0 auto;
}
.marquee {
    animation: scroll 20s linear infinite;
}
.footer-content a {
    transition: all .25s linear;
}
.footer-content a:hover {
    color:#018f97;
}
.footer-content a svg path {
    transition: all .25s linear; 
}
.footer-content a:hover svg path  {
    fill: #018f97;
}
.header-row {
    display: flex;
    align-items: center;
    padding-top: 3.5vw;
}

@keyframes scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-100% - 80px));
    }
  }

@media (max-width: 576px) {
    .intro__main-bottom {
        margin-top: 1vh;
    }
    .header-logo img {
        width: 90px;
    }
    .header .social {
        display: none;
    }
    .header {
        flex-wrap: wrap;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 20px;
        padding-bottom: 120px;
    }
    .header-menu a {
        font-size: 10px;
    }
    .header-menu {
        gap: 15px;
    }
    .header-menu {
        padding-bottom: 8px;
    }
    .brief-img {
        width: 43.7vw;
    }
    .intro-chill__lines {
        width: 15.5vw;
    }
    .about-title {
        width: 100%;
        font-size: 38px;
    }
    .about-title-image {
        width: 1.347vw;
    }
    .about-container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .about-description {
        width: 93%;
        font-size: 16px;
        margin-top: 20px;
    }
    .makes {
        margin-top: 80px;
        width: 100%;
        margin-left: 0;
        padding-left: 15px;
    }
    .makes-title__title {
        font-size: 25px;
        line-height: 1.5;
    }
    .makes-title__image img {
        top: 0;
    }
    .makes-title {
        margin-bottom: 50px;
    }
    .makes-item__title {
        font-size: 18px;
    }
    .makes-item__title br {
        display: none;
    }
    .makes-item-1 .makes-item-image, .makes-item-2 .makes-item-image, .makes-item-3 .makes-item-image {
        display: none;
    }
    .makes-item-1 .makes-item-content, .makes-item-2 .makes-item-content, .makes-item-3 .makes-item-content {
        width: 100%;
    }
    .makes-item__description {
        font-size: 16px;
    }
    .makes-item:not(:last-child) {
        margin-bottom: 60px;
    }
    .projects-title {
        font-size: 20px;
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 25px;
        width: 100%;
    }
    .projects-title span {
       margin-right: 15px; 
       line-height: 1.5;
    }
    .projects-subtitle {
        font-size: 17px;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px 15px;
    }
    .best-to {
        width: 33vw;
    }
    .chance {
        width: 35vw;
    }
    .projects {
        margin-top: 80px;
        padding: 0 15px;
    }
    .works {
        margin-top: 80px;
    }
    .works-title {
        font-size: 20px;
        padding: 0 15px;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }
    .works-content {
        width: 100%;
        margin-top: 50px;
    }
    .works-item__title {
        font-size: 16px;
    }
    .works-item__description {
        font-size: 14px;
    }
    .works-items {
        padding-right: 15px;
        padding-left: 15px;
        width: 100%;
    }
    .works-image {
        width: 100%;
        margin-top: 30px;
    }
    .works-image img {
        width: 104%;
        left: -2vw;
        max-width: none;
    }
    .footer-title {
        font-size: 20px;
        width: 191px;
    }
    .footer-content {
        padding-left: 15px;
        gap: 30px;
    }
    .soc-icon {
        margin-right: 10px;
    }
    .soc-icon {
        width: 36px;
    }
    .footer-insta svg:nth-child(2) {
        width: 98px;
    }
    .footer-content a span {
        width: 100%;
        margin-top: 10px;
        font-size: 10px;
    }
    .soc-icon-insta {
        margin-right: 10px;
    }
    .footer-content a {
        flex-wrap: wrap;
    }
    .footer {
        padding-top: 80px;
    }
    .footer-title {
        position: relative;
        top: 2px;
    }
}