/*
    GENERAL
*/

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

body {
    width: 100%;
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    position: absolute;
}

header a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
}

/* Header Start */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    width: 100%; 
    background-color: #175780;
    position: fixed;
    z-index: 50;
}

.navigator ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.navigator li {
    margin-right: 20px;
    padding: 10px;
    transition: background-color 0.3s;
    border-radius: 20px;
    list-style-type: none;
}

.navigator li a {
    color: white;
    padding: 10px;
}

.navigator ul li a:hover, .navigator .active a {
    color: black;
}

.navigator ul li:hover, .navigator .active {
    background-color: #f2f2f2;
    color: black;
}

.logo {
    padding: 10px 15px 10px 50px;
    font-size: 15pt;
    font-weight: 550;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  cursor: pointer;
  color: white;
}

.dropdown-content {
  margin: 10%;
  display: none;
  position: absolute;
  background-color: #175780;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 0 0 6px 6px;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-weight: bold;
}

.dropdown-content a:hover {
  background-color: #156fa0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*Header End*/

article{
    margin-top: 5%;
}

article h2{
   margin: 4% 0% 0% 0%;
   color: #ffffff;
   text-shadow: 0 0 px #ffffff;
}

.titulo{
   margin-top: 5%;
}

.cuerpo a{
   padding: 10%;
   display: right;
}

.cuerpo1 img{
   width: 40%;
   min-height: 45px;
    
}

.cuerpo1 p{
   margin: 0 0 13% 0;
}

.tarjeta{
   margin: 10% 2% 10% 2%;
   display:flex;
   flex-direction:column;
   justify-content:space-between;
   border: 1px solid lightgray;
   box-shadow: 2px 2px 8px 2px #d3d3d3d1;
   border-radius:20px;
   margin-left: 50%;
   transform: translate(-50%);
   min-height: 370px;
}

.tarjeta p{
   margin-top: 15%;
}

.bg-gradient .row .column .tarjeta .cuerpo .texto {
   margin-top: 15%;
}

.column {
   width: 33.33%;
}

.column {
    float: left;
    width: 25%;
    text-align: center;
    align-items: center;
}


.row::after {
    content: "";
    display: table;
    clear: both;
}

.tarjeta{
    margin: 10% auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 256px;
    border: 1px solid lightgray;
    box-shadow: 2px 2px 8px 4px #d3d3d3d1;
    border-radius: 15px;
    font-family: sans-serif;
    margin-left: 50%;
    transform: translate(-50%);
    min-height: 400px;
    background-color: #FFF;
}

.tarjeta::after {
    content: "";
    display: table;
    clear: both;
}

.tarjeta img {
    width: 192px;
    height: 192px;
}

.titulo{
    font-size: 24px;
    padding: 10px 10px 0 10px;
    margin: 6%;
}

.cuerpo{
    padding: 10px;
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cuerpo p{
    margin: 10% 0 0 0;
}

.cuerpo .texto-ejemplo {
    margin-top: 25%;
}

.pie{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #6699ff;
    border-radius: 0 0 15px 15px;
}

.pie a{
    display: block;
    padding: 10px;
    width: 100%;
    height: 100%;
    text-align: center;
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.pie a:after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
}

.pantalla {
    width: 100%;
    height: 140vh;
    position: absolute;
    display: flex;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.pantalla .contenido {
    width: 50%;
    height: 50%;
    z-index: 2;
    border-radius: 15px;
    padding: 15px;
    background-color: white;
    box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.75);
}

.pantalla .contenido i {
    cursor: pointer;
    position: absolute;
    right: 0;
    margin-right: 27%;
    margin-top: 1%;
}

.pantalla .contenido h2 {
    color: black !important;
    margin-top: 1%;
}

.pantalla .contenido p {
    margin-top: 5%;
}

.pantalla.active {
    display: block;
    width: 100%;
    height: 140vh;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Footer Start*/

footer ul li {
    flex: 1 0 25%;
}

.footer_info {
    width: 100%;
    float: left;
    background-color: rgb(125, 186, 223);
    padding: 1% 0 1% 0;
}

.footer_info .row {
    width: 100%;
    height: 100%;
    float: left;
}

.footer_info .row .column {
    width: 33.33%;
    float: left;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.footer_info .row .column .imagen {
    float: left;
    width: 100%;    
    text-align: center;
}

.footer_info .row .column .imagen img {
    width: 200px;
    margin: 8% 0 0 0;
}

.footer_info .row .column h2 {
    margin-block-end: 22px;
    font-size: 20pt;
}

.footer_info .row .column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer_info .row .column ul li {
    padding-bottom: 19px;
}

.footer_info .row .column ul li a{
    text-decoration: none;
    color: black;
    font-size: 13pt;
}

.footer_info .row .column .rss li a{
    text-decoration: none;
    color: black;
    font-size: 13pt;
    padding: 3%;
}

.section-footer a:hover {
    color: #81d4fa; 
    text-decoration: underline;
}

.section-footer {
    width: 100%;
    float: left;
    height: 7vh;
    background-color: #39a1c1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.section-footer p{
    color: #e0f7fa;
}

.section-footer a{
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

/*Footer End*/

/* Large devices (desktops) */
@media screen and (max-width: 1200px) {
   .navigator nav ul {
      justify-content: space-between;
   }
 
   .navigator nav ul li {
      margin: 0;
   }
 
   .row {
      gap: 30px;
   }

   .column {
      min-width: 300px;
   }

   footer .footer_info .row {
      flex-direction: row;
   }
}

@media screen and (max-width: 940px) {
   .navigator nav ul {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
   }

   .navigator nav ul li {
      margin: 10px;
   }

   .row {
      gap: 15px;
   }

   .column {
      flex: 1;
      width: 50%;
   }

   footer .footer_info .row {
      flex-direction: column;
   }
}

   /* Medium devices (landscape tablets and below 1024px screens) */
   
   /* Small devices (portrait tablets and mobile phones) */
@media screen and (max-width: 700px) {
   header {
      flex-direction: column;
      align-items: flex-start;
   }

   .navigator nav ul {
      flex-direction: column;
      margin-top: 10px;
   }

   .navigator nav ul li {
      margin-bottom: 10px;
   }

   .row {
      flex-direction: column;
      gap: 20px;
   }
   
   .column {
      width: 100%;
      
   }
   
   footer .footer_info .row {
      flex-direction: column;
   }
   
   footer .column {
      margin-bottom: 20px;
   }
   
   footer .column:last-child {
      margin-bottom: 0;
   }
}