body,
html {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/*----------------------------------------- HEADER -------------------------------------------*/

header {
    background: linear-gradient(45deg, rgb(10, 18, 64) 50%, rgb(123, 21, 28) 50%);
    color: white;
    text-align: center;
    padding: 15px;
}

.container {
    flex: 1;
    padding: 20px;
}


/*----------------------------------------- FONDO DE IMAGEN -------------------------------------------*/

.background-custom {
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /*background-image: linear-gradient( rgba(40, 124, 235, 0.5), rgba(237, 8, 8, 0.5) ),url("../images/1.jpeg");*/
    background-image: linear-gradient(rgba(10, 18, 64, 0.5), rgba(123, 21, 28, 0.5)), url("../images/1.jpeg");
    color: white;
    flex-grow: 1;
}

.section-content {
    text-align: center;
}

.conf-nav {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*----------------------------------------- ESTILOS DE IMG -------------------------------------------*/
iframe {
    height: 315px;
    width: 560px;
    /* max-width: 80%; */
    object-fit: cover;
}

.cover-img {
    height: 275px;
    width: auto;
    max-width: 70%;
    object-fit: cover;
    margin-left: 5px;
}

.gallery {
    display: inline;
    height: 200px;
    width: 200px;
    max-width: 80%;
    object-fit: cover;
    margin: 5px;
}

.donor {
    height: 70px;
    width: auto;
    max-width: 70%;
    object-fit: cover;
    margin-left: 5px;
}

.donorC {
    height: 95px;
    width: auto;
    max-width: 70%;
    object-fit: cover;
    margin: 5px;
}

.donor:hover {
    -webkit-transform: scale(2);
    transform: scale(2);
}

.donorC:hover {
    -webkit-transform: scale(2);
    transform: scale(2);
}



/*----------------------------------------- ESTILOS GENERALES DE BOTONES -------------------------------------------*/
.btn {
    border-radius: 2rem;
    padding: .6rem 2rem;
    font-weight: bold;
    color: white;
}

.h-btn {
    background-color: transparent;
    border-radius: 2rem;
    padding: .6rem 2rem;
    text-align: center;
    color: #ffffff;
    border: 4px solid;
    border-image-source: linear-gradient(45deg, rgb(10, 18, 64) 50%, rgb(123, 21, 28) 50%);
    border-image-slice: 1;
    transition: border 0.3s ease-in-out;
}

.h-btn:hover {
    border-image-source: linear-gradient(45deg, rgb(123, 21, 28) 50%, rgb(10, 18, 64) 50%);
    border-image-slice: 1;
    transition: border 0.3s ease-in-out;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: white !important;
}

/*Estilos btn-primary*/

.btn-primary {
    color: rgb(255, 255, 255);
    background-color: #0a1240;
    border-color: #0a1240;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.btn-primary:hover {
    color: #ffffff;
    background-color: rgb(255, 255, 255);
    border-color: #ffffff;
}

.btn-primary:hover:after {
    left: .25rem;
}

/*Insertamos la caja blanca del boton principal*/
.btn-primary:before {
    content: "";
    z-index: -1;
    width: 0;
    height: 100%;
    background: #7b151c;
    position: absolute;
    left: 50%;
    top: 0;
    -webkit-transform: skew(45deg, 0);
    transform: skew(45deg, 0);
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
}

.btn-primary:hover:before {
    width: 130%;
    left: -15%;
}

/*------------------------------- CARRUSEL ----------------------------*/

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: #0a1240;
    z-index: 0;
    border-radius: 50%;
}

/* Ajustar el ícono dentro del botón */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    /*  filter: invert(1);  Cambia el color del ícono a blanco */
    width: 30px;
    /* Ajusta el tamaño del ícono */
    height: 30px;
}

/* Cambio de color al pasar el cursor */
.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #7b151c;
    /* Color más claro */
    border-color: #ffffff;
}

.carousel-control-prev {
    left: -20px;
}

.carousel-control-next {
    right: -20px;
}

.carousel-indicators {
    top: 0;
}

/*------------------------------------------ LOGIN -----------------------------------------*/

