@font-face {
    font-family: "Gabarito";
    src: url(./Fonts/Gabarito-Regular.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Gabarito";
}

:root {
    --black: #000000;
    --white: #F8FBFF;
    --pc1: #315CFF;
    --pc2: #00C7D9;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: var(--black);
}

main {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

main::-webkit-scrollbar {
    display: none;
}

#page1 {
    background-color: var(--black);
    position: sticky;
    top: 0;
    overflow: hidden;
}

main nav {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
    font-size: 13px;
    font-weight: 900;
    position: absolute;
    padding: 0 1.5vw;
    z-index: 99;
}

main nav #logo {
    display: flex;
    align-items: center;
    height: 100%;
    width: 18%;
    color: var(--white);
    letter-spacing: 1px;
    white-space: nowrap;
}

main nav #logo img {
    display: block;
    width: 128px;
    max-width: 100%;
    height: 38px;
    object-fit: contain;
    object-position: left center;
}

main nav #nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 34%;
    margin-left: -80px;
}

main nav #nav-links a {
    text-decoration: none;
    color: var(--white);
    position: relative;
    padding: 2px 4px;
}

main nav #nav-links a::before {
    content: "";
    background-color: var(--black);
    height: 100%;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleY(0);
    z-index: -1;
}

main nav #nav-links a:hover::before {
    transition: 0.5s;
    transform: translate(-50%, -50%) scaleY(1);
}

main nav #btn-left {
    display: flex;
    align-items: center;
    gap: 34px;
    height: 100%;
}

main nav #btn-left button,
main nav #btn-right button {
    background-color: transparent;
    border: none;
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
}

main nav #btn-left button::before {
    content: "";
    background-color: var(--black);
    height: auto;
    width: 100%;
    position: absolute;
    top: 0%;
    left: 0%;
    z-index: -1;
}

main nav #btn-right button {
    border: 2px solid var(--white);
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 14px;
}

main #hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 50px;
}

main #hero #big-txt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

#threeCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

main #hero #bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 22vh;
    padding: 0 3vw;
}

main #hero #bottom p {
    height: 100%;
    width: 60%;
    font-size: 2.8vw;
    color: var(--white);
    line-height: 2.5vw;
}

main #hero #bottom #buttons {
    height: 100%;
    width: 25%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

main #hero #bottom #buttons button {
    font-size: 18px;
    background-color: transparent;
    border: none;
    color: var(--white);
}

main #hero #bottom #buttons button:first-child {
    border: 2px solid var(--white);
    padding: 8px 30px;
    border-radius: 50px;
}

main #hero #bottom #buttons button:first-child:hover {
    background-color: var(--white);
    color: var(--pc1);
    transition: 1s;
}
main #hero #bottom #buttons button:last-child{
    /* background-color: red; */
    width: fit-content;
    height: fit-content;
    position: relative;
    overflow: hidden;
    padding: 0 4px;
}
main #hero #bottom #buttons button:last-child::before {
    content: "";
    background-color: var(--black);
    position: absolute;
    top: calc(50% - 14.5px);
    left: calc(50% - 30px);
    width: 60px;
    height: 0px;
    padding: 1px 0px;
    z-index: -1;
}

main #hero #bottom #buttons button:last-child:hover::before{
    transition: 1s;
    height: 25px;
}

#page2 {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

#video-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    z-index: 0;
    overflow: hidden;
}

#page2 #video-container {
    position: relative;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#page2 #video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    inset: 0;
}

#page-container {
    position: relative;
    z-index: 1;
}

#page2 .nav-part {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    background-color: var(--black);
    font-size: 15px;
    padding: 0 2vw;
    width: 100%;
    height: 40px;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    z-index: 98;
}

.page-wrapper {
    position: sticky;
    top: 0;
}

#page2 .main-part {
    width: 100%;
    height: 100vh;
    display: flex;
    padding: 0 2vw;
    position: relative;
    z-index: 1;
}

#page2 .main-part .text-container {
    width: 100%;
    height: 100vh;
    display: flex;
    padding: 0 2vw;
    position: relative;
}

#page2 .main-part1 {
    background-color: var(--black);
}

#page2 .main-part2 {
    background-color: var(--black);
}

