@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body,html{
    padding: 0;
    margin: 0;
    background-color: rgb(0, 0, 0);
}


.navbar{
    height: auto;
    background-color: black;
    >h3{
        text-align: center;
        justify-content: center;
        color: white;
        font-size: 30px;
        margin: 0;
        padding: 1.125rem;
        font-family: 'Libre Franklin',sans-serif;
        font-weight: 500;
       
    }
}

.hero-section{
    padding: 5%;
    height: 90vh;
    display: flex;
    justify-content: space-around;
    background-color: black;
    >.intro{
        padding-left: 2rem;
        >h2,p{
            color: white;
            font-family: "Montserrat", sans-serif;
        }
        >h2{
            font-weight: 200;
            font-size: 80px;
        }
        >p{
            width: 60%;
           font-size: 30px; 
           font-weight: lighter;
           white-space: nowrap;
           border-right: 2px solid white;
           overflow: hidden;
            animation: typewriter 3s steps(25) ,
                blink 800ms steps(25) infinite normal;
        }
        >button{
            height: 45px;
            width:200px;
            margin-right: 1rem;
        }
        >.btn-1{
            background-color: black;
            border: 2px solid white;
            border-radius: 0.5rem;
            color: white;
            font-family: "Montserrat", sans-serif;
        }
         >.btn-1:hover{
            background-color: white;
            color:black;
            font-weight: bold;
        }
        >.btn-2{
            background-color: white;
            border: 2px solid white;
            border-radius: 0.5rem;
            font-family: "Montserrat", sans-serif;
        }
        >.btn-2:hover{
            background-color: greenyellow;
            color: white;
            border: 2px solid black;
            font-weight: bolder;

        }
    }
    >.images{
        
        display: flex;
        justify-content: space-around;
        padding-top: 3rem;
        padding-left: 3rem;
        >img{     
            height: 60vh; 
                  
            border-radius: 0.75rem;
            animation: rotate_right 1s ease-in;
            transform: perspective(700px) rotateY(326deg);     
            box-shadow: rgb(161, 160, 160) 0px 20px 25px -5px, rgba(0, 0, 0, 0) 0px 10px 10px -5px;
        }
    }
}

.features{
    background-color: black;
    padding: 5%;
    padding-top: 0;
    
    >h2{
        font-family: "Montserrat", sans-serif;
        color: white;
        font-size: 60px;
        font-weight: 300;
    }
    >.feature{
        padding: 2%;
        display: flex;
        height: 50vh;
        margin-bottom: 4rem;
        >.desc{
            width: 60%;
            padding: 1rem;
            >h3,p{
                color: white;
                font-family: "Montserrat", sans-serif;
            }
            >h3{
                font-size: 40px;
                font-weight: 200;
            }
            >p{
                
                font-size: 30px;
                font-weight: 100;
            }
        }
        >.picture{

            width: 40%;
            text-align: center;
            >img{
                height: 35vh;
                width:15vw;
                border-radius: 1rem;
                box-shadow: rgb(161, 160, 160) 0px 20px 25px -5px, rgba(0, 0, 0, 0) 0px 10px 10px -5px;

            }
            >.img-r{
                animation: rotate_right 1s ease-in;
                transform: perspective(700px) rotateY(326deg);     

            }
            >.img-l{
                animation: rotate_left 1s ease-in;
                transform: perspective(700px) rotateY(-326deg);     

            }
        }
    }
}
.logo{
    height: 100px;
    width: 100px;
    border: 1px solid ghostwhite;
    border-radius: 1rem;
}
.company-name{
    color: white;
    text-align: center;
    font-family: 'Libre Franklin',sans-serif;
    font-size: 30px;
    margin: 0;
}
.conclude{
    color: white;
    font-size: 30px;
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    padding: 6rem;
    text-align: center;
}
#waitlist{
    height: 80vh;
    padding: 5%;
    background-color: black;
    >h2{
        font-size: 60px;
        font-weight: 300;
        font-family: "Montserrat", sans-serif;
        color: white;
        text-align: center;
    }
    >p{
        font-size: 20px;
        font-family: "Montserrat", sans-serif;
        color: white;
        text-align: center;
    }
    >#safelanes-waitlist{
        margin: 4rem auto;
        margin-botton: 4rem;
        padding: 3rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        border: 2px solid greenyellow;
        border-radius: 0.7rem;
        width: 30%;
        height: 40vh;

        >div{
            
            >input{
                height: 45px;
                width: 90%;
                margin-bottom: 2rem;
                /* border: 2px solid greenyellow; */
                background-color: rgb(34, 34, 34);
                border-radius: 0.5rem;
                padding-left: 1rem;
                font-size: 20px;
                font-family: "Montserrat", sans-serif;
                color: white;
            }
            >button{
                height: 45px;
                width: 200px;
                margin: 4px;
                background-color: white;
                /* border: 2px solid greenyellow; */
                border-radius: 0.5rem;
                color: black;
                font-family: "Montserrat", sans-serif;
                font-size: 20px;
                font-weight: bold;
            }
            >button:hover{
                background-color: greenyellow;
                color: white;
                border: 2px solid black;
                font-weight: bolder;
            
            };
            
        }
    }
}


