body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    justify-content: space-between;
}

p {
    font-family: Arial, Helvetica, sans-serif;
}

.logo {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.containermain {
    display: flex;
    align-items: center;
    justify-content: center;
}

.firstrow {
    background-color: rgb(31,79,128);
    display: grid;
    grid-template-columns: auto 1fr auto;
    height: 30px;
    max-width: 732px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
}

button:hover {
    cursor: pointer;
    color: lightgrey;
}

button:active {
    color: gray;
}

.bquienesdiv {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-left: 10px;
    margin-right: 10px;
}

.bserviciosdiv {
    display: flex;
    align-items: center;
    justify-content: left;
}

.bcontactodiv {
    align-items: center;
    display: flex;
    justify-content: right;
    margin-right: 10px;
}

.bquienes {
    background-color: rgb(31,79,128);
    border-style: none;
    color: white;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

.bquienes:hover {
    background-color: rgb(31,79,128);
    border-style: none;
    color: lightgray;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

.bservicios {
    background-color: rgb(31,79,128);
    border-style: none;
    color: white;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

.bservicios:hover {
    background-color: rgb(31,79,128);
    border-style: none;
    color: lightgray;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

.bcontacto {
    background-color: rgb(31,79,128);
    border-style: none;
    color: white;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

.bcontacto:hover {
    background-color: rgb(31,79,128);
    border-style: none;
    color: lightgray;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

.imageslide {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    height: auto;
    max-width: 732px;
    overflow: hidden;
}

.containercontent {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

.staff {
    display: grid;
    grid-template-columns: auto auto;
    max-width: 732px;
    width: 100%;
}

.profile {
    display: grid;
    grid-template-rows: auto auto;
}

.picdiv {
    height: 100%;
}

.profilepic {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.profiletext {
    display: grid;
    grid-template-rows: auto auto;
    padding-left: 10px;
    padding-right: 10px;
    min-height: 200px;
}

.titlediv {
    max-height: 39px;
    text-align: center;
}

.profiletitle {
    font-weight: bold;
    color: rgb(31,79,128);
    text-align: center;
}

.descdiv {
    width: auto;
}

.profiledesc {
    font-size: 11px;
}

.serviciosrow {
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-items: center;
    margin-top: 5px;
}

.serviciosdiv{
    display: grid;
    grid-template-columns: 163px auto;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    align-items: center;

}

.contactodiv1 {
    max-width: 732px;
    width: 100%;
    display: grid;
    grid-template-rows: auto auto auto auto;
    align-items: center;
}

.telefonodiv {
    width: 100%;
    text-align: center;
}

.telefonop {
    font-size: 13px;
    font-weight: bold;
}

.direcciondiv {
    width: 100%;
    text-align: center;
    margin-top: 20px;
}

.direccionp {
    font-size: 13px;
    font-weight: bold;
}

.contacto {
margin-left: 10px;
margin-right: 10px;
}

.map {
    max-width: 732px;
    max-height: 600px;
    width: auto;
    height: 100vh;
    align-items: center;
    display: flex;
    justify-content: center;
}

.containerfooter {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.footer {
    background-color: rgb(31,79,128);
    height: auto;
    max-height: 40px;
    max-width: 732px;
    width: 100%;

}

.footertext {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
}

ul {
    padding-left: 20px;
}

li {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.footerlink {
    background-color: rgb(31,79,128);
    border-style: none;
    color: white;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}
.footerlink:hover {
    background-color: rgb(31,79,128);
    border-style: none;
    color: lightgray;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    text-decoration: none;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    aspect-ratio: 732 / 279;;
}

.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: slide 9s infinite;
}

.carousel img:nth-child(1) {
    animation-delay: 0s;
}

.carousel img:nth-child(2) {
    animation-delay: 3s;
}

.carousel img:nth-child(3) {
    animation-delay: 6s;
}

@keyframes slide {
    0% {
      opacity: 0;
    }
    11% {
      opacity: 1;
    }
    33% {
      opacity: 1;
    }
    44% {
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
}