
.sign-up-window {
  position: relative;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 40px;
  border-radius: 20px;
  background-color: rgba(79, 70, 229, 0.3); 
  backdrop-filter: blur(20px); 
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

  color: white;
  text-align: center;
}


.sign-up-window h2 {
  margin-bottom: 25px;
  font-size: 2em;
  color: white; 
}





.sign-up-window input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  

  background: rgba(255, 255, 255, 0.8); 
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  box-sizing: border-box;
  

  color: #333;
  font-size: 1em;
}


.js-btn-sign-up{
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 15px;

  background-color: #3b82f6; 
  border: none;
  border-radius: 10px;
  

  color: white;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.js-btn-sign-up:hover {
  background-color: #2563eb; 
}

.sign-up-window a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7); 
  text-decoration: none;
  font-size: 0.9em;
}

.sign-up-window{
    display: none;
}
.sign-up-window-visible{
    display: block;
}

.close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 10;
  

  padding: 0;     
  line-height: 1;  
  width: auto;     
  height: auto;    
}





.log-in-window {
  position: relative;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  padding: 40px;
  border-radius: 20px;
  background-color: rgba(79, 70, 229, 0.3); 
  backdrop-filter: blur(20px); 
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

  color: white;
  text-align: center;
}


.log-in-window h2 {
  margin-bottom: 25px;
  font-size: 2em;
  color: white; 
}





.log-in-window input {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  

  background: rgba(255, 255, 255, 0.8); 
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  box-sizing: border-box;
  

  color: #333;
  font-size: 1em;
}


.js-btn-signup{
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  margin-bottom: 15px;

  background-color: #3b82f6; 
  border: none;
  border-radius: 10px;
  

  color: white;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.js-btn-signup:hover {
  background-color: #2563eb; 
}

.log-in-window a {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.7); 
  text-decoration: none;
  font-size: 0.9em;
}

.log-in-window{
    display: none;
}
.log-in-window-visible{
    display: block;
}

.close-btn-login {
  position: absolute;
  top: 10px;
  left: 10px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 10;
  

  padding: 0;     
  line-height: 1;  
  width: auto;     
  height: auto;    
}


@media (max-width: 480px) {
  .sign-up-window,
  .log-in-window {
    width: 75vw;
    max-width: 350px;
    padding: 25px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .sign-up-window h2,
  .log-in-window h2 {
    font-size: 1.5em;
  }

  .close-btn,
  .close-btn-login {
    top: 8px;
    left: 8px;
  }
}

@media (max-width: 900px) {
  .k {
    flex-direction: column;
    gap: 40px;
  }

  .block5 {
    margin-left: 0;
    text-align: center;
    align-items: center;
  }

  .testimonial-card, .testimonial-card2 {
    width: 90vw;
    max-width: 450px;
    height: auto;
    margin-left: 0;
  }

  .test-arrows {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
  }
}


@media (max-width: 900px) {


  .avatar {
    position: absolute;
    top: -20px;
    left: -10px;
    right: auto;
    bottom: auto;
    margin: 0;
  }
  .te, .te2 {
    margin-top: 0;
    transform: none;
  }

  .q, .q2 {
    transform: none;
  }
}