nav {
    width: 95vw;
    height: 100%;
    display: flex;
    padding: 8px;
    align-items: center;
}

.logo {
    height: 96px;
    margin-left: 16px;
}

.navbar ul li {
    display: flex;
    font-size: 2rem;
    align-items: center;
}

.navbar ul li a{
    display: block;
    font-size: 2.4rem;
}

.log-in {
    height: 60px;
    margin-right: 16px;
}

.log-in:hover {
    color: black;
    border: 2px solid black;
    border-radius: 20px;
}

.dm-main img {
    width: 45vw;
}

.main-presentation {
    font-size: 8rem;
}

.p1 {
    font-size: 16rem;
}

.department-all {
    display: flex;
}

.departments {
    align-items: start;
    width: 50%;
}

.department-p {
    height: 10%;
    display: flex;
    font-size: 5rem;
    justify-content: start;
    align-items: center;
}

.department-p p {
    margin-left: 16px;
}

.department-btn {
    min-width: 375px;
    width: 50%;
    margin-left: 64px;
    font-size: 4rem;
    -webkit-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    -moz-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    transition: scale 1s;
    overflow: hidden;
    text-overflow: ellipsis;
}

.department-btn:hover {
    scale: 1.05;
}

.department-btn figure img {
    height: 48px;
    width: 48px;
}

.department-photos {
    display: block;
}

.department-photo-1 {
    position: absolute;
    top: 20%;
    right: 45%;
    z-index: 1;
    width: 260px;
    border-radius: 8px;
    -webkit-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    -moz-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    rotate: -2deg;
}

.department-photo-2,
.department-photo-3 {
    position: absolute;
    top: 20%;
    right: 16%;
    width: 600px;
    border-radius: 8px;
    -webkit-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    -moz-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    transition: 0.75s;
    rotate: 0deg;
}

.department-photo-4,
.department-photo-5 {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 260px;
    border-radius: 8px;
    -webkit-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    -moz-box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    box-shadow: -8px 8px 20px 7px rgba(0,0,0,0.35);
    transition: 0.75s;
    rotate: 2deg;
}

.department-photo-2 {
    z-index: 0;
}

.department-photo-3 {
    z-index: 2;
    opacity: 0;
}

.department-photo-3:hover {
    opacity: 1;
}

.department-photo-4 {
    z-index: 0;
}

.department-photo-5 {
    z-index: 2;
    opacity: 0;
}

.department-photo-5:hover {
    opacity: 1;
}

.team {
    flex-direction: row;
}

.our-team {
    font-size: 4.5rem;
}

.team-description {
    font-size: 2.5rem;
}

.gallery {
    width: 60%;
}

/* .swiper-slide img {
    max-height: 900px;
    width: 90%;
} */

.swiper-slide img {
    max-height: 820px; 
    /* width: 100%; */
    /* width: 500px; */
    object-fit: cover;
}

.full-team {
    width: 100% !important;
    max-height: 900px; /* era “sin límite”; esto la reduce apenitas */
}

.swiper-slide div {
    width: auto;
  flex: 1;   
    /* padding-left: 0px;
    left: 0%;
    width: 100%; */
}

.swiper-slide div p {
    width: 90%;
}

.swiper-slide div p:nth-child(1){
    font-size: 3.5rem;
}

.swiper-slide div p:nth-child(2){
    font-size: 2.5rem;
}

.sum figure img {
    height: 160px;
    margin: auto 32px auto 32px;
}

.customers {
    font-size: 4rem;
    padding: 64px 0px 64px 0;
}

.customers p {
    margin: 4px 0 4px 0;
}

.contact {
    overflow: hidden;
}

.h2 {
    height: 100%;
    text-align: center;
    margin-top: 0px;
    font-size: 12rem;
    transition: transform 1s;
}

.contact div {
    justify-content: space-evenly;
}

.contact div a {
    height: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 40px 0 40px;
    transition: scale 0.5s;
    transition: transform 1s, scale 0.5s;
}

.contact a figure {
    height: 90px;
    transition: -moz-box-shadow 0.5s, -webkit-box-shadow 0.5s, box-shadow 0.5s, -moz-border-radius 0.5s, -webkit-border-radius 0.5s, border-radius 0.5s;
}

.contact:hover .h2 {
    transform: translateY(-100%);
}

.contact:hover a {
    transform: translateY(-90%);
}

.contact figure:hover {
    -moz-box-shadow: 10px 10px 5px #23222779;
    -webkit-box-shadow: 10px 10px 5px #23222779;
    box-shadow: 10px 10px 5px #23222779;
    -moz-border-radius:25px;
    -webkit-border-radius:25px;
    border-radius:25px;
}

.box {
    font-size: 3rem;
}

.title-input {
    height: 40px;
    font-size: 2rem;
}

.body-input {
    height: 240px;
    font-size: 2rem;
}

.form-element {
    width: 300px;
    height: 300px;
}

.send-mail {
    width: 60vw;
    right: 20%;
    top: 305%;
}

.email-input {
    height: 375px;
}

.sustentable {
    flex-direction: row;
}

.sustentable-text {
    margin: 32px;
}

.sustentable-text-title h1 {
    font-size: 4rem;
    margin-right: 16px;
}

.sustentable-text-title img {
    height: 60px;
}

.sustentable-text-body {
    font-size: 3rem;
}

.solar-panel-img figure {
    margin: 32px 32px 32px 0;
}

.solar-panel-img figure img {
    height: auto;
    max-width: 700px;
}

.footer p {
    font-size: 1.5rem;
}