/*ESTILOS GENERALES*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --color-principal: #022030 !important;
}

html {
  height: 100%;
  font-size: 16px;
}

body {
  font-family: "Roboto", sans-serif;
  color: #303030;
  height: 100%;
  font-weight: 400;
  font-size: 1rem;
}

* {
  box-sizing: border-box;
}

.header {
  background-color: rgb(240, 240, 240);
  height: 20vh;
  background-image: url("images/background2.jpg");
  background-size: cover;
  background-position: center;
}

.header-top {
  background-color: transparent;
}

.header-option {
  background-color: #000000;
  text-align: right;
  padding: 5px;
}

.menu {
  display: flex;
  justify-content: space-between;
  /* Espacio entre logo y menú */
  align-items: center;
  /* Centra verticalmente */
  padding: 20px 0px 20px 0px;
}

.mainmenu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo {
  cursor: pointer;
}

.logo img {
  height: 120px;
  border: none;
}

.logo a:focus {
  border: none;
  outline: none !important;
}

/*MAIN*/

.main {
  margin-bottom: 0;
  font-size: 0.9em;
  color: #464545;
  margin-top: 40px;
}

.main {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  justify-content: left;
  gap: 30px;
}

.contenido {
  flex: 1 1 80%;
}

.main .btn-enviar {
  background-color: rgb(255, 255, 255);
  color: #2b2b2b;
  border-color: #000000;
  padding: 10px 20px 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
}

.main .btn-enviar-peq {
  background-color: #e5feb2;
  color: #2b2b2b;
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
}

.main .btn-enviar:hover {
  background-color: #f08181;
  transition: all .3s ease;
  text-decoration: none;

}

.main .btn-enviar-peq:hover {
  background-color: #c2ff47;
  transition: all .3s ease;
  text-decoration: none;

}

.main .login {
  background-color: #e5feb2;
  padding: 10px 20px 10px 20px;
}

.main .login .btn-enviar {
  background-color: #555555;
  color: #FFFFFF;
}

.main hr {
  border: 2px solid rgba(89, 101, 147, 1);
}

.main .adm-pagado {
  background-color: #c2ff47;
  font-weight: 800;
}


.submenu {
  background-color: #ffffff;
  width: 20%;
}


.submenu .nav-link {
  color: #464545;
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 0;
  border-bottom: 1px solid #000000;
}

.submenu .nav-link:hover {
  border-bottom: 1px solid #000000;
  text-decoration: none;
}


.actividades {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 20px;
  width: 100%;
  font-size: 1rem;
  margin-bottom: 40px;
}

.actividad {
  width: 32%;
}

.actividad-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.actividad-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .3s ease;
}


.actividad-img img:hover {
  transform: scale(1.2);
}

.actividad-content {
  text-decoration: none;
  font-size: 0.9em;
  color: #022030;
}

.actividad-fecha {
  border-bottom: 1px solid #000000;
  font-weight: 200;
}

.actividad-categoria {
  background-color: #000000;
  color: #FFFFFF;
  display: inline-block;
  margin-top: 20px;
  padding: 2px 6px 2px 6px;
}


a:hover.actividad-content {
  text-decoration: none;
}


/* FOOTER */

.footer {
  background-color: #a7bcc7;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  height: 200px;
  margin-top: 40px;
}

@media (width <=768px) {
  .actividad {
    flex: 1 1 100%;
  }

  .contenido {
    flex: 1 1 100%;
  }

}

.contenido {
  min-height: 50vh;
}

/* FORMS */
.form-check-input:checked {
  background-color: #23a0b8;
  border-color: #23a0b8;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(24, 112, 129, 0.25);
  border-color: #3fa3b8;
}