@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrQ.ttf) format('truetype');
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: #f8f8f8;
}

body {
  font-family: 'Raleway', sans-serif;
  color: #32325d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
}

#lineUp {
  animation: 1s anim-lineUp ease-out;
}
@keyframes anim-lineUp {
  0% {
    opacity: 0;
    transform: translateY(80%);
  }
  20% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: translateY(0%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

.los-container {
  display: flex;
  -webkit-display: box;
  -moz-display: box;
  -ms-display: flexbox;
  -webkit-display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.los-cards {
  position: relative;
  display: flex;
  padding: 1rem;
  margin-bottom: 2rem;
  width: 100%;
}

@media (min-width: 40rem) {
  .los-cards {
    width: 50%;
  }
}

@media (min-width: 56rem) {
  .los-cards {
    width: 33.3%;
  }
}

.los-cards .los-card-item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}

.los-cards .los-card-item:hover {
  cursor: pointer;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
}

.los-cards .los-card-info {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1rem;
  line-height: 1.5em;
}

.los-cards .los-card-title {
  line-height: 1.1em;
  color: #32325d;
  margin-bottom: 0.2em;
}

.los-cards .los-card-image {
  height: 200px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px 6px 0px 0px;
  opacity: 0.91;
  position: relative;
}

.los-cards .los-card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.los-cards .los-card-image:hover::after {
  opacity: 1;
}

.los-cards .los-card-image:hover .los-card-overlay {
  opacity: 1;
}

.los-cards .los-card-text {
  color: #fff;
  font-size: 18px;
  text-align: center;
  z-index: 2; /* Adicionado para definir a ordem de sobreposição */
}

.los-cards .los-card-image:hover .los-card-text {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.los-card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 1;
  color: #fff;
  font-size: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-align: center;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}


/* Definição inicial do tamanho da fonte para telas maiores */
.los-card-title {
  font-size: 25px;
}

/* Media query para telas com largura máxima de 600px */
@media (min-width: 600px) {
  .los-card-title {
    font-size: 23px;
    font-weight: bold;
  }
  .close-button1, .close-button2, .close-button3, .close-button4, .close-button5, .close-button6, .close-button7, .close-button8, .close-button9 {
    position: fixed;
    top: 60px;
    right: 150px;
    cursor: pointer;
    z-index: 999999999999999999999991;
  }
}

/* Media query para telas com largura máxima de 480px */
@media (max-width: 480px) {
  .los-card-title {
    font-size: 22px;
    font-weight: bold;
  }
  .close-button1, .close-button2, .close-button3, .close-button4, .close-button5, .close-button6, .close-button7, .close-button8, .close-button9 {
    position: fixed;
    top: 60px;
    right: 10px;
    cursor: pointer;
    z-index: 999999999999999999999991;
  }
}

/* Adicione mais media queries conforme necessário para outros tamanhos de tela */
@media (max-width: 400px) {
  .los-card-title {
    font-size: 20px;
    font-weight: bold;
  }
  .close-button1, .close-button2, .close-button3, .close-button4, .close-button5, .close-button6, .close-button7, .close-button8, .close-button9 {
    position: fixed;
    top: 60px;
    right: 10px;
    cursor: pointer;
    z-index: 999999999999999999999991;
  }
}

/* Media query para telas com largura máxima de 320px (por exemplo, smartphones em modo retrato) */
@media (max-width: 320px) {
  .los-card-title {
    font-size: 16px;
    font-weight: bold;
  }
  .close-button1, .close-button2, .close-button3, .close-button4, .close-button5, .close-button6, .close-button7, .close-button8, .close-button9 {
    position: fixed;
    top: 60px;
    right: 10px;
    cursor: pointer;
    z-index: 999999999999999999999991;
  }
}

  .popup1, .popup2, .popup3, .popup4, .popup5, .popup6,.popup7, .popup8, .popup9 {
    position: relative;
    min-height: auto;
    width: auto;
    z-index: 99999999999999999999999;
  }

  .test {
    z-index: 9999999999999999999999902;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 80%;
    height: 80%;
    margin: auto;
  }

  .test2 {
    z-index: 9999999999999999999999902;
    position: fixed;
    margin-left: 10%;
    margin-top: 10%;
    width: 80%;
    height: 80%
  }

  .test3 {
    z-index: 9999999999999999999999902;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 80%;
    height: 80%
  }

  .bg1, .bg2, .bg3, .bg4, .bg5, .bg6, .bg7, .bg8, .bg9 {
    background-color: black;
    opacity: 0.65;
    position: absolute;
    z-index: 9999999999999999999999;
    top: 0px;
    left: 0px;
    width: 200%;
    min-height: 200%;
    overflow: hidden;
  }

  #showPopup1, #showPopup2, #showPopup3, #showPopup4, #showPopup5, #showPopup6, #showPopup7, #showPopup8, #showPopup9 {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 100px 300px;

    margin-top: -100px;
    margin-left: -197px;
    
    font-size: 40px;
    text-decoration: none;
    color: #333;
  }
  
  .los-cards .hover {
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.75);
    transition: opacity 0.4s;
  }
  
  .los-cards:hover .hover {
    opacity: 1;
  }