* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}
@font-face {
    src: url(fonts/PressStart2P-Regular.ttf);
    font-family: pressStart2P;
}
body {
    background-color: black;
    margin: 0;
    height: 100vh;
    position: relative;
    box-sizing: border-box;
    border-top: 35px solid #20C20E;
    border-bottom: 10px solid #20C20E;
    border-left: 10px solid #20C20E;
    border-right: 10px solid #20C20E;
    background-image: url("images/background.gif");
    background-repeat: repeat; 
    background-size: 280px 280px; 
    background-color: black;
}  
.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    height: 100vh;
    position: relative;
}
.top-border-text {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 13px;
    padding: 0 10px;
    font-family: pressStart2P , monospace;
    white-space: nowrap;
}
.lolow-logo-container {
    display: flex;
    justify-content: flex-start;
    left: 1px;
    position: absolute;
    top: 10%;
}
.lolow-logo {
    width: 500px;
    max-width: none;
    height: auto;
    cursor: pointer;
    
}
.lolow-logo:active {
    transform: scale(1.1);
}
.about-container {
    display: flex;
    justify-content: left;   
    align-self: flex-start;
    position: absolute;
    top: 1px;
    left: 10px;
}
.about-button {
    width: 120px;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s;
    align-self: flex-start;
    
}
.timer-display {
    color: white;
    font-family: pressStart2P, monospace;
    font-size: 133px;
    position: absolute;
    top:210px;
    left: 44%;
}
.timer-buttons {
    display: flex;
}
.start-stop-button{
    width: 200px; 
    height: auto;
    position: absolute;
    top: 370px;
    left: 53%;
    cursor: pointer;

}
.pause-button {
    width: 200px; 
    height: auto;
    align-self: flex-start;
    position:absolute;
    top: 370px;
    left: 41%;
    cursor: pointer;
}
.reset-button {
    width: 400px;
    height: auto;
    position: absolute;
    cursor: pointer;
    top: 270px;
    left: 63%;

}
.timer-display {
    background: none;
    border:none;
    color: white;
    font-family: pressStart2P, monospace;
    font-size: 170px;
    text-align: center;
    width: 1000px;
    position: absolute;
    top: 210px;
    left: 33%;
    outline: none;
    font-variant-numeric: tabular-nums;
    letter-spacing: 4px;
}
.message {
    color: white;
    font-size:50px;
    font-family: pressStart2P, monospace;
    text-align: center;
    position: absolute;
    display: none;
    top: 600px;
    left: 48%;
}
.settings-button-container {
    display: flex;
    justify-content: left;
    align-self: flex-start;
    position: absolute;
    top: 2px;
    left: 7%;
}
.settings-button {
    width: 122px;
    cursor: pointer;    
}
.settings-popup {
  position: absolute;
  top: 100px;
  left: 40px;
  background-color: #111;
  border: 2px solid #20C20E;
  padding: 20px;
  border-radius: 10px;
  display: none;
  z-index: 999;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
  font-family: pressStart2P, monospace;
  font-size: 12px;
  gap: 10px;
}


.toggle {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #20C20E;
}

input:checked + .slider:before {
  transform: translateX(30px);
}
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}
@media (max-width: 1500px) {
    .lolow-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
  }
  .lolow-logo {
    width: 300px;
  }

  .timer-display {
    font-size: 80px;
    width: 100%;
    left: 0;
    top: 350px;
  }

  .start-stop-button,
  .pause-button,
  .reset-button {
    width: 120px;
    top: auto;
    bottom: 130px;
  }

  .start-stop-button {
    left: 53%;
    transform: translateX(60px);
    top: 450px;
  }

  .pause-button {
    left: 55%;
    transform: translateX(-60px);
    top: 450px;
  }

  .reset-button {
    width: 250px;
    left: 50%;
    transform: translateX(-100%);
    top: 385px;
    
  }

  .message {
    font-size: 24px;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
  }

  .settings-button-container,
  .about-container {
    top: 5px;
    left: 5px;
  }

  .settings-button,
  .about-button {
    width: 60px;
  }

  .settings-popup {
    width: 60%;
    left: 60px;
    font-size: 10px;
  }
.about-container {
  position: absolute;
  z-index: 10;
  top: 5px;
  left: 10%;
  display: flex;
  justify-content: flex-start;
}
}
