@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}
.dark-mode{
    cursor: pointer;
    background-color: #333;
}
.dark-mode{
    color: #ffffff; 
    padding: 5px 10px; 
    border: none; 
    border-radius: 5px; 
    cursor: pointer; 
    text-align: center;
    text-decoration: none;
    font-size: 10px; 
    display: inline-block;
    
}
.dark{
    background-color: #222;
    color: #ffffff;
}
body{
    background-color: #FFFFFF;
    height: 100vh;
    width: 100%;
}
header{
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
header h3{
    font-family: 'Righteous', sans-serif;
    padding:10px 590px 0 0;
    cursor: pointer;
}
nav{
    display: flex;
    justify-content: center;
   
}

.mobile-menu {
    display: none;
}
.mobile-menu {
    display: block;

}
.mobile-menu .hamburger{
    background: none;
    border:none;
    color: #333;
    position: relative;
    left: 350px;
    bottom: 30px;
}
.nav-list{
    list-style: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.nav-list.active {
    display: flex;
}

.nav-list li{
    display: inline-block;
    padding: 20px;
    text-decoration: none;
    color:#000000;
}
li a{
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color:#000000;
    position: relative;
    padding-top: 10px;
    cursor: pointer;
}
li a::after{
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #528ED6;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}
li a:hover::after{
    transform: scaleX(1);
    transform-origin: bottom left;
}
li a:hover{
    color:#528CD5;
}
.pomo{
    border:3px solid #528CD5;
    padding: 10px;
}
main{
    display: flex;
    justify-content:center;
    align-items: center;
    margin-top: 20px;
}

.content-right img{
    height:42rem;
    width: 400px;
    padding: 15px 0;
    border:none;
    border-radius: 40px;  
    margin-right: 100px;
}
.content-left h1{
    color:#000000;
    padding: 20px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 60px;
}
.content-left{
    width:50%;
    margin-right: 10px;
    margin-bottom: 190px;
    
}
.content-left p{
    font-family:'Poppins',sans-serif;
    width: 400px;
    padding-bottom:20px ;

    
}

button.to-do {
    background-color: #528CD5;
    color: white;
    border: none;
    padding: 10px 45px;
    border-radius: 5px;
    font-size: 16px;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;

}
button.to-do a{
    color: #FFFFFF;
}
button.to-do:hover {
    background-color: #2980b9; 
}
button.daily-quotes {
    background-color: #2ecc71;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button.daily-quotes a{
    color: #FFFFFF;
}
button.daily-quotes:hover {
    background-color: #27ae60; 
}
h2{
    font-family: 'Poppins', sans-serif;
    text-align: center;
    position: relative;
    top:-160px; 
}
.abt-heading{
    color: #528CD5;
}
#about{
    background: #E9EDFB;
    height: 500px; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-left img{
    height: 42rem;
    position: relative;
    top:80px;
}
.about-right h3{
    font-family: 'Poppins', sans-serif;
    position: relative;
    top:-30px;
    margin: 20px;
}
.about-right p{
    font-family: 'Poppins', sans-serif;
    position: relative;
    top:-30px;
    margin: 20px;
}
#quote-section{
    height: 500px; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.quote-left img{
    height: 38rem;
    position: relative;
    top:120px;
    left: -180px;
}
.quote-right p{
    font-family: 'Poppins', sans-serif;
    position: relative;
    top:40px;
    margin: 25px;
    width: 500px;
    font-size: x-large;
}
.quote-right button{
    margin: 20px;
    background-color: #58CAEA;
    position: relative;
    top:40px;
}

.footer {
    background-color: #E9EDFB;
    padding: 20px 0;
    text-align: center;
    position: relative;
    bottom:-120px;
    font-family: 'Poppins', sans-serif;
    
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;


}

.footer p {
    margin: 0;
}

.footer-nav a {
    text-decoration: none;
    color: #555;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #000;
}

/* CSS for mobile devices */

/* Adjustments for smaller screens */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header h3 {
        padding: 10px 10px;
    }

    .nav-list {
        display: none;
    }

    .nav-list.active {
        display: block;
        text-align: center;
        width: 100%;
        position: relative;
        left: 255px;
        top: 30px;
    }

    .nav-list li {
        display: block;
        padding: 15px 0;
        text-align: center;
    }

    .content-left, .content-right {
        width: 100%;
        text-align: center;
        margin: 20px 0px;
        margin-top: -160px;
        position: relative;
        right: 18px;
    }
    .content-left h1{
        margin-left: 45px;
        text-align: center;
    }
    .content-left p{
        margin-left: 20px;
        text-align: center;
    }
    .content-left .to-do{
        margin-left: 40px;
    }
    .content-left .to-do a{
        text-decoration: none;
    }

    .content-right img {
        width: 80%;
        margin-right: 0;
    }
    #about{
        height: 900px; 
        width: 480px;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column; 

    }
    .about-left img {
        width: 80%;
        height: 26rem;
        top: 26%;
        left: -1%;
        margin: 10px auto;
    }
    h2{
        margin-left: 90px;
        margin-top: 110px;
        margin-right: 55px;
        
    }
    
    .about-right h3, .about-right p {
        text-align: center;
        margin-bottom: 20px;
        position: relative;
        top: -190px;
        right:50px;
        width: 350px;
        margin-left: 190px;
        margin-right: 190px;
    }
    .about-right{
        margin-top: 160px;
    }
    .quote-section{
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column; 
    }
    .quote-left img {
        width: 100%;
        height: 20rem;
        top: 0;
        left: 10px;
        margin: 20px auto;
    }

    .quote-right p {
        text-align: center;
        margin-bottom: 40px;
        position: relative;
        top: -8px;
        font-size: medium;
        width: 260px;

    }
    .quote-right button {
        text-align: center;
        left: 50px;
        top:-40px;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        margin-top: 20px;
    }

    .footer-nav a {
        display: block;
        margin: 10px auto;
    }

    body, html {
         width: 100%;
         overflow-x: hidden; /* Prevent horizontal scrolling */
        }
    
    
}
