@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
body {
    font-family: "Montserrat", "sans-serif";
    background-color: #F7F7F7;
}
.titulo{
    text-align: center;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.6); /* Fondo negro semitransparente */
    padding: 10px 20px;
    border-radius: 8px;
    width: 100%;
    color: white; /* Asegura que el color sea claro */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); /* Sombra negra difuminada */
}
.con1 .text p {
        margin-bottom: 3px;
    }
.text{
    background-color: white;
    margin-left: 20%;
    margin-right: 20%;
    border: 2px solid gainsboro;
    padding: 10px;
    border-radius: 10px;
}
.card2{
    border: 2px solid gainsboro;
    margin-left: 30%;
    margin-right: 25%;
    position: relative;
    width: 700px;
    height: 400px;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}
.card2 .head {
    
    height: 125px;
    width: 100%;
    position: relative;
}
.card2 .head .circle {
    margin-left: 28%;
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #0b6f72;
    bottom: 0;
    margin-top: 0px;
}
.card2 .head .img{
    width: 150px;
    height: 150px;
    position: absolute;
    background: #fff;
    padding: 5px;
    border-radius: 50%;
    bottom: -30%;
    left: 50%;
    transform: translate(-50%);
}
.card2 .head .img img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.card2 .description{
    height: 200px;
    padding: 220px 20px 20px 20px;
    border-bottom: solid 1px rgb(6, 74, 76, .18);
    text-align: center;
}



/*Contenido de parescolares*/
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tabs{
  border: 1px solid #ddd;
  border-radius: 5px;
  display: flex;
  box-sizing: 10px;
  width: 200px;
}
.tabs ul {
  margin-top: 10px;
  width: 180px;
  list-style: none;
  padding: 0;
  display: block;
  gap: 10px;
  flex-wrap: wrap;
}
.tabs ul li {
  margin-left: 15px;
  width: 150px;
  margin-top: 1px;
  background: #24b494;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
}
.tabs ul li:hover {
    background: #0056b3;
}
.content1 {
    position: relative;
    width: 100%;
    margin-left: 10px;
    display: block;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.container2{
    width: 85%;
    padding-top: 2px;
    padding-left: 20%;
    display: flex;
}
.document-list {
    margin-top: 15px;
}
.document-list a {
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
    color: #333;
}
.document-list a:hover {
    text-decoration: underline;
}
.tab-content .card img {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}



.tab-content {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s ease;
        position: absolute;
        width: 100%;
    }

    .tab-content.active {
        opacity: 1;
        visibility: visible;
        position: relative;
    }




@media(max-width:750px){
    .con1 .text p {
        font-size: 10px;
        margin-bottom: 3px;
    }
    .text{
        margin-left: 10%;
        margin-right: 10%;
        border: 2px solid gainsboro;
        padding: 10px;
        
        border-radius: 10px;
    }
    
    
    /*Contenido de parescolares*/
    .container2{
        width: 98%;
        padding-top: 2px;
        padding-left: 5%;
        display: flex;
    }
    .tabs{
        width: 110px;
        height: 450px;
    }
    .tabs ul li {
        font-size: 10px;
        width: 80px;
        text-align: center;
    }
    .content1 h2 {
        font-size: 1px;
    }
    .content1 .document-list {
        font-size: 10px;
    }
    
    .tab-content .card img{
        width: 100%;
        height: auto;
    }
    .tab-content .card .card-body p {
        font-size: 9px;
    }

    .card2{
        margin-left: 8%;
        margin-right: 8%;
        position: relative;
        width: 350px;
        height: 400px;
    }
    .card2 .head .circle {
        margin-left: 7%;
    }
    .card2 .description{
        font-size: 13px;
        height: 200px;
    }
}