:root {
  --blue: #005efe;
  --grey: #7080b8;
  --red: #A11010;
  --gold: #C49C37;
  --mono: 'Share Tech Mono', monospace;
}

* { 
box-sizing: 
border-box; 
margin: 0; 
padding: 0;
}


@font-face {
  font-family: 'NilliesLoveLetters';
  src: url('assets/Nillies%20LoveLetters.ttf') format('truetype');
}


body {
  
  margin: 0px;
  overflow: hidden;
  margin-left: 50px;
 font-family: Helvetica, Arial, sans-serif;
 font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
background: linear-gradient(0deg, rgba(0, 94, 254, 1) 0%, rgba(215, 230, 255, 1) 50%);
  animation: fadeIn 4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}



.borders {
  position: fixed; 
  z-index: 10; 
  pointer-events: none;
}

  .border-top {
  top: 0; 
  left: 0; 
  right: 0; 
  height: 25px;
  border-bottom: 1px solid rgba(46,79,199,0.3);
  border-top: none; 
}

.border-left {
  top: 0;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 100%;
  border-right: 2px dotted rgba(46,79,199,0.3);
  border-bottom: none;
  margin-top: 3px;
}

.bg-squares {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  margin-top: -60px;
  margin-left: 30px;
  z-index: 0;
  pointer-events: none;
}

.front-square {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: -60px;
  margin-right: -20px;
  z-index: 1;

}

.dots {
  position: fixed;
  top: 30px;
  left: 55px;
  opacity: 0.5;
  z-index: -1;
}

.title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: 'NilliesLoveLetters';
  font-size: 53px;
  font-weight: bold;
  margin-top: 30px;
  margin-right: -42px;
  align-self: left;
  word-spacing: -25px;
  background: linear-gradient(180deg, rgba(0, 94, 254, 1) 30%, rgba(215, 230, 255, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-stroke: 0.5px #A11010;
}

.image {
  display: flex;
  flex-direction: column;
  
}

.image-box {
  width: 300px;
  height: 400px;
  border: 1px solid black;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right;
}




.buttons {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
  margin-left: -11px;
}

.buttons button {
  background: none;
  border: none;
  color: var(--blue);
  -webkit-text-stroke: 0.5px black;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.8px;
  word-spacing: -2px;
  text-transform: uppercase;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  transition: color 0.5s ease, filter 0.2s ease;
}


.buttons button:hover {
  color: var(--red);
    filter: blur(2px);

}

  
.footer {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  color: blue;


}

.footer-img {
    width: 80vw;
  height: auto;
  display: block;
}


.timer {
  position: fixed;
  bottom: 20px;
  right: 25px;
  color: white;
}





@media (max-width: 600px) {
  html, body {
    overflow: hidden;
    max-width: 100%;
    margin-left: 0;
  }
  
  .border-left{
  display: none;
  }
  
  

  svg[style*="position: absolute"] {
    top: 0;
    left: 50%;
    transform: translateX(-0%);
  }
  
    .bg-squares{
    display: none;
  }

  .front-square {
    display: none;
  }
  
  .dots {
    left: -18px;
        width: 100%;
  }
    svg[style*="position: fixed"] {
    display: none;
  }

  .container {
    margin-top: -50px;
    margin-right: 20px;
  }
  
  .title {
    font-size: 40px;
  }
  .image-box {
    width: 220px;
    height: 300px;
  }

.buttons {
  margin-left: -8px;
}

.buttons button {
  font-size: 20px;
}

    
  .footer img {
    width: 120vw;
    margin-left: -16vw;
    margin-bottom: 50px;
  }
  
  
    .timer {
    right: 18px;
    font-size: 12px;
  }
  
  
  
  
  
  

}