
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;600;700;800&family=Open+Sans:wght@300;400;500;600;700;800&display=swap');

body {
  color:#2C2C2C; 
  max-width:1400px;
  justify-self: center;
  align-self: center;
  font-family: 'Open Sans'; 
}

.black {
  color:#2C2C2C;
}

.green {
  color:#1AC0B2;
}

h1 {
  justify-self:center; 
  text-align: center;
  font-size: calc(1rem + .4vw);
  font-weight: 600; 
  color:#1AC0B2;
  margin-bottom: 1.5rem;
  font-family: 'Montserrat';
}

.logo {
  width: 12vw;
  height: auto;
  padding:1rem 0;
  display: block; 
  height: auto;   
  margin: 0 auto;
  margin-bottom: 2.5rem;
}

#cards-block {
  display: flex;
  justify-self:center ;  
  border-radius: 16px;
  justify-content: center;
  align-content: center;
}

.card-container {
  width:20%;
  padding: 2px;
  margin: 1.5rem; 
  border-radius: 16px;
  background-color: white;

}

.card { 
  border-radius:16px;
  position:relative;
  overflow: hidden;
  cursor: pointer;
}

.img-rol { 
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
 
}

.title-deg {   
  height:30%; 
  position:absolute;
  bottom: 0;
  width:100%;
  background-color: white;
  opacity:0.9;
  border-bottom-right-radius: 16px;
  border-bottom-left-radius: 16px ;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title {
  position:absolute;
  height:15%; 
  bottom: 0;
  z-index:2;
  width:100%;
  display: flex;  
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.cta {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);  
  background-color: #1AC0B2;
  color: white;
  border: none;
  padding: 10px 20px; 
  border-radius: 25px;
  display: none;
}

.card:hover .cta {
  display: block;
}

.card:hover .title {
  color:#1AC0B2;
  }

.card:hover .title-deg {
  background-color:white ;
  opacity:1;
  }

.card:hover .img-rol {
  filter: brightness(0.7) ;
}

.card-container:hover, .card:hover {
  background-color: #1AC0B2;
}

.fix-bottom {
 margin-top: 4rem;
 font-size: 0.7rem;
 text-align: center;
}
p a span{
  font-size: 1rem;  
}

.extra { 
text-align: center;
font-size: 0.8rem;
}

@media all and (max-width: 768px) {
#cards-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center; 
}

.card-container {
  width:80%;
  margin: 1.5rem; 
  border-radius: 16px;
} 

.logo {
  width: 20vw;  
}
}

.no-style-href{
  text-decoration: none;
  color: white;
}


