@charset "utf-8"; /* Copyright © 2020 Angel Ruiz */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

body {
	font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    outline: none;
}

a:link, a:visited, a:active {
    text-decoration:none;
}

.nav {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #111;
	opacity: .9;
	overflow-x: hidden;
	padding-top: 60px;
	transition: 0.7s;
}
.nav a {
	display: block;
	padding: 20px 30px;
	font-size: 25px;
	text-decoration: none;
	color: #ccc;
}
.nav a:hover {
	color: #fff;
	transition: 0.4s;
}
.nav .close {
	position: absolute;
	top: 0;
	right: 22px;
	margin-left: 50px;
	font-size: 30px
}
.slide a {
	color: #000;
    font-size: 36px;
}
#content {
	/* padding: 20px; */
	transition: margin-left 0.7s;
	overflow: hidden;
	width: 100%;
}

/* Style For Desktop */
@media only screen and (min-width: 800px) {

    * {
        margin: 0px;
        padding: 0px;
      }

    header, section, footer, aside, nav, article, figure, figcaption, hgroup {
      display: block;
    }
    
    body {
      text-align: center;
      font-size: 100%;
      background-color: #F5F5F5;
      scroll-behavior: smooth;
    }


    /*** Seccion Principal ***/
    section {
        position: relative;
        top: 3.2em;
        padding-top: 0.1%;
        padding-bottom: 0.1%;
    }
    
    
/***** Cabecera *****/

    /*** NavBar Para PC ***/
    
    #navbar {
        position: fixed;
        display: inline-flex;
        z-index: 99;
        width: 100%;
        height: 3.2em;
        top: 0;
        left: 0;
        background-color: #FFFFFF;
        box-shadow: 0px 1px 5px 1px #888888;
    }
    
    #logo {
        position: fixed;
        top: -0.1em;
        left: 2.6em;
        width: 130px;
    }
    
    #main-menu {
        right: 0;
        position: fixed;
    }

    .menu-btn {
        position: fixed;
        top: 0.8em;
        left: 0.5em;
    }

    #theme-btn {
        position: fixed;
        right: 0em;
        width: 3.8em;
        height: 3.8em;
        border: none;
        color: #888888;
        background-color: transparent;
    }

    .theme-icon {
        font-size: 1.7em;
    }


    /***** Titulos *****/

    .section-titles {
        display: block;
        position: static;
        margin-top: 2%;
        font-family: sans-serif;
        font-size: 1.0em;
        color: #000000;
    }


    /****** Tarjetas ******/

    .scrolling-wrapper {
        width: 95%;
        height: 30%;
        margin-top: 2%;
        margin-left: 2%;
        overflow-x: hidden;
        overflow-y: hidden;
        white-space: nowrap;
    }

    .card {
        display: inline-block;
        width: 30%;
        padding-bottom: 1%;
        margin-left: 2%;
        border: 1px solid #999999;
        border-radius: 10px;
        /* box-shadow: #505050 0px 5px 10px; */
        background-color: #FFFFFF;
    }

    .card img {
        width: 100%;
        height: auto;
        outline: none;
        border-radius: 10px;
    }

    @supports (object-fit: contain) {
        .box img {
            height: 100%;
            object-fit: contain;
            object-position: center;
        }
    }

    .card-titles {
        font-family: sans-serif;
        font-weight: bold;
        font-size: 1.0em;
        color: #212121;
    }

    .card-subtitles {
        font-family: sans-serif;
        font-size: 0.8em;
        color: #212121;
    }


    /* Seccion de Noticias */

    #news {
        width: 100%;
    }

    .news-card {
        display: block;
        width: 80%;
        margin-top: 2%;
        margin-left: 10%;
        margin-right: 10%;
        margin-bottom: 3%;
        padding-bottom: 5%;
        border: 1px solid #999999;
        border-radius: 10px;
        /* box-shadow: #505050 0px 5px 10px; */
        background-color: #FFFFFF;
    }

    .news-card img {
        width: 92%;
        border-radius: 10px;
    }

    .news-card h1 {
        font-size: 1.5em;
        margin-top: 1.5%;
    }

    #page-end {
        background-image: url('../images/dino.png'), linear-gradient(to top, #FFFFFF, rgba(255, 255, 255, 0));
        background-repeat: no-repeat, no-repeat;
        background-size: contain, cover;
        background-position: center, center;
        width: 100%;
        height: 50em;
        background-size: cover;
        padding: 20px;
    }


    /****** Pie de Pagina *******/

    #footer {
        background-color: #FFFFFF;
        font-size: 0.8em;
        font-family: sans-serif;
        text-align: center;
        width: 100%;
        bottom: 0;
        padding-top: 0.9%;
        padding-bottom: 0.9%;
        position: absolute;
        z-index: 99;
    }
}


@media only screen and (max-width: 799px) {

    body {
        background-color: #F5F5F5;
    }

    #content {
        display: none;
    }
}