@font-face {
    font-family: FBold;
    src: url(../Futura-Bold.woff2) format('truetype'); 
}

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

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

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

body{
    background-color: #F7F7F7;
}

#nav{
    
    width: 100%;
    /* background-color: burlywood; */
    position: fixed;
    z-index: 99;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px;
    /* margin-bottom: 500px; */
}

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

#links{
    padding: 10px;
}

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


}

#nav-part1 svg{
    display: block;
    padding-bottom: 15px;
}

#nav>#nav-part2>#links a{
    text-transform: uppercase;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    margin: 0 20px ;
}

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

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

#cursor{
    height: 150px;
    width: 150px;
    background-color: blanchedalmond;
    border-radius: 50%;
    position: fixed;
    
    transform: translate(-50%, -50%) scale(0);
}

#page1{
    min-height: 100vh;
    position: relative;
    width: 100%;
    padding: 0 1vw;;
    padding-top: 30vh;
}

#page1>h1{
    margin-top: 20px;
    font-size: 15.8vw;
    font-family: FBold;
    text-transform: uppercase;
    line-height: 14vw;
    letter-spacing: -8px;

}

#page1book{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 10vh; */
    /* height: auto; */
}

#page1book img{
    
    height: 90%;
    width: 95%;
}

#page1book a{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 34%;
    left: 64%;
    text-decoration: none;
    color: black;
    font-size: 30px;
    font-family: FBold
}

#page1book #trial{
    
    position: absolute;
    /* display: flex; */
    top: 26%;
    left: 60%;
}

#video-container{
    height: 100vh;
    width: 100%;
    /* background-color: grey; */
    margin-top: 1vw;
    position: relative;


}

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

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

#main #divider {
    height: 2vh;
    width: 98%;
    font-weight: 50;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 0;
    padding: 20px 0px;
    font-size: 12px;
    /* background-color: yellow; */
    /* color: red; */
}

.trial{
    animation: rotation 8s infinite linear;
}

@keyframes rotation {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(359deg);
    }
  }

#main #divider h4{
    font-family: FBold;
}


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

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

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

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

}

#page2 .elem .dets:hover{
    height: 200px;

}

#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%;
}



@media (max-width: 600px){

    #nav{
    
        width: 100%;
        /* background-color: burlywood; */
        position: fixed;
        z-index: 99;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding:15px ;
    
    }
    
    #nav #nav-part2{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }
    
    #links{
        padding: 10px;
        display: none;
    }
    
    #nav-part1{
        /* background-color: red; */
        height: 67px;
        overflow: hidden;
    
    }
    
    #nav-part1 svg{
        display: block;
        height: 67px;
        width: 80px;
    
    
    }

    #nav #twogoodlogo{
        height: 40px;
        margin-left: -20px;
    }
    
    #nav>#nav-part2>#links a{
        text-transform: uppercase;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        font-size: 14px;
        margin: 0 20px ;
    }
    
    #nav-part2 #icons i{
        font-size: 15px;
        margin: 0 20px;
        font-weight: 100;
        
    }
    
    #icons{
        padding: 10px;
        background-color: #F7F7F7;
        border-radius: 50px;
        display: flex;
        flex-wrap: wrap;
    }
    

    #page1{
        min-height: 70vh;
        width: 100%;
        padding: 0 3vw;;
        padding-top: 20vh ;
    }

    #page1>h1{
        font-size: 15.5vw;
        letter-spacing: -3px;
    
    }

    #page1book{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        /* height: 100%; */
        /* height: 10vh; */
        /* height: auto; */
    }
    
    #page1book img{
        height: 45vh;
        width: 180vw;
    }
    
    #page1book a{
        /* position: absolute;  */
    height: 20%;
    width: 20%;
    /* display: flex; */
    top: 13%;
    left: 75%;
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-family: FBold;
    }
    
    #page1book #trial svg{
        /* position: absolute; */
        /* display: flex; */
        width: 100px;
    height: 100px;
    top: 14%;
    left: 70%;
    }

    #page1book #trial{
        top: 11%;
        left: 71%;
    }

#main #divider{
    height: 2vh;
    width: 95%;
    font-weight: 50;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid black;
    display: flex;
    justify-content: space-between;
    margin: 10px;
    /* margin-top: 30px; */
    /* margin-left: -4px; */
    /* margin-right: 310px; */
    /* margin-bottom: 0; */
    padding: 26px 2px;
    font-size: 12px;
    /* background-color: yellow; */
    /* color: red; */
}

    #video-container{
        height: 25vh;
        margin-top: 3vw;
        position: absolute;
        
    }

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

    #page2{
    
        min-height: 100vh;
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
        padding: 5vw 3vw;
        flex-direction: column;
        justify-content: space-between;
    }
    
    #page2 .elem{
        height: 74vh;
    width: 100%;
    /* margin-top: 0px; */
    /* background-color: red; */
    overflow: hidden;
    margin-bottom: -12vw;
    }

    #page2 .elem img {
        height: 110%;
        width: 100%;
        object-fit: contain;
        scale: 1;
    }

    #page2 .elem .dets{
        height: 40px;
        border-radius: 50px;
        width: 80%;
        position: absolute;
        
        background-color: palegoldenrod ;
    
    }
    
    
#page3{
    min-height: 60vh;
    width: 100%;
    /* background-color: #F7F7F7; */
    position: relative;
    display: flex;
    margin-top: 50px;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    

}

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

.child img{
    height: 100%;
}



    

}