.form {
    position: relative;
    margin: 6% auto;
    background: transparent;
    color: white;
    padding: 5px;
    border-radius: 10px;
}

.in-group {
    top: auto;
    transition: 0.8s;
}

.in-field {
    width: 250px;
    text-align: center;
    padding: 10px 0;
    margin: 5px 0;
    border-left: 0;
    border-radius: 2rem;
    border-top: 0;
    border-right: 0;
    border-bottom: 2px solid rgba(9, 9, 234, 0.523);
    outline: none;
    background: rgba(255, 255, 255, 0.5);
}

.eyepass {
    padding: .7rem 1rem;
    font-weight: bold;
    color: white;
    position: absolute;
    cursor: pointer;
    background-color: transparent;
    border-color: transparent;
}


.type-a {
    background: rgba(255, 255, 255, 0.400) !important;
}

/*------------------------------------------ ----- -----------------------------------------*/

/*----------------------------------------- REDES SOCIALES -------------------------------------------*/

html body.swal2-height-auto{
    height: 100% !important;
}

.icon-large {
    font-size: 10rem;
}

.social-netw {
    display: inline-block;
    transition: transform 0.5s ease-in-out;
}

.social-netw:hover {
    opacity: 1;
    -webkit-transform: scale(3) rotate(360deg);
    transform: scale(3) rotate(360deg);
}

/*----------------------------------------- RESPONSIVE -------------------------------------------*/

@media screen and (max-width: 1600px) {
    .nav-link{
        font-size: 15px;
    }
}

@media screen and (max-width: 1500px) {
    iframe {
        height: 315px;
        width: 500px;
    }
    .nav-link{
        font-size: 14px;
    }
}

@media screen and (max-width: 1400px) {
    .nav-link{
        font-size: 13px;
    }
}

@media screen and (max-width: 1242px) {

    .icon-large {
        font-size: 8rem;
    }

    .nav-link {
        font-size: 12px;
    }

    .cover-img {
        height: 240px;
        width: auto;
        max-width: 70%;
        object-fit: cover;
        margin-left: 5px;
    }

    .gallery {
        display: inline;
        height: 180px;
        width: 180px;
        max-width: 80%;
        object-fit: cover;
        margin: 5px;
    }
}

@media screen and (max-width: 1280px) {

    .icon-large {
        font-size: 6rem;
    }

    .nav-link {
        font-size: 11px;
    }

    .cover-img {
        height: 210px;
        width: auto;
        max-width: 70%;
        object-fit: cover;
        margin-left: 5px;
    }

    .gallery {
        display: inline;
        height: 160px;
        width: 160px;
        max-width: 80%;
    }
}

@media screen and (max-width: 1098px) {

    .icon-large {
        font-size: 4rem;
    }

    .nav-link {
        font-size: 9px;
    }

    .cover-img {
        height: 180px;
        width: auto;
        max-width: 70%;
        object-fit: cover;
        margin-left: 5px;
    }

    .gallery {
        display: inline;
        height: 140px;
        width: 140px;
        max-width: 80%;
    }

    iframe {
        width: 375px;
        height: 375px;
    }
}

@media screen and (max-width: 960px) {

    .icon-large {
        font-size: 2rem;
    }

    .t-nav {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 5px;
    }

    .in-group {
        font-size: 5px;
    }

    .conf-nav {
        text-align: center;
        display: flex;
        justify-content: left;
        align-items: center;
    }

    .nav-item {
        font-size: 3px;
    }

    .cover-img {
        height: 150px;
        width: auto;
        max-width: 70%;
        object-fit: cover;
        margin-left: 5px;
    }

    .gallery {
        display: inline;
        height: 100px;
        width: 100px;
        max-width: 80%;
    }

}

@media screen and (max-width: 400px) {
    iframe {
        height: 300px;
        width: 250px;
    }
}

/*----------------------------------------- FOOTER -------------------------------------------*/

footer {
    background: linear-gradient(45deg, rgb(10, 18, 64) 50%, rgb(123, 21, 28) 50%);
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
    position: relative;
    bottom: 0;
}