body{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    transition: background 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

html{
    scroll-behavior: smooth;
}

body.loaded{
    opacity: 1;
}

.container{
    border-bottom: 1px solid gray;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 75px;
}

.menu{
    margin-bottom: 3%;
    min-height: 100vh;
}

.menu2{
    margin-bottom: 3%;
}

.nav_left{
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: larger;
}

.nav_left > img{
    height: 40px;
    cursor: pointer;
}

.nav_right{
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav_right > a{
    text-decoration: none;
    color: gray;
    transition: color 0.2s ease-in-out;
}

.nav_right > a:hover{
    color: black;
}

.download{
    cursor: pointer;
    background-color: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
    padding: 12px 20px;
    transition: background-color 0.2s ease-in-out;
}

.download:hover{
    background-color: rgb(46, 45, 45);
}

.container1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: 13%;
}

h1{
    font-size: 450%;
}

.bot_text{
    color: #1ABC9C;
    line-height: 1.2;
    display: inline-block;
}

.bot_text::after{
    content: "|";
    animation: blink 0.7s infinite;
}

@keyframes blink{
    50% {opacity: 0;}
}

.mid_left > p{
    margin-top: -3%;
    color: gray;
    font-size: x-large;
    width: 80%;
}

.mid_right{
    margin-top: 3%;
    margin-right: 15%;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.mid_right img{
    max-height: 800px;
    width: auto;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
    display: block;
}

.mid_right .hover_img{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.mid_right:hover .default_img{
    opacity: 0;
}

.mid_right:hover .hover_img{
    opacity: 1;
}

.download1{
    cursor: pointer;
    background-color: black;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    font-size: 18px;
    padding: 15px 20px;
    width: 23%;
    transition: background 0.2s ease-in-out;
    min-width: 150px;
}

.download1:hover{
    background-color: rgb(46, 45, 45);
}

.name{
    color: gray;
}

dialog::backdrop{    
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    opacity: 0.80;
}

dialog{
    width: 20%;
    border-radius: 10px;
    border: 2px solid black;
    background: #f3e8ff;
    text-align: left;
}

.dev_name img{
    height: 60px;
}

.dialog_logo{
    text-align: center;
}

.version_app{
    color: gray;
    text-align: center;
    margin-top: -10px;
}

.closer{
    display: flex;
    justify-content: center;
}

button[type="submit"]{
    width: 40%;
    margin-top: 3px;
}

.dev_name h2{
    text-align: center;
}

.dev_name a{
    text-decoration: none;
}

.dev_name a:hover{
    color: red;
    text-decoration: underline;
}

.container{
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
}

.container2{
    margin-top: 5%;
    text-align: center;
}

.container2 h1{
    font-size: 230%;
}

.container2 p{
    color: gray;
    margin-top: -10px;
    font-size: 130%;
}

.container3{
    width: 36%;
    margin-left: 32%;
}

.container4{
    display: flex;
    justify-content: center;
    margin-top: 5%;
    gap: 4%;
}

.container6{
    display: flex;
    justify-content: center;
    margin-top: 5%;
    gap: 4%;
}

img[src="/icons/calendar.svg"], img[src="/icons/pen.svg"], img[src="/icons/check_mark.svg"], img[src="/icons/plus.svg"], img[src="/icons/switch_mode.svg"], img[src="/icons/database.svg"]{
    margin-top: 6%;
    width: 8%;
    background-color: rgba(167, 163, 163, 0.685);
    border-radius: 10px;
    padding: 10px;
}

.smart, .smart_reminders, .sync_everywhere, .pin_tasks, .switch_mode, .local_storage{
    border: 1px solid rgb(116, 114, 114);
    border-radius: 10px;
    width: 25%;
    text-align: left;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
}

.container4, .container6 p{
    cursor: default;
}

.container4, .container6 h3{
    cursor: default;
}

.smart, .smart_reminders, .sync_everywhere, .pin_tasks, .switch_mode, .local_storage{
    transition: all 0.3s ease;
}


.smart:hover, .smart_reminders:hover, .sync_everywhere:hover, .pin_tasks:hover, .switch_mode:hover, .local_storage:hover{
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.smart, .smart_reminders, .sync_everywhere, .pin_tasks, .switch_mode, .local_storage{
    transition: 0.3s ease;
}

.container5{
    margin-left: 5%;
    margin-right: 5%;
}

.container5 p{
    margin-top: 3%;
    line-height: 1.4;
}

#typingText{
    display: inline-block;
    transition: opacity 0.4s ease;
}

#typingText::after{
    content: "|";
    animation: blink 0.7s infinite;
}

#about{
    scroll-margin-top: 80px;
}

#features{
    scroll-margin-top: 340px;
}

.container6{
    margin-top: 3%;
}

.footer_container{
    text-align: center;
    background-color: white;
    color: gray;
    border-top: 1px solid gray;
    padding: 15px;
    margin-top: 7%;
}

@media (max-width: 768px){

    .nav_right{
        display: none;
    }

    .nav_left{
        width: 80%;
    }

    .container{
        padding: 0 3%;
    }

    .container1{
        flex-direction: column;
        text-align: center;
        margin-left: 0;
        padding: 20px;
    }

    h1{
        font-size: 250%;
    }

    .mid_left p{
        width: 100%;
        font-size: 100%;
    }

    .download1{
        margin-top: 5%;
        width: 60%;
    }

    .mid_right{
        margin: 0;
    }

    .mid_right img{
        max-height: 400px;
    }

    .container3{
        width: 90%;
        margin-left: 5%;
    }

    .container4, .container6{
        flex-direction: column;
        align-items: center;
    }

    .smart, .smart_reminders, .sync_everywhere, .pin_tasks, .switch_mode, .local_storage{
        width: 90%;
        margin-bottom: 20px;
    }

    img[src*="/icons/"]{
        width: 15%;
    }

    dialog{
        width: 90%;
        max-width: 320px;
        padding: 15px;
    }

    .dev_name img{
        height: 50px;
    }

    .dev_name h2{
        font-size: 20px;
    }

    .version_app{
        font-size: 14px;
    }

    button[type="submit"]{
        width: 70%;
    }

}

@media (max-width: 1024px){

    .container1{
        flex-direction: column;
        text-align: center;
        margin-left: 0;
    }

    .download1{
        margin-top: 5%;
    }

    .mid_left p{
        width: 90%;
        margin: auto;
    }

    .container4, .container6{
        flex-wrap: wrap;
    }

    .smart, .smart_reminders, .sync_everywhere, .pin_tasks, .switch_mode, .local_storage{
        margin-top: 3%;
        width: 80%;
    }

    dialog{
        max-width: 420px;
    }

}