@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    font-size: 62.5%;
    --color-primary: #28e416d1; /* toned down primary color */
    --color-secondary: #519568; /* toned down secondary color */
    --color-font: #333;
    --color-shadow: rgba(41, 143, 99, 0.2);
    --font-family-sans-serif: 'Open Sans', sans-serif;
    --font-family-serif: 'Merriweather', serif;
    
   
}
body {
    background-image: url(images/timer.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 0px;
    font-family: Arial, sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar styles */
.navbar-custom {
    background-color: #7dd3a7;
    color: #f3fcf7;
    height: 90px; 
}

.navbar-toggler {
    margin-left: auto;
}

.navbar-brand .logo {
  width: 150px;
  display: flex;
  align-items: center;
}

li, a, button {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    list-style: none;
}

.navbar {
    width: 100%;
    color: #f3fcf7;
}

.nav-item {
    margin-top: -10px;
    margin-right: 15px;
    color: #f3fcf7;
}

.navbar-nav .nav-link {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    font-weight: 500; 
    color:#2E865F; 
    padding: 0 15px;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s;
}

.navbar-nav .nav-item .nav-link.active {
    font-weight: bold;
    color: #000;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #fff;
    background-color: #4CAF50;
    border-radius: 5px;
    transform: translateY(-3px);
}

.loginbut {
    margin-bottom: 30px;
}

/* Ensure CSS priority */
.navbar-custom .navbar-nav .nav-link {
    color: #333 !important; /* Override any other styles */
}

.navbar-custom .navbar-nav .nav-link.active {
    color: #000 !important;
    font-weight: bold;
}

.navbar-custom .navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: #4CAF50 !important;
}

/* Ensure responsiveness */
@media (max-width: 992px) {
    .navbar-brand .logo {
        width: 120px;
    }
    .navbar-nav .nav-link {
        font-size: 18px;
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .navbar-brand .logo {
        width: 100px;
    }
    .navbar-nav .nav-link {
        font-size: 16px;
        padding: 8px;
    }
}




/* .navbar-nav .nav-item .nav-link:hover {
    color: #fff;
    background-color: #38a1f3;
    border-radius: 5px;
    transform: translateY(-3px);
}
.loginbut{
    margin-bottom: 30px;
} */



.container {
   width: min(42.5rem, 100%);
   height: 100%;
   margin-inline: auto;
   padding-inline: 2rem;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   font-family: var(--font-family-sans-serif);
   padding-bottom: 20px;
}
h1 {
    font-family: 'Merriweather', serif; /* Use a fancy serif font */
    font-size: 4rem; /* Increase font size */
    color: #1b7817; /* Set a pleasant color */
    text-align: center; /* Center the text */
    background: linear-gradient(135deg, #68da60 0%, #d0e5b0 100%);
    -webkit-background-clip: text; /* Use the background as the text color */
    -webkit-text-fill-color: transparent; /* Make the text transparent */
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Add a subtle shadow for depth */
    letter-spacing: 0.5rem; /* Increase letter spacing for a more spaced out look */
    padding: 1rem 0;
    border-bottom: 3px solid #1b7817; 
    margin-bottom: 2rem; 
    margin-top: 2rem;/* reduce the margin bottom to bring the text closer to the panel */
}

.panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    width: 20rem;
    margin-block: 5rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10rem;
    box-shadow: 0px 0px 15px 5px var(--color-shadow);
    background: linear-gradient(135deg, #76c7c0, #89f7a6);
    font-family: 'Merriweather', serif;
}

.panel #work, .panel #break {
    opacity: .8;
    transition: all 0.3s ease;
}

.panel #work:hover, .panel #break:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #fff;
}

.panel #work.active, .panel #break.active {
    opacity: 1;
    color: #fff; /* Change to white or any color that should indicate active */
    background-color: var(--color-secondary); /* Optional: change background when active */
    transform: scale(1.1); /* Apply the hover effect for active */
}

.timer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    box-shadow: 0px 0px 15px 10px var(--color-shadow);
}

.circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26rem;
    height: 26rem;
    border-radius: 50%;
    background-color: var(--color-secondary);
    position: relative;
}
.circle::before {
    content: '';
    position: absolute;
    width: 95%;
    height: 95%;
    border-radius: 50%;
    background-color: var(--color-primary);
}

.time {
    position: relative;
    display: flex;
    flex-direction: row;
}

.time p {
    font-size: 5.6rem;
}