@keyframes typewriter {
    from {
        width: 0%;
    }

    to {
        width: 66%;
    }
}

@keyframes blink {
    from {
        border-color: white;
    }

    to {
        border-color: transparent;
    }
}

@keyframes rotate_right {
    from{
        transform: perspective(700px) rotateY(270deg);
    }
    to{
        transform: perspective(700px) rotateY(326deg);
    }
    
}

@keyframes rotate_left {
    from{
        transform: perspective(700px) rotateY(-270deg);
    }
    to{
        transform: perspective(700px) rotateY(-326deg);
    }
    
}



@media screen and (max-width: 600px) {

    html,body{
        padding: 0 1rem 0 1rem;
        background-color: rgb(0, 0, 0);
        
        overflow-x: hidden;
    }
    >.navbar{
        >h3{
            font-size: 18px;
        }
    }

    .hero-section {
        flex-direction: column;
        align-items: center;
        height: auto;
        > .intro {
            padding-left: 0;
            text-align: center;
            > h2 {
                font-size: 40px;
            }
            > p {
                margin-left: auto;
                margin-right: auto;
                min-width: 90%;
                
                font-size: 20px;
            }
            > button {
                margin: 1rem 0;
                width: 150px;
            }
        }
        > .images {
            padding: 1rem 1.5rem 1rem 1.5rem;
            width: 100vw;
            > img {
                max-height: 40vh;
                max-width: 29vw;
               
                
            }
        }
    }
    .features {
        padding: 2%;
        > h2 {
            font-size: 40px;
            text-align: center;
        }
        > .feature {
            flex-direction: column;
            height: auto;
            > .desc, > .picture {
                width: 100%;
                text-align: center;
            }
            > .desc {
                padding: 1rem 0;
                > h3 {
                    font-size: 30px;
                }
                > p {
                    font-size: 20px;
                }
            }
            > .picture {
                > img {
                    height: auto;
                    width: 80%;
                }
            }
        }
    }

    .conclude{
        color: white;
        font-size: 16px;
        font-family: "Montserrat", sans-serif;
        font-weight: 300;
        padding: 2rem ;
        text-align: center;
    }

    #waitlist {
        height: auto;
        width: 100%;
        padding: 2%;
        > h2 {
            font-size: 40px;
        }
        > p {
            font-size: 16px;
        }
        > #safelanes-waitlist {
            width: 80%;
            height: auto;
            padding: 2rem;
            text-align: center;
            > div {
                
                > input {
                    font-size: 16px;
                    width: 80%;

                }
                > button {
                    width: 150px;
                }
            }
        }
    }
}
