*{
    margin: 0px;
    padding: 0px;
    
}
body {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle, #1e1e2e, #12121a);
    color: #fff;
}
.container {
    text-align: center;
    background: linear-gradient(135deg, #282a36, #1b1b2f);
    padding: 30px;
    border-radius: 12.5px;
    box-shadow: 0 0 20px rgba(147, 112, 219, 0.8);
    position: relative;
    width: 350px;
    margin-top: -50px;
}
.timer-display {
    font-size: 4em;
    margin: 20px 0;
    color: #c792ea;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(147, 112, 219, 0.7);
}
.progress-bar {
    width: 100%;
    height: 10px;
    background: #444;
    border-radius: 12.5px;
    overflow: hidden;

    margin-bottom: 15px;
}
.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(135deg, #7b68ee, #6a5acd);
    transition: width 0.5s;
}
.controls button {
    margin: 10px;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 12.5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: bold;
    text-transform: uppercase;
}
 .session-paragraph{
    color: rgb(68, 240, 68);
    font-weight: 600;
 }



.btn{
    background-color:rgb(239, 103, 103);
    text-align: center;
    color: white;
    font-size: 1.2em;
    margin-left: 20px;
    border: none;
    border-radius: 10px;
    padding: 5px;
    width: 60px;
}

.work3{
    margin-left: -30px;
}
.work2{
    margin-left: -80px;
}

li{
    list-style-type: none;
}
.settings{
    margin-left: -90px;
}

.settings label {
    display: block;

    /* margin: 10px 0; */
    font-size: 1.1em;
}
.settings input {
    width: 60px;
    text-align: center;
    border-radius: 12.5px;
    padding: 5px;
    
    border: none;
    font-size: 1.1em;
    background: #2e2e3e;
    color: white;
    margin-left: 30px;
    margin: 5px;
}
.longbreak{
    margin-left: -90px;
}
/* Button Styles */
#reset {
    background: linear-gradient(135deg, #7b68ee, #6a5acd);
    color: white;
    box-shadow: 0 3px 8px rgba(123, 104, 238, 0.5);
}
#pause {
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
    color: white;
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.5);
}
#start {
    background: linear-gradient(135deg, #4caf50, #2e8b57);
    color: white;
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.5);
}
#skip-break {
    background: linear-gradient(135deg, #29c8bd, #71c5c5);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 194, 218, 0.5);
    
}
#skip-break:hover{
    background: transparent;
    border: 1px solid #29c8bd;
    color: #71c5c5;
    box-shadow: 0 4px 15px rgba(13, 194, 218, 0.5);
}
#reset:hover {
    background: transparent;
    border: 1px solid #7b68ee;
    color:  #6a5acd;
    box-shadow: 0 3px 8px rgba(123, 104, 238, 0.5);
}
#pause:hover {
    background: transparent;
    border: 1px solid #ff6b6b;
    color: #e74c3c;
    box-shadow: 0 3px 8px rgba(231, 76, 60, 0.5);
}
#start:hover {
    background: transparent;
    border: 1px solid  #2e8b57;
    color:  #069a46;
    box-shadow: 0 3px 8px rgba(46, 139, 87, 0.5);
}
#start:active{
transform: scale(0.9);
}
#pause:active{
    transform: scale(0.9);
 }
#reset:active{
    transform: scale(0.9);
}
#skip-break:active{
    transform: scale(0.9);
}

@media screen and (orientation:portrait){
    body {
        font-family: 'Poppins', sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background: radial-gradient(circle, #1e1e2e, #12121a);
        color: #fff;
    }
    .container {
        text-align: center;
        background: linear-gradient(135deg, #282a36, #1b1b2f);
        padding: 30px;
        border-radius: 12.5px;
        box-shadow: 0 0 20px rgba(147, 112, 219, 0.8);
        position: relative;
        width: 350px;
    }

    .controls button {
        margin: 10px;
        padding: 15px 30px;
        font-size: 1.2em;
        border: none;
        border-radius: 12.5px;
        cursor: pointer;
        transition: 0.3s;
        font-weight: bold;
        text-transform: uppercase;
    }
    .settings label {
        display: block;
        margin: 10px 0;
        font-size: 1.1em;
    }
    .settings input {
        width: 60px;
        text-align: center;
        border-radius: 12.5px;
        padding: 5px;
        border: none;
        font-size: 1.1em;
        background: #2e2e3e;
        color: white;
    }
    
}


@media screen and (orientation: landscape) {
    body {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        background: radial-gradient(circle, #1e1e2e, #12121a);
        color: #fff;
        padding: 20px;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
        max-width: 900px;
        background: linear-gradient(135deg, #282a36, #1b1b2f);
        padding: 30px;
        border-radius: 15px;
        box-shadow: 0 0 20px rgba(147, 112, 219, 0.8);
    }

    /* Title */
    h1 {
        font-size: 3em;
        text-align: center;
        margin: 20px 0px;
    }

    /* Settings */
    .settings {
        display: flex;
        /* justify-content: space-around; */
        width: 100%;
        margin-top: 15px;
        margin-left: 100px;
    }

    .settings label {
        font-size: 1em;
        margin: 5px;
        margin-left: 70px;
    }

    .settings input {
        width: 55px;
        text-align: center;
        border-radius: 8px;
        padding: 5px;
        border: none;
        font-size: 1em;
        background: #2e2e3e;
        color: white;
    }

    /* Sessions Completed */
    p {
        font-size: 1.1em;
        margin-top: 15px;
    }
}


input[type="number"]{
    color: white;
    border-radius: 4px;
    border: 2px solid  transparent;
    transition: border-color 0.3s ease-in-out;

}
input[type="number"]:hover{
    border-color: rgb(188, 10, 188);
    outline: none;
    cursor: pointer;
    
}

/* Animated Timer */
.animated-timer {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.rotating-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        #7b68ee 0%,
        #6a5acd 100%
    );
    animation: pulse-timer 1s infinite ease-in-out paused;
    transform: rotate(-90deg); 
}

.rotating-circle.active {
    animation-play-state: running;
}

.timer-display {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5em;
    font-weight: bold;
    color: #fff;
}

@keyframes pulse-timer {
    0% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(123, 104, 238, 0.8);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 50px rgba(123, 104, 238, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 30px rgba(123, 104, 238, 0.8);
    }
}