#page2 .main-part3 {
    background-color: var(--black);
}

#page2 .main-part4 {
    background-color: var(--black);
}

#page2 .main-part .text-container .left-part {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    color: var(--white);
}

#page2 .main-part .text-container .left-part h1 {
    font-size: 5vw;
    font-weight: 600;
}

#page2 .main-part .text-container .left-part p {
    font-size: 2vw;
}

#page2 .main-part .text-container .right-part {
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page2 .main-part .text-container .right-part img {
    height: 73%;
    width: 82%;
    object-fit: cover;
    border: 2px solid var(--black);
}

#page3 {
    width: 100%;
    height: 100vh;
    background-color: var(--black);
    position: relative;
    display: flex;
    align-items: center;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
}

#page3 .left3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    height: 100%;
    padding: 0 4vw;
    color: var(--white);
}

#page3 .left3 .text1 {
    display: flex;
    position: absolute;
}

#page3 .left3 .text1 h1 {
    font-size: 11vw;
    z-index: 2;
}

#page3 .left3 .text2 {
    display: flex;
    position: absolute;
    top: 49vh;
    left: 14vh;
}

#page3 .left3 .text2 h1 {
    font-size: 11vw;
    background-color: var(--black);
    z-index: 1;
}

#star1 {
    position: absolute;
    height: 40%;
    top: 3vh;
    right: -21vw;
}

#star2 {
    position: absolute;
    height: 25%;
    left: -14vw;
    top: 15vh;
}

#arrow {
    position: absolute;
    height: 20%;
    left: -5.5vw;
    top: 47vh;
}

#page3 .right3 {
    width: 50%;
    height: 90%;
    position: relative;
    overflow: hidden;
    position: absolute;
    left: 50%;
}

#page3 .right3 .text-tag {
    background-color: var(--white);
    color: var(--black);
    display: inline-block;
    position: absolute;
    font-size: 3vw;
    padding: 5px 10px;
}

#page3 .right3 .text-tag:hover {
    background-color: var(--black);
    color: var(--black);
    cursor: pointer;
    transition: background-color 1s;
}

#page3 .right3 .text-tag1,
#page3 .right3 .text-tag7,
#page3 .right3 .text-tag8 {
    background-color: var(--black);
    color: var(--white);
}

#page3 .right3 .text-tag1 {
    top: 30%;
    left: 30%;
    rotate: 10deg;
}

#page3 .right3 .text-tag2 {
    top: 30%;
    left: 55%;
    rotate: -15deg;
}

#page3 .right3 .text-tag3 {
    top: 40%;
    left: 28%;
    rotate: 6deg;
}

#page3 .right3 .text-tag4 {
    top: 50%;
    left: 20%;
    rotate: -8deg;
}

#page3 .right3 .text-tag5 {
    top: 70%;
    left: 60%;
    rotate: -10deg;
}

#page3 .right3 .text-tag6 {
    top: 50%;
    left: 55%;
    rotate: 7deg;
}

#page3 .right3 .text-tag7 {
    top: 70%;
    left: 20%;
    rotate: 3deg;
}

#page3 .right3 .text-tag8 {
    top: 60%;
    left: 30%;
    rotate: 5deg;
}

#page3 .right3 .text-tag9 {
    top: 40%;
    left: 50%;
    rotate: -7deg;
}

#page3 .right3 .text-tag10 {
    top: 50%;
    left: 75%;
    rotate: -5deg;
}

#page4 {
    width: 100%;
    min-height: 100vh;
    background-color: var(--black);
    color: var(--white);
    border-bottom: 2px solid var(--black);
    padding: 9vw 4vw;
}

#page4 .ratings-header {
    display: flex;
    justify-content: space-between;
    gap: 6vw;
    margin-bottom: 7vw;
}

#page4 .ratings-header p {
    font-size: 15px;
    font-weight: 900;
    color: var(--black);
}

#page4 .ratings-header h1 {
    width: 70%;
    font-size: 5vw;
    line-height: 0.95;
    font-weight: 600;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2vw;
}

