/* imported the font POPPINS */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Sora:wght@100..800&display=swap');

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
    color: #223344;
}

body{
    width: 100vw;
    height: 100vh;
    background-color: #F2F9FE;
}

header{
    width: 100%;
    height: 12.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
}

.nav{
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav li{
    width: 25%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav a{
    color: #223344;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
}

/* for the animation of the nav elements */
.nav a:hover::after{
    width: 100%;
}

.nav a::after{
    content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: #2A4DD0;
    transition: width 0.3s ease-in-out;
}

.theme{
    width: 60px;
    height: 25px;
    background-color: #223344;
    border-radius: 25px;
    display: flex;
    padding: 2px;
    justify-content: space-between;
    align-items: center;
}

.bright, .dark{
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bright:hover, .dark:hover{
    cursor: pointer;
}

.sun{
    background-color: #F2F9FE;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 1.5px;
}

.moon{
    border-radius: 50%;
    width: 100%;
    height: 100%;
    padding: 1.5px;
}

/* Content section */
.content{
    width: 100%;
    height: 87.5%;
    display: flex;
}

.content-paragraphs{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2% 0 2% 8%;
    width: 50%;
}

.hook{
    font-size: 18px;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 20px;
}

.title{
    font-size: 60px;
    font-weight: 600;
    width: 60%;
    margin-bottom: 40px;
}

.info{
    font-size: 18px;
    width: 70%;
    font-weight: 500;
    margin-bottom: 20px;
}

.content-buttons{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px;
}

.start-button{
    width: 20%;
    height: 80%;
    background-color: #5c77d8;
    color: white;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    margin-right: 30px;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border 0.2s ease-in-out;
}

.start-button:hover{
    background-color: #F2F9FE;
    cursor: pointer;
    color: #2A4DD0;
    border: 1px solid #2A4DD0;
}

.live-demo-button{
    width: 20%;
    color: #2A4DD0;
    background-color: #F2F9FE;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    text-align: center;
}

.live-demo-button:hover{
    cursor: pointer;
}

.live-demo-button::after{
    content: '';
    width: 0%;
    height: 2px;
    position: absolute;
    bottom: 0px;
    left: 0;
    background-color: #2A4DD0;
    transition: width 0.3s ease-in-out;
}

.live-demo-button:hover::after{
    width: 100%;
}

.benefits{
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.benefit{
    width: 30%;
    height: 100%;
    font-size: 14px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.benefit i{
    color: #4CA154;
    margin-right: 10px;
    font-size: 18px;
}

.content-image-container{
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 8%;
}

.content-image{
    width: 100%;
    height: 90%;
}

/* for being responsive between these two sizes */
@media (min-width: 900px) and (max-width: 1200px){

    header{
        padding: 0 5%;
    }

    .content-paragraphs{
        width: 45%;
        padding: 10px 0 20px 5%;
    }

    .title{
        width: 100%;
        font-size: 50px;
    }

    .info{
        width: 100%;
    }

    .start-button, 
    .live-demo-button{
        width: 35%;
    }

    .benefits{
        width: 100%;
    }

    .benefit{
        width: 50%;
        margin-right: 3px;
    }

    .content-image-container{
        width: 50%;
        padding-right: 0%;
    }

    .content-image{
        width: 95%;
        height: 62.5%;
    }
}

/* for being responsive between these two sizes */
@media (min-width: 1200px) and (max-width: 1500px){

    .live-demo-button, 
    .start-button{
        width: 25%;
    }

    .benefit{
        width: 40%;
    }

    .content-image{
        width:95%;
        height: 70%;
    }
}

/* not showing the original navbar on the phones */
@media (min-width: 900px){
    .mobile-navBar{
        display: none;
    }
}

/* showing the second type of navbar that is for mobile, in desktop or tablet */
@media (max-width: 900px){

    header{
        padding: 0 8% 0 3%;
    }

    .theme,
    .nav{
        display: none;
    }

    .navbar-toggle-container{
        width: 25px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar-toggle-container:hover{
        cursor: pointer;
    }

    .navbar-toggle{
        height: 4px;
        width: 25px;
        opacity: 1;
        display: flex;
        background-color: #000;
        position: relative;
    }

    .navbar-toggle::after,
    .navbar-toggle::before{
        content: '';
        width: 100%;
        height: 4px;
        background-color: #000;
        position: absolute;
    }

    .navbar-toggle::after{
        top: 8px;
    }

    .navbar-toggle::before{
        bottom: 8px;
    }

    .navbar-toggle:hover{
        cursor: pointer;
    }

    .mobile-navbar-container{
        width: 65%;
        height: 106%;
        background-color: #fff;
        position: absolute;
        top: 0;
        right: 0;
        padding: 15px;
        display: none;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
    }

    .close-button{
        align-self: flex-end;
    }

    .close-button:hover{
        cursor: pointer;
    }

    .mobile-menu{
        width: 100%;
        height: 550px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-top: 50px;
    }

    .mobile-menu li{
        width: 100%;
        height: 25%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu a{
        font-size: 35px;
        font-weight: bold;
        text-decoration: none;
        position: relative;
        display: flex;
    }

    .mobile-menu a::after{
        content: '';
        width: 0%;
        height: 2px;
        position: absolute;
        background-color: #2A4DD0;
        bottom: 4px;
        transition: width 0.3s ease-in-out;
    }

    .mobile-menu a:hover::after{
        width: 100%;
        cursor: pointer;
    }

    .mobile-theme{
        width: 60px;
        height: 25px;
        background-color: #223344;
        border-radius: 25px;
        display: flex;
        padding: 2px;
        justify-content: space-between;
        align-items: center;
        margin-top: 50px;
    }

    .mobile-bright, .mobile-dark{
        width: 40%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-bright:hover, .mobile-dark:hover{
        cursor: pointer;
    }

    .mobile-sun{
        background-color: #F2F9FE;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        padding: 1.5px;
    }

    .mobile-moon{
        width: 100%;
        height: 100%;
        border-radius: 50%;
        padding: 1.5px;
    }

    .content{
        width: 100%;
        min-height: 100px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .content-image-container{
        order: 1;
        width: 50%;
        height: 300px;
        align-self: center;
    }

    .content-paragraphs{
        order: 2;
        padding: 3%;
        width: 100%;
    }

    .title{
        width: 90%;
    }

    .start-button{
        padding: 2px;
    }
}

/* not showing the second type of navbar that is for mobile, in desktop or tablet */
@media (min-width: 900px){
    .mobile-navbar-container{
        display: none;
    }
}