/*Propiedades GlobaleS*/
*{
    margin: 0%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*Encabezado*/
header{
    background-color: black;
    width: 100%;
    min-width: 560px;
    height: 100px;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

/*Side Menu*/
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: black;
    transition: left 0.3s ease;
    z-index: 999;
}

.sidebar a {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: white;
    transition: background-color 0.3s ease;
}

.sidebar a:hover {
    background-color: rgb(255, 204, 0);
    color: black;
}

.sidebar .logo {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar .logo a {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.sidebar .marca{
    width: 100px;
    height: 100px;
    margin-left: 26%;
    margin-bottom: 10px;
}

.sidebar .marca a{
    width: 100px;
    height: 100px;
    padding: 0;
    margin-left: 34%;
}

.sidebar .marca a:hover {
    background-color: black;
    color: black;
}

.sidebar .marca img{
    width: 100px;
    height: 100px;
}

.toggle-button {
    width: 100px;
    height: 100px;
    z-index: 1000;
    background-color: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
    font-size: 40px;
}

@media screen and (min-width: 1399px) {
    .toggle-button{
        display: none;
    }
}

.toggle-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.toggle-button span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
}

.toggle-button span:last-child {
    margin-bottom: 0;
}
/*Fin Side Menu*/

/*Menu bar*/
.logo{
    background-size: contain;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    margin-left: 10%;
}

@media screen and (max-width: 1399px) {
    .logo{
        margin-left: 0%;
    }
}

.logo img{
    width: 100%;
    height: 100%;
}

.menu{
    height: 100px;
    margin-left: 1%;
}

.botones{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.btn-menu{
    font-size: 20px;
    font-weight: bold;
    margin-top: 36px;
    margin-right: 18px;
    display: none;
}

@media screen and (min-width: 1400px) {
    .btn-menu{
        display: inline;
    }
}

.btn-menu a{
    color: white;
    text-decoration: none;
}

.btn-menu a:hover{
    color: rgb(255, 204, 0);
    transition: color .25s;
}
/*Fin Menu Bar*/

/*Barra Buscadora*/
.search-bar {
    display: flex;
    align-items: center;
    min-width: 350px;
    margin-left: auto;
    margin-right: 10%;
}

@media screen and (max-width: 1399px) {
    .search-bar{
        min-width: 50%;
    }
}

.search-input {
    flex-grow: 1;
    height: 40px;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 4px;
}

.search-button {
    background-color: rgb(255, 204, 0);
    color: #fff;
    border: none;
    padding: 10px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: rgba(255, 204, 0, 0.937);
}

.feather {
    display: inline-block;
    width: 37px;
    height: 37px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feather-search circle {
    fill: none;
    stroke: #fff;
}

.feather-search line {
    fill: none;
    stroke: #fff;
}
/*Fin Barra Buscadora*/

/*Decoración de sombreado*/
.sombreado{
    background-color: #EAECEE;
    width: 100%;
    height: 20px;
    margin-top: 90px;
    margin-bottom: 10px;
}
/*Fin Decoración de sombreado*/

/*Url Desplegable*/
.link{
    background-color: rgb(255, 204, 0);
    width: 100%;
    height: 3%;
}

.link img{
    margin-left: 10%;
    margin-left: 10%;
    width: 80%;
}

.desplegable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: whitesmoke;
    padding: 10px;
    margin-top: 10px;
    opacity: 0;
}

.desplegable.mostrar {
    max-height: 200px;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.btn-toggle {
    background-image: url(/images/flecha-hacia-abajo-para-navegar.png);
    background-color: whitesmoke;
    background-size: cover;
    background-repeat: no-repeat;
    height: 40px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: 10%;
}
/*Fin Url Desplegable*/

.body{
    background-color: whitesmoke;
    width: 100%;
    min-width: 560px;
    height: 1500px;
    padding-top: 10px;
}

div.container-principal{
    background-color: whitesmoke;
    margin-left: 160px;
    margin-right: 160px;
    margin-bottom: 400px;
    height: 700px;
}

/*PRIMERA SECCIÓN: CURSOS*/
h2.subtitulo{
    margin-top: 50px;
}

div.container-celdas{
    display: flex;
    width: auto;
    height: 1000px;
    overflow: auto;
}

div.celdas{
    display: flex;
}

/*COLUMNAs*/
div.colum{
    width: 300px;
    height: 600px;
}

/*ITEMS*/
div.item{
    background-color: pink;
    width: 290px;
    height: 290px;
    margin: 5px;
}

div.item img{
    width: 290px;
    height: 290px;
}

/*Footer*/
div.footer{
    background-color: #EAECEE;
    width: 100%;
    height: 560px;
    padding-top: 25px;
}

@media screen and (min-width: 1110px) {
    div.footer{
        height: 430px;
    }
}

/*Subtitulo Footer*/
h2.titulo-footer{
    margin-left: 10%;
    margin-right: 10%;
}

/*Contenido Footer*/
.container-footer{
    display: flex;
    align-content: space-around;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}

@media screen and (max-width: 1110px) {
    .container-footer{
        display: block;
    }
}

/*Información*/
ul.lista-contacto{
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 0%;
    list-style: none;
    font-size: large;
    overflow: auto;
}

/*Mapa*/
div.mapa{
    width: 448px;
    height: 300px;
    margin-top: 15px;
    margin-left: 0%;
    margin-bottom: 15px;
}

@media screen and (min-width: 1111px) {
    div.mapa{
        margin-left: auto;
    }
}

@media screen and (min-width: 660px) and (max-width: 1110px) {
    div.mapa{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }

    ul.lista-contacto{
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
    }

    h2.titulo-footer{
        width: 60%;
        margin-left: 18%;
        margin-right: 20%;
    }
}
/*Fin Contenido Footer*/