@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

html{
  scrollbar-width: thin;
  scrollbar-color: #522566 #1a0a21;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit';
  }
  
  body {
    background-color: #1a0a21;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
  }

  header{
    width: 450px;
    height: 50px;
    border-radius: 50px;
    background-color: #1a0a21;
    text-align: center;
    justify-content: center;
    display: flex;
    padding: 10px;
    margin-top: 10px;
    overflow-y: hidden;
    position: fixed;
    z-index: 1;
}

header ul{
    justify-items: center;
    align-content: center;
    align-items: center;
    display: flex;
    gap: 18px;
    overflow-y: hidden;
}

ul li{
    text-decoration: none;
    list-style: none;
    font-size: 16px;
}

ul li a{
    text-decoration: none;
    color: #fff;
}

ul li:hover{
    font-weight: bold;
}

li a img{
  height: 27px;
  width: auto;
}

#logo{
  height: 25px;
  width: auto;
  margin-top: 12%;
}

li a img:hover{
  height: 30px;
  width: auto;
}

  /* banner e título */
  .banner {
    width: 90%;
    margin-top: 120px;
    margin-bottom: 50px;
    border-radius: 50px;
    box-shadow: 0 0 50px #7A3A8E;
  }
  #grupo {
    width: 100%;
    height: 100%;
    border-radius: 50px;
  }

  .TF{
    height: 250px;
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .texto{
    height: 100%;
    width: 40%;
    align-content: center;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .texto p{
    font-size: 23px;
  }

  .imglogo{
    height: 100%;
    width: 25%;
    align-content: center;
    text-align: center;
  }

  .imglogo img{
    height: 250px;
    width: 250px;
    border-radius: 100%;
  }

  .t {
    margin: 50px 0;
  }
  .t h1 {
    font-size: 50px;
  }
  
  /* container de imagens */
  .container {
    display: flex;
    width: 80%;
    height: 550px;
    overflow: hidden;
    gap: 10px;
    margin: 1.5%;
  }
  .card {
    flex: 1;
    background: #7A3A8E; /* Cor que aparece no hover */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 15px;
    font-weight: bold;
    transition: all 0.5s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    color: #1a0a21;
  }

  .card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease;
    z-index: 1;
  }
  .card:hover::before {
    opacity: 0;
  }
  .content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
    padding: 20px;
  }
  .card:hover .content {
    opacity: 1;
  }

  /* Aqui é onde colocamos a imagem diretamente usando classes diferentes! */
  .card1::before {
    background-image: url('imgs/DSC_7405.jpg');
  }
  .card2::before {
    background-image: url('imgs/DSC_7391.JPG');
  }
  .card3::before {
    background-image: url('imgs/DSC_7433.jpg');
  }
  .card4::before {
    background-image: url('imgs/DSC_7383.jpg');
  }

footer{
  display: flex;
  align-content: center; 
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  margin-top: 150px;
  gap: 0.5rem;
}

.missaofooter{
  width: 30%;
  height: auto;
  text-align: left;
}

.missaofooter p{
  font-size: 23px;
  width: 80%;
  margin-top: 15px;
  margin-left: 30px;
  font-weight: 500;
}

.links{
  width: 17%;
  height: auto;
  text-align: left;
  margin-top: 3rem;
}

.links h2{
  margin-bottom: 8px;
}

.links li{
  margin-top: 12px;
}


.typofooter{
  width: 100%;
  height: 250px;
  overflow-y: hidden;
  margin-top: 2rem;
}

.typofooter img{
  height: auto;
  width: 1000px;
  z-index: -1;
}

#logof{
  height: 35px;
  width: auto;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #1a0a21;
  border: 2px solid #BB75CE;
  color: #fff;
  padding: 16px 22px;
  border-radius: 30px;
  font-size: 16px;
  box-shadow: 0 0 20px rgba(187, 117, 206, 0.35);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.hidden {
  pointer-events: none;
}

/* Responsivo */
@media (max-width: 600px) {
  .toast {
    right: 50%;
    transform: translate(50%, 20px);
    bottom: 20px;
    font-size: 14px;
  }

  .toast.show {
    transform: translate(50%, 0);
  }
}


  /*Scroll animations*/
  @keyframes appear {
    from {
      opacity: 0;
      scale: 0.7;
    }
    to {
      opacity: 1;
      scale: 1;
    }
  }

    @keyframes disappear {
    from {
      opacity: 1;
      scale: 1.5;
    }
    to {
      opacity: 0.5;
      scale: 0.5;
    }
  }

  .banner{
    animation: disappear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 100%;
  }

  .TF{
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

  .t{
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 30%;
  }

  .container{
    animation: appear linear;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;
  }

@media (max-width: 1050px){
  .links{
    width: 20%;
  }

  .container {
    height: 400px;
  }

  footer{
    margin-top: 150px;
  }

  .typofooter{
    height: 210px;
  }

  .typofooter img{
    width: 800px;
  }
}

@media (max-width: 950px){
  .banner{
    width: 95%;
    margin-top: 70px;
  }

  .container{
    flex-wrap: wrap;
  }
}

@media (max-width:850px){
  .banner{
    margin-top: 60px;
    margin-bottom: 10px;
  }

  .TF{
    height: 200px
  }

  .texto p{
    font-size: 18px;
  }

  .imglogo img{
    height: 200px;
    width: 200px;
  }

  footer{
    margin-top: 120px;
  }

  .links{
    display: none;
  }

  .missaofooter{
    width: 95%;
    margin-left: 5rem;
  }

  .typofooter{
    height: 160px;
  }

  .typofooter img{
    width: 600px;
  }
}

@media (max-width: 750px){
  .t,
  .container {
    display: none;
  }
}

@media (max-width: 600px){
  .banner{
    width: 98%;
  }

  .imglogo{
    width: 30%;
  }

  header{
    margin-top: 1rem;
    width: 370px;
    height: 47.5px;
  }

  header ul{
    gap: 15px;
  }

  ul li{
    font-size: 14px;
  }

  #logo{
    height: 22px;
    width: auto;
    margin-top: 12%;
  }

  li a img{
    height: 26px;
  }

  footer{
    margin-top: 140px;
  }
  
  .missaofooter{
    width: 95%;
    margin-left: 1rem;
  }
  
  .links{
    display: none;
  }

  .typofooter{
    margin-top: 3rem;
    height: 140px;
    overflow-x: hidden;
  }

  .typofooter img{
    width: 500px;
  }
}


@media (max-width: 500px){
  .banner{
    width: 100%;
  }

  .TF{
    width: 100%;
    height: 150px;
  }
    
  .texto{
    width: 40%
  }

  .texto p{
    font-size: 14px;
  }

  .imglogo{
    width: 40%;
  }

  .imglogo img{
    height: 150px;
    width: 150px;
  }

  .missaofooter{
    overflow-x: hidden;
  }

  .typofooter img{
    width: 450px;
  }
}

@media (max-width: 450px){
  footer{
    margin-top: 70px;
  }

  .missaofooter{
    margin-left: 1.5rem;
  }

  .typofooter{
    height: 105px;
  }

  .typofooter img{
    width: 400px;
  }
}

@media (max-width: 400px){
  .missaofooter{
    margin-left: 1rem;
  }

  .missaofooter p{
    font-size: 20px;
  }

  .typofooter{
    height: 90px;
  }

  .typofooter img{
    width: 360px;
  }
}