.time p:nth-of-type(2) {
    position: relative;
    top: -.5rem;
    margin-inline: 1rem;
}
.pomodoro-card {
  margin-top: 30px;
  background: linear-gradient(135deg, #68da60 0%, #d0e5b0 100%);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  color: #1b7817;
  font-family: 'Arial', sans-serif;
  text-align: center;
  font-size:1.5rem;
  padding: 30px;
  max-width: 1200px;
  margin: 20px auto;
  margin-bottom: 0;
}

.pomodoro-card p {
  margin: 0;
  font-size: 1.8rem;
}
/* .controls {
    margin-top: 3rem;
}

.controls button {
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.controls #reset {
    display: none; */
.controls{
    margin-top: 3rem;
    font-family: sans-serif;
    margin-bottom: 20px;
}

    .controls button {
        /* Add some padding to make the buttons more comfortable to click */
        padding: 0.5rem 1rem;
        /* Use a subtle gradient to give the buttons some depth */
        background-image: linear-gradient(120deg, rgb(92, 211, 92),rgb(255, 252, 252));
        background-size: 100% 200px;
        background-position: 0% 100%;
        transition: background-position 0.3s ease-in-out;
        /* Add some border radius to make the buttons more rounded */
        border-radius: 0.5rem;
        /* Use a font that's easy to read */
        font-family: var(--font-family-sans-serif);
        font-size: 1.4rem;
        color: var(--color-secondary);
        cursor: pointer;
      }
      
      .controls button:hover {
        /* Animate the background position on hover to create a sense of movement */
        background-position: 100% 100%;
      }
      
      .controls button:active {
        /* Add some visual feedback when the button is clicked */
        transform: translateY(2px);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
      }
      
      .controls #reset {
        /* Style the reset button differently to make it stand out */
        background-color: var(--color-primary);
        color: var(--color-secondary);
        border-color: #000;
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        cursor: pointer;
      }
      
      .controls #reset:hover {
        background-color: var(--color-primary) darken(10%);
      }
      
      .controls #reset:active {
        transform: translateY(2px);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
      }
      footer {
        font-family: "Poppins", sans-serif;
        position: absolute;
        margin-bottom: 0 auto;
        height: auto;
        min-height: 290px;
        overflow: auto;
      }
      
      @media (max-height:880px) {
        footer {
            position: static;
        }
        header {
            padding-top: 40px;
        }
      }
      
      .footer-distributed {
        color: #f3fcf7;
        background-color: #7dd3a7;
        box-sizing: border-box;
        width: 100%;
        text-align: left;
        font: bold 16px "Poppins", sans-serif;
        padding: 50px 50px 60px 50px;
        margin-top: 170px;
      }
      
      .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
        display: inline-block;
        vertical-align: top;
      }
      
      /* Footer left */
      
      .footer-distributed .footer-left {
        width: 30%;
        padding-bottom: 20px;
      }
      
      .footer-distributed h3 {
        color: #000000;
        font: normal 36px 'Cookie', cursive;
        margin: 0;
      }
      
      
      .footer-distributed h3 span {
        color: #000000;
      }
      
      /* Footer links */
      
      .footer-distributed .footer-links {
        color: #000000;
        margin-top: 40px;
        margin: 20px 0 12px;
      }
      
      .footer-distributed .footer-links a {
        display: inline-block;
        line-height: 1.8;
        text-decoration: none;
        color: inherit;
      }
      
      .footer-distributed .footer-company-name {
        color: #000000;
        font-size: 14px;
        font-weight: normal;
        margin: 0;
      }
      
      /* Footer Center */
      
      .footer-distributed .footer-center {
        width: 35%;
      }
      
      .footer-distributed .footer-center i {
        background-color: #ffffff;
        color: #000000;
        font-size: 25px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        text-align: center;
        line-height: 42px;
        margin: 10px 15px;
        vertical-align: middle;
      }
      
      .footer-distributed .footer-center i.fa-envelope {
        font-size: 17px;
        line-height: 38px;
      }
      
      .footer-distributed .footer-center p {
        display: inline-block;
        color: #000000;
        vertical-align: middle;
        margin: 0;
      }
      
      .footer-distributed .footer-center p span {
        display: block;
        /* font-weight: normal; */
        font-size: 14px;
        line-height: 2;
      }
      
      .footer-distributed .footer-center p a {
        color: #012b2e;
        text-decoration: none;
        ;
      }
      
      /* Footer Right */
      
      .footer-distributed .footer-right {
        width: 30%;
      }
      
      .footer-distributed .footer-company-about {
        line-height: 20px;
        color: #000204;
        font-size: 13px;
        font-weight: normal;
        margin: 0;
      }
      
      .footer-distributed .footer-company-about span {
        display: block;
        color: #000000;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 20px;
      }
      
      .footer-distributed .footer-icons {
        margin-top: 25px;
      }
      
      .footer-distributed .footer-icons a {
        display: inline-block;
        width: 35px;
        height: 35px;
        cursor: pointer;
        /* background-color: #ffffff; */
        border-radius: 2px;
        font-size: 20px;
        /* color: #000000; */
        text-align: center;
        line-height: 35px;
        margin-right: 3px;
        margin-bottom: 5px;
      }
      
      .footer-distributed .footer-icons a:hover {
        background-color: #ffffff;
      }
      
      .footer-links a:hover {
        color: #027575;
      }
      
      @media (max-width: 880px) {
        .footer-distributed .footer-left, .footer-distributed .footer-center, .footer-distributed .footer-right {
            display: block;
            width: 100%;
            margin-bottom: 40px;
            text-align: center;
        }
        .footer-distributed .footer-center i {
            margin-left: 0;
        }
      }       
         