.rating-card {
    min-height: 320px;
    border: 2px solid var(--black);
    background-color: var(--white);
    color: var(--black);
    padding: 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.rating-card span {
    font-size: 6vw;
    line-height: 0.9;
    color: var(--pc1);
    font-weight: 900;
}

.rating-card p {
    font-size: 2vw;
    line-height: 1;
}

.rating-card h3 {
    font-size: 18px;
    font-weight: 900;
}

#contact {
    min-height: 70vh;
    background-color: var(--black);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
    padding: 5vw 4vw;
}

#contact h1 {
    font-size: 8vw;
    line-height: 0.9;
    font-weight: 600;
}

#contact p {
    width: 58%;
    font-size: 2.5vw;
    line-height: 1;
}

#contact button {
    width: fit-content;
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 20px;
    cursor: pointer;
}

#contact button:hover {
    background-color: var(--white);
    color: var(--pc2);
    transition: 1s;
}

.inner-page {
    min-height: 100vh;
    background-color: var(--black);
    color: var(--white);
    padding-top: 50px;
}

.inner-page nav {
    top: 0;
}

.inner-page nav #logo {
    text-decoration: none;
}

.site-footer {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4vw;
    padding: 4vw;
    background-color: var(--black);
    color: var(--white);
    border-top: 1px solid rgba(248, 251, 255, 0.22);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    width: min(360px, 48vw);
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px 28px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
}

.footer-links a:hover {
    color: var(--pc2);
    transition: color 0.3s;
}

.page-hero {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
    padding: 5vw 4vw;
    border-bottom: 2px solid var(--black);
}

.page-hero p,
.contact-copy p {
    color: var(--black);
    font-size: 15px;
    font-weight: 900;
}

.page-hero h1,
.contact-copy h1 {
    max-width: 1050px;
    font-size: 7vw;
    line-height: 0.9;
    font-weight: 600;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 2px solid var(--black);
}

.detail-grid article {
    min-height: 46vh;
    padding: 4vw;
    border-right: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.detail-grid article:nth-child(2n) {
    border-right: none;
    background-color: var(--black);
}

.detail-grid span {
    color: var(--black);
    font-size: 18px;
    font-weight: 900;
}

.detail-grid h2,
.work-list h2 {
    font-size: 4vw;
    line-height: 0.9;
    font-weight: 600;
}

.detail-grid p,
.work-list p {
    font-size: 2vw;
    line-height: 1;
}

.works-page,
.ratings-page,
.contact-page {
    background-color: var(--black);
}

.work-list {
    display: flex;
    flex-direction: column;
}

.work-list article {
    display: grid;
    grid-template-columns: 42% 1fr;
    min-height: 48vh;
    border-bottom: 2px solid var(--black);
    background-color: var(--black);
}

.work-list article:nth-child(2n) {
    background-color: var(--black);
}

.work-list img {
    width: 100%;
    height: 100%;
    min-height: 48vh;
    object-fit: cover;
    border-right: 2px solid var(--black);
}

.work-list div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
    padding: 4vw;
}

.standalone {
    padding: 5vw 4vw;
    background-color: var(--black);
}

.contact-layout {
    min-height: calc(100vh - 50px);
    display: grid;
    grid-template-columns: 46% 1fr;
    border-top: 2px solid var(--black);
}

.contact-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2vw;
    padding: 5vw 4vw;
}

.contact-copy span {
    width: 86%;
    font-size: 2vw;
    line-height: 1;
}

.consultation-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    background-color: var(--white);
    color: var(--black);
    padding: 5vw 4vw;
    border-left: 2px solid var(--black);
}

.consultation-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 900;
}

.consultation-form label:nth-child(6),
.consultation-form button {
    grid-column: 1 / -1;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
    width: 100%;
    border: 2px solid var(--black);
    background-color: transparent;
    color: var(--black);
    padding: 13px 12px;
    font-size: 16px;
    outline: none;
}

.consultation-form textarea {
    min-height: 150px;
    resize: vertical;
}

