@import url('css/header.css');
@import url('css/noticias.css');
@import url('css/ranking.css');
@import url('css/tournaments.css');
@import url('css/footer.css');



@font-face {
    font-family: 'Create';
    /* Nombre que le asignamos a la fuente */
    src: url('Fuentes/CreatoDisplay-Bold.otf')
}

@font-face {
    font-family: 'Create-Regular';
    /* Nombre que le asignamos a la fuente */
    src: url('Fuentes/CreatoDisplay-Regular.otf')
}

/* #Body */
body {
    min-height: 100vh;
    background-image: url(Fotos/background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}


/* #IMG FS */

.FULLSCR {
    margin-bottom: -100px;
    width: 100%;
    height: 550px;
    display: block;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}


.about-atv, .contact-info, .image-gallery {
    margin-top: 20px;
}

.body-text {
    font-family: 'Create-Regular', sans-serif;
    text-align: justify;
    margin-bottom: 20px;
}

.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-gallery img {
    max-width: 100%;
    height: auto;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.contact-info h2, .contact-info h3 {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info h3 {
    font-size: 1.5rem;
}


/* #Container */
.container {
    flex: 1;
    min-height: 1000px;
    background-color: #ffffff;
    padding-top: 150px;
    width: 100%;
    margin: auto;
    padding-bottom: 50px
}

/* #Titulos */
.Titulos {
    font-family: 'Create';
    font-size: 90px;
    text-align: center;
    margin-bottom: 100px;
    padding-bottom: 20px;
}

/* #Tarjeta */
.tarjeta {
    margin: 0px 15px 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-family: Arial, sans-serif;
}

.Ver {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #4b4b4b;
    text-decoration: none;
    border: 1px solid #4e2fff;
    border-radius: 5px;
}

.Ver:hover {
    color: #4b4b4b;
}

/* #Galeria */


.image-stack {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 10px;
    max-width: 800px;
    margin: 50px auto;
    padding-bottom: 50px;
}

.image-stack img {
    max-width: 100%;
    cursor: pointer;
    /* Cambia el cursor a una mano cuando se pasa sobre la imagen */
}

/* Estilos del modal */
.modal {
    padding-top: 100px;
    display: none;
    /* Oculta el modal por defecto */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}


/* #Carrusel */
.Carrusel {
    margin-top: 90px;
}

.carousel-item p {
    font-size: 20px;
    font-weight: 500;
}

.carousel-item h3 {
    font-weight: 700;
    font-size: 35px;
}

.carousel-item img {
    width: 900px;
    height: 400px;
    object-fit: cover;
}


@media only screen and (max-width: 600px) {

    body {
        background-image: none;
        width: 100%;
    }

    .navbar-brand {
        padding-left: 34%;
        padding-right: 20px;
    }

    .atv-cuerpo {
        padding-left: 20px;
        padding-right: 20px;
    }

    .Noticias {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .NoticiasPequenas {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .Noticia {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-bottom: 20px;
        border: 0;
    }

    .Noticia img {
        width: 100%;
        max-width: 300px;
        height: auto;
        margin-bottom: 10px;
    }

    .Noticia .titulo-noticia {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }
}