*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#ffffff;
    color:#111;
    transition:background 0.5s,color 0.5s;
    overflow:hidden;
}

.screen{
    width:100%;
    height:100vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:20px;
}

.hidden{
    display:none;
}

h1{
    font-size:60px;
    margin-bottom:20px;
}

.subtitle{
    font-size:22px;
    margin-bottom:35px;
    max-width:700px;
    line-height:1.5;
}

.settings{
    width:400px;
    max-width:90%;
    background:#ffffff;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.2);
}

.settings label{
    display:block;
    text-align:left;
    margin-top:15px;
    margin-bottom:8px;
    font-size:18px;
    font-weight:bold;
}

.settings input{
    width:100%;
    padding:12px;
    font-size:18px;
    border-radius:8px;
    border:2px solid #ccc;
}

.settings input:focus{
    outline:none;
    border-color:#2196f3;
}

button{
    padding:12px 25px;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
    margin:8px;
}

button:hover{
    transform:scale(1.05);
}

#startBtn{
    width:100%;
    margin-top:30px;
    background:#4CAF50;
    color:white;
    font-size:22px;
}

.topBar{
    position:absolute;
    top:20px;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 25px;
}

.topBar h2{
    font-size:35px;
}

#pauseBtn{
    background:#ffc107;
}

#skipBtn{
    background:#17a2b8;
    color:white;
}

#restartBtn{
    background:#28a745;
    color:white;
}

#exitBtn{
    background:#dc3545;
    color:white;
}

.gameArea{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}

#colorText{
    font-size:110px;
    font-weight:bold;
    letter-spacing:4px;
    margin-bottom:30px;
    text-shadow:2px 2px 8px rgba(0,0,0,.25);
}

#timer{
    font-size:150px;
    font-weight:bold;
    margin:20px 0;
}

#message{
    font-size:35px;
    margin-top:20px;
}

#breakScreen h1{
    font-size:80px;
    margin-bottom:30px;
}

#breakScreen h2{
    font-size:35px;
    margin-bottom:30px;
}

#breakTimer{
    font-size:150px;
    font-weight:bold;
}

@media(max-width:900px){

    h1{
        font-size:42px;
    }

    .subtitle{
        font-size:18px;
    }

    #colorText{
        font-size:70px;
    }

    #timer{
        font-size:100px;
    }

    #message{
        font-size:24px;
    }

    .topBar{
        flex-direction:column;
        gap:15px;
        position:static;
        padding-top:20px;
    }

    .topBar button{
        margin:5px;
    }

}

@media(max-width:600px){

    #colorText{
        font-size:55px;
    }

    #timer{
        font-size:80px;
    }

    .settings{
        width:95%;
    }

    button{
        width:90%;
    }

}