.consultation-form button {
    width: fit-content;
    border: 2px solid var(--black);
    background: linear-gradient(135deg, var(--pc1) 0%, #5C7CFF 58%, var(--pc2) 100%);
    color: var(--white);
    border-radius: 50px;
    padding: 13px 28px;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.consultation-form button:hover {
    background-color: var(--black);
    transition: 0.5s;
}

@media (max-width: 900px) {
    main nav {
        gap: 16px;
        padding: 0 3vw;
    }

    main nav #logo {
        width: auto;
    }

    main nav #logo img {
        width: 112px;
        height: 34px;
    }

    main nav #nav-links {
        width: 52%;
        margin-left: 0;
        gap: 12px;
        justify-content: center;
    }

    main nav #btn-left {
        display: none;
    }

    main #hero #bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 18px;
        min-height: 30vh;
        padding-bottom: 24px;
    }

    main #hero #bottom p {
        width: 100%;
        height: auto;
        font-size: 6vw;
        line-height: 0.95;
    }

    main #hero #bottom #buttons {
        width: 100%;
        height: auto;
        justify-content: flex-start;
        gap: 18px;
    }

    #page2 .main-part .text-container {
        flex-direction: column;
        justify-content: center;
        gap: 4vw;
    }

    #page2 .main-part .text-container .left-part,
    #page2 .main-part .text-container .right-part {
        width: 100%;
        height: auto;
    }

    #page2 .main-part .text-container .left-part h1 {
        font-size: 13vw;
    }

    #page2 .main-part .text-container .left-part p {
        font-size: 6vw;
        line-height: 1;
    }

    #page2 .main-part .text-container .right-part img {
        width: 100%;
        height: 42vh;
    }

    #page3 {
        flex-direction: column;
        justify-content: center;
    }

    #page3 .left3,
    #page3 .right3 {
        width: 100%;
    }

    #page3 .left3 {
        height: 42%;
    }

    #page3 .left3 .text1 h1,
    #page3 .left3 .text2 h1 {
        font-size: 20vw;
    }

    #page3 .right3 {
        height: 58%;
        left: 0;
        bottom: 0;
    }

    #page3 .right3 .text-tag {
        font-size: 6vw;
    }

    .ratings-grid {
        grid-template-columns: 1fr;
    }

    #page4 .ratings-header {
        flex-direction: column;
    }

    #page4 .ratings-header h1,
    #contact p {
        width: 100%;
    }

    #page4 .ratings-header h1 {
        font-size: 11vw;
    }

    .rating-card {
        min-height: 240px;
        padding: 5vw;
    }

    .rating-card span {
        font-size: 18vw;
    }

    .rating-card p {
        font-size: 6vw;
    }

    #contact h1 {
        font-size: 14vw;
    }

    #contact p {
        font-size: 6vw;
    }

    .page-hero h1,
    .contact-copy h1 {
        font-size: 12vw;
    }

    .detail-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .detail-grid article {
        min-height: 36vh;
        border-right: none;
        padding: 6vw;
    }

    .detail-grid h2,
    .work-list h2 {
        font-size: 10vw;
    }

    .detail-grid p,
    .work-list p,
    .contact-copy span {
        width: 100%;
        font-size: 5.5vw;
    }

    .work-list article {
        grid-template-columns: 1fr;
    }

    .work-list img {
        min-height: 38vh;
        border-right: none;
        border-bottom: 2px solid var(--black);
    }

    .work-list div,
    .contact-copy,
    .consultation-form {
        padding: 6vw;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        min-height: 220px;
        padding: 8vw 6vw;
    }

    .footer-logo {
        width: min(280px, 72vw);
    }

    .footer-links {
        justify-content: flex-start;
    }

    .consultation-form {
        grid-template-columns: 1fr;
        border-left: none;
        border-top: 2px solid var(--black);
    }
}

@media (max-width: 620px) {
    main nav {
        font-size: 12px;
    }

    main nav #nav-links {
        display: none;
    }

    main nav #btn-right button {
        font-size: 12px;
        padding: 5px 10px;
    }

    main nav #logo img {
        width: 96px;
        height: 30px;
    }

    main #hero {
        min-height: 100svh;
        padding-top: 58px;
    }

    main #hero #big-txt {
        min-height: 46vh;
    }

    main #hero #bottom #buttons {
        flex-wrap: wrap;
    }

    main #hero #bottom #buttons button {
        font-size: 16px;
    }

    #contact button {
        max-width: 100%;
        font-size: 16px;
        overflow-wrap: anywhere;
    }
}

