:root {
  --primary: #1ca3ec;
  --primary-less: #74ccf4;
  --primary-more: #2389da;
  --secondary: #c7f3ff;
}

/* Reseting CSS */

html,
body {
  height: 100vh;
  background-color: #fff;
}

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

a {
  text-decoration: none;
}

li {
  list-style: none;
}

section{
  margin-top: 91px;
  display: flex;
  flex-direction: column;
  align-items: top;
  justify-content: space-around;
  font-family: 'Comfortaa', cursive;
  padding: 20px;
  background-size: cover;
  transition: all ease-in-out 0.3s;
  background-color: #FFF;
}

.section_tittle{
  text-align: center;
  padding: 10px 0;
}

.cards_container{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 10px;
}

.card{
  position: relative;
  display: flex;
  flex-direction: column;
  width: 23%;
  min-width: 300px;
  color: white;
  cursor: pointer;
}

.card img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: all linear 0.3s;
}


.card button{
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  padding: 10px;
  cursor: pointer;
  border: none;
  background-color:var(--primary);
  color: white;
  font-size: 1em;
  transition: all ease-in-out 0.3s;
  font-family: 'Comfortaa', cursive;
  font-weight: 600;
}

.card button:hover{
  background-color: var(--primary-more);
}


.card_info{
  position: absolute;
  width: 100%;
  height: fit-content;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 73%) 40%, rgba(89,89,89,0) 100%);
  padding: 10px;
}


a:link{
  color: white;
}
a:visited{
  color: white;
}
a:hover{
  color: #1ca3ec;
}

/* Loading section */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: white;
}

.spinner {
  border: 8px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.infoModal{
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 20px;
  left: 50%;
  top: 50%;
  transform: translateX(-200vw);
  width: 100vw;
  background-color: white;
  padding: 10px;
  z-index: 10;
  transition: all ease-in-out 0.3s;
  filter: brightness(100%);
  font-family: 'Comfortaa', cursive;
  height: fit-content;
}

.closeModal{
  height: 24px;
  width: 24px;
  position: absolute;
  right: 4px;
  top: 4px;
  cursor: pointer;
}

.open{
  transform: translate(-50%, -50%) !important;
}

@media (min-width: 560px){
  .infoModal{
    width: 520px;
    height: fit-content;
  }
}


.footer {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 10px;
  text-align: center;
  background-color: var(--primary-more);
  color: white;
  margin-bottom: 0;
  font-size: 1rem;
  font-family: 'Comfortaa', cursive;
}

.icons{
  display: flex;
  height: 45px;
  justify-content: space-around;
  align-items: center;
}

.icons a{
  width: 40px;
  height: 40px;
  transition: all ease-in-out 0.2s;
}

.icons a:hover{
  width: 45px;
  height: 45px;
}

.icons img{
  width: 100%;
  height: 100%;
}