@import url('https://fonts.googleapis.com/css2?family=Elsie+Swash+Caps&family=Inria+Serif:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=League+Spartan:wght@100..900&family=Quicksand:wght@300..700&display=swap');

body {
    font-family: "Inria Serif", serif;
    margin: 0;
    padding: 0;
    background-color: #d0fad0;
}

header {
    background-color: #2e7d32;
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 18px;
}

nav {
    background-color: #4caf50;
    padding: 10px;
    text-align: center;
}

nav a {
    color: white;
    margin: 10px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}



.container {
    padding: 20px;
}

main {
    
    padding: 20px;
    background-color: #bbeebe;
    margin: 2% 20% 2% 20%;
    border-radius: 1em;
    box-shadow: 0 5px 20px rgba(81, 115, 81, 0.569);
}

h1 {
    color: #c4ecc6;
    text-align: center;
}

h2, h3 {
    color: #2e7d32;
    text-align: left;
}

img {
    margin: 10px 0;
    border-radius: 8px;
}

ul {
    line-height: 1.6;
    text-align: left;
}

.overlay {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popup {
    background: rgba(157, 197, 162, 0.6);
    padding: 10px;
    border-radius: 10px;
}

.popup-content {
    background: #49894d;
    padding: 20px;
    border-radius: 8px;
    width: 300px;
    text-align: center;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
}

button {
  width: 20px;
  height: 35px;
  font-size: 15px;
  border: none;
  background: #4caf50;
  color: white;
  border-radius: 10%;
  cursor: pointer;

  display: inline-flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  background: #388e3c;
}

.active {
  background-color: lightgreen;
  font-weight: bold;
}

button, input[type="submit"] {
    background-color: #2e7d32;
    color: white;
    border: none;
    width: 20%;
    cursor: pointer;
}

.box {
      padding: 20px;
      border-radius: 12px;
      margin-top: 30px;
      background: rgba(255, 255, 255, 0.05);
      box-shadow: 0 0 20px rgb(78, 124, 89);
      
    }

#timer {
      font-size: 28px;
      margin-top: 20px;
      font-weight: bold;
    }

button:hover, input[type="submit"]:hover {
    background-color: #1b5e20;
}

form input, form textarea, select {
    width: 50%;
    padding: 8px;
    margin: 5px 0 15px 0;
}

footer {
    text-align: center;
    color: white;
    background-color: #4caf50;
    padding: 1px;
}