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

:root{
    --bg:orangered;
    --text-color: #ffffff;
    --primary-color: #00ffff;
    --highlight-color: #ffd700;
    --card: rgba(60, 60, 60,0.8);
}

body.light_mode{
    --bg: #ffd700;
    --text-color: #111;
    --primary-color: #007acc;
    --highlight-color: #ff6600;
    --card: rgba(180, 180, 180,0.8);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background: var(--bg);
    color: var(--text-color);
    padding: 20px;
    transition: background 0.3s, color 0.3s;
}

h1{
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    color : var(--highlight-color);
    text-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.toggle-btn{
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    float: right;
}

.toggle-btn:hover {
    background-color: var(--highlight-color);
    color: #fff;
}

.container{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 1rem;
    padding: 1.875rem;
    background-color: var(--card);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: all ease-in-out 1s;
}

/* .container:hover{
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 16px;
    backdrop-filter: blur(10px);          
    -webkit-backdrop-filter: blur(10px);  
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all ease-in-out 1s;
} */

img , .about , .tools {
    padding: 1.875rem;
}

img{
    border-radius: 30%;
}

.about{
    font-family:'Roboto'sans-serif;
    font-weight: 700;
    font-size: 2rem;
}

.about h2{
    color: var(--highlight-color);
}

.help{
    display: flex;
    flex-direction: row;
    width: 100%;
    flex-wrap: nowrap;
}

.tools{
    text-align: center;
    margin: 1rem;
    padding: 1.875rem;
    background-color: var(--card);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    width: 50%;
    transition: all ease-in-out 1s;
}

/* .tools:hover{
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 16px;
    backdrop-filter: blur(10px);          
    -webkit-backdrop-filter: blur(10px);  
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: all ease-in-out 1s;
} */

.tools a{
    text-decoration: none;
    color:var(--text-color) ;
}

.tools a:hover{
    color: var(--highlight-color);
}

.tools h2 {
    color: var(--highlight-color);
}

.tools span{
    color: var(--primary-color);
}

.tools li {
    list-style: none;
    margin-bottom: 0.7rem;
}

@media screen and (min-wdith: 1024px) and (max-width: 1030px){
    .help {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .tools{
        width: 50%;
    
    }
}

@media screen and (max-width: 1000px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .about {
        font-size: 1.2rem;
        padding: 1rem;
    }

    img {
        width: 80%;
        height: auto;
        border-radius: 20%;
    }

    .tools {
        font-size: 1.2rem;
        padding: 1.5rem;
    }

    .toggle-btn {
        float: none;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .about {
        font-size: 1rem;
    }

    .tools {
        font-size: 1rem;
        width: auto;
    }

    h1 {
        font-size: 1.5rem;
    }

    .toggle-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .help{
        flex-direction: column;
    }

    .dif{
        display: none;
    }

    .ahah li{
        margin-top: 5px;
    }
}

