@font-face {
    font-family: Futura;
    src: url(./Futura-Bold.ttf);
}

@font-face {
    font-family: Gilroy;
    src: url(./Gilroy-Medium.ttf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Gilroy';
}

*::selection {
    color: #fff;
    background-color: #000;
}

html,
body {
    height: 100%;
    width: 100%;
}

body {
    background-color: #F7F7F7;
    z-index: -1;
}

#nav {
    /* height:100px; */
    width: 100%;
    /* background-color: burlywood; */
    position: fixed;
    z-index: 999;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#nav-part1 {
    /* background-color: red; */
    height: 82px;
    overflow: hidden;
}

#nav-part1 svg {
    display: block;
}

#nav #nav-part2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

#nav #nav-part2 #links a {
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    font-weight: 400;
    margin-right: 60px;

}

#nav #nav-part2 #icons {
    font-size: 18px;
    /* margin-right: 50px; */
    /* ensure gap between the two icons */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

#nav-part2 #icons i {
    font-size: 18px;
    /* margin: 0 20px; */
    font-weight: 100;

}

#links {
    padding: 10px;
}

#cursor {
    height: 150px;
    width: 150px;
    background-color: white;
    opacity: 0.7;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%) scale(0);
    z-index: 99;
}

#icons {
    padding: 10px 0px 10px 10px;
    border-radius: 50px;
    background-color: #f7f7f7;
}

#page1 {
    min-height: 100vh;
    position: relative;
    width: 100%;
    padding: 0 1vw;
    padding-top: 25vh;
    /* background-color: aqua; */
}

#page1 h1 {
    text-transform: uppercase;
    font-family: Futura;
    font-size: 15.8vw;
    line-height: 13vw;
    letter-spacing: -8px;
}

#video-container {
    height: 100vh;
    width: 100%;
    background-color: grey;
    margin-top: 3.2vh;
}

#video-container video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

#video-container #play {
    padding: 3vw 2vw;
    background-color: black;
    color: #fff;
    font-size: 1.5vw;
    position: fixed;
    text-transform: uppercase;
    font-family: futura;
    border-radius: 50%;
    opacity: 0;
    scale: 0;

}

#page2 {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3vw 1vw;
}

#page2 .elem {
    height: 100%;
    width: 30%;
    /* background-color: red; */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#page2 .elem img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    scale: 1.2;
}

#page2 .elem .dets {
    height: 60px;
    border-radius: 50px;
    width: 80%;
    position: absolute;

    background-color: palegoldenrod;
}

#page3 {
    min-height: 120vh;
    width: 100%;
    background-color: #F7F7F7;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.child {
    height: 54vh;
    width: 38vw;
    /* background-color: red; */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.child img {
    height: 100%;
}

#page4 {
    min-height: 100vh;
    width: 100%;
    background-color: #F7F7F7;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

#page4 h1 {
    text-transform: uppercase;
    font-family: Futura;
    font-weight: 650;
    font-size: 4.7vw;
    line-height: 5vw;
}

#page4 #btn {
    margin-top: 12vh;
    margin-bottom: 4vh;
    padding: 1.5vw 6vw;
    border-radius: 50px;
    text-transform: uppercase;
    font-family: Futura;
    color: #fff;
    background-color: black;
}

#page4 #btn:hover {
    background-color: #fff;
    color: black;
    transition: 0.5s;
}

#page4 p {
    font-family: Gilroy;
    font-weight: 100;
    font-size: 1vw;
}

@media (max-width: 600px) {
    #nav {
        /* height:100px; */
        width: 100%;
        /* background-color: burlywood; */
        position: fixed;
        z-index: 999;
        padding: 15px;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    #nav-part1 {
        /* background-color: red; */
        height: 62px;
        overflow: hidden;
    }

    #nav-part1 svg {
        display: block;
        height: 62px;
    }

    #nav #nav-part2 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }

    #nav #nav-part2 #links a {
        text-transform: uppercase;
        text-decoration: none;
        color: #333;
        font-size: 12px;
        font-weight: 400;
        margin-right: 60px;

    }

    #nav #nav-part2 #icons {
        font-size: 18px;
        /* margin-right: 50px; */
        /* ensure gap between the two icons */
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 60px;
    }

    #nav-part2 #icons i {
        font-size: 18px;
        /* margin: 0 20px; */
        font-weight: 100;

    }

    #nav #twogoodlogo {
        height: 40px;
        /* margin-left: px; */
    }

    #links {
        padding: 10px;
        display: none;
    }
    #icons {
        padding: 7px;
        border-radius: 50px;
        background-color: #f7f7f7;
    }

    #page1 {
        min-height: 70vh;
        /* background-color: aqua; */
        width: 100%;
        padding: 0 3vw;
        padding-top: 30vh;

    }

    #page1 h1 {
        font-size: 14vw;
        line-height: 0.85em;
        letter-spacing: -2px;
    }

    #video-container {
        height: 35vh;
    }

    #video-container video {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    #video-container #play {
        padding: 9.5vw 7.5vw;
        font-size: 4.5vw;
        position: absolute;
        top: 50%;
        left: 50%;
        opacity: 1;
        scale: 1;
        transform: translate(-50%, 120%);
    }

    #page2 {
        min-height: 100vh;
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
        padding: 5vw 3vw;
        flex-direction: column;
        justify-content: space-between;
        /* background-color: red; */
    }

    #page2 .elem {
        min-height: 100vh;
        width: 100%;
        /* background-color: red; */
        overflow: hidden;
        margin-bottom: 3vw;
    }

    #page2 .elem .dets {
        height: 45px;
        border-radius: 50px;
        width: 60%;
        position: absolute;
        z-index: 9;
        background-color: palegoldenrod;
    }

    #page3 {
        min-height: 120vh;
        width: 100%;
        background-color: #F7F7F7;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    .child {
        height: 54vh;
        width: 88vw;
        /* background-color: red; */
        position: relative;
        padding: 10vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .child img {
        height: 100%;
    }


}