@charset "utf-8";
:root {
    --gray: #636164;
    --aqua: #00b1ae;
    --aqua: #017977;
    --aquaL: hsl(180,100%,99%);
    --aquaL: #faffff;
    --green: #006c6d;
    --green: #173642;
    --orange: #ec6323;
    --purple: #252129;
    --overlay-color: rgba(0,0,0,0.7);
}


* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body { 
    font-family: 'Quicksand', sans-serif;
	line-height: 1.6;
	color: var(--primary-color);
	font-size: 1.1rem;
    margin: 0;
	padding: 0;
}

h1, h2, h3, h4 { line-height: 1.3; }

a {
	color: var(--secondary-color);
    text-decoration: none;
}

ul { list-style: none; }

img { width: 100%; }

.row {
    display: grid;
}

#stickyBar{
    position: fixed;
    right: 2rem;
    bottom:2rem;
    width: 65px;
    border:1px solid width;
    display: none;
    z-index: 1000000;
    transition: display ease-in-out 0.5s;
}

#stickyBar img:hover{
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}

@keyframes shake {
    0% { transform: rotate(0); }
    15% { transform: rotate(5deg); }
    30% { transform: rotate(-5deg); }
    45% { transform: rotate(4deg); }
    60% { transform: rotate(-4deg); }
    75% { transform: rotate(2deg); }
    85% { transform: rotate(-2deg); }
    92% { transform: rotate(1deg); }
    100% { transform: rotate(0); }
  }

@keyframes shake2 {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

    /* @keyframes jump {
        0% { transform: translate(-50%, -50%) scale(1.25, 0.75); }
        50% { transform: translate(-50%, -150%) scale(1, 1); }
        55% { transform: translate(-50%, -150%) rotate(15deg); }
        60% { transform: translate(-50%, -150%) rotate(-15deg); }
        65% { transform: translate(-50%, -150%) rotate(15deg); }
        70% { transform: translate(-50%, -150%) rotate(-15deg); }
        100% { transform: translate(-50%, -50%) scale(1.25, 0.75); }
    } */

#navbar{
    position: fixed;
    margin-top: 1rem;
    width: 100%;
    height: 60px;
    z-index: 1000;
    transition: all ease-in-out 0.5s;
}

#navbar.alt{
    margin-top: 0rem;
    background-color: rgba(0,0,0,0.3);
}

#navbar .row{
    width: 98%;
    max-width: 1100px;
    grid-template-columns: 150px 1fr;
    margin: 0 auto;
}

#navbar .row ul{
    display: flex;
    color:white;
}

#navbar .row ul li{
    margin-left: 1rem;
}

#navbar .row ul li a{
    color:white;
}

#navbar .row #socialmedia{
    /* justify-content: center; */
    align-items: center;
}

#navbar .row #socialmedia a, #navbar .row #socialmedia img {
    width: 100%;
}

#navbar .row #socialmedia img{
    width: 22px;
    filter:invert(1);
}

#navbar .row #menu{
    justify-content: flex-end;
}

#navbar #mmenu {
    display:none;
}

#navbar #mmenu ul {
    position: fixed;
    top: 42px;
    display: flex;
    flex-direction: column;
    justify-self: end;
    display: none;
}

#navbar #mmenu ul li {
    text-align: right;
    background-color: var(--overlay-color);
}

#navbar #mmenu img {
    width: 18px;
    filter:invert(1);
}

#splash {
    z-index: 0;
    display: non;
    position: relative;
    height: 100vh;
    color: #FFF;
    border: 2px solid gray;
}

#splash>.video-container {
    width: 100%;
    height: 100%;
}

#splash>.video-container video {
    display: block;
    height: 100%;
    width: 100%;
    margin: 0 auto;
    object-fit: cover;
}

#splash .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
}

.caps {
    text-transform: uppercase;
}

div#splash #intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items:center;
}

div#splash #intro h1 {
    font-size: 5rem;
    font-weight: 100;
}

main section{
    /* width: 98%; */
    /* max-width: 1100px; */
    /* height: 100vh; */
    margin:0 auto;
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    z-index: 0;
    padding: 1.7rem;
}

main section h1{
    font-weight: 500;
}

main #portafolio{
    /* background-color:gray; */
}

main #talleres{
    /* background-color:rgb(148, 148, 148) ; */
}

/* main #contacto{
    background-color:rosybrown;
    height: 50vh;
} */

#portafolio > div > div > div > div {
    height: 250px;
    margin-right: .2rem;
}

#talleres .grid {
    width: 98%;
    max-width: 1100px;
    /* margin: 0 auto; */

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: .3rem;
}

footer {
    font-size: .8rem;
    font-weight: bold;
    width: 100%;
    max-width: 1100px;
    margin: 0px auto;
    text-align: center;
    margin-bottom: 1rem;
}

/* Utilidades */
#emergente {
    width: 100%;
    height: 100%;
    position: fixed;
    top:0px; left:0px;
    background: rgba(255, 255, 255, .75);
    background: rgba(255, 255, 255, .85);
    background: rgba(23, 54, 66, .65);
    background: rgba(0, 0, 0, .65);
    padding-top: .3rem;
    color: var(--green);
    display: flex;
    z-index: 10000;
}

#emergente .window {
    width: 98%;
    max-width: 960px;
    /* height: 90vh; */
    
    margin:auto;
    background-color: var(--aquaL);
    border-radius: 10px;
}

#emergente .window .toolbar {
    display: grid;
    grid-template-columns: 1fr 20px 20px 50px 25px;
    grid-template-columns:  20px 20px 20px 1fr 25px;
    text-align: center;
    padding: .5rem;
    height: 1.3rem;
}

#emergente .window .contenido {
    padding:0 1rem;
    width: 100%;
}

#emergente .tallerFicha {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#emergente .tallerFicha li {
    display: flex;
    justify-content: center;
}

#emergente .tallerFicha li:last-child {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    align-self: self-start;
}

#emergente #tallerVideo {
    height:720px;
    margin-bottom:4rem;
}

#emergente li img {
    margin-bottom:4rem;
}

#emergente li h1 {
    font-weight: 400;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

#emergente li h2 {
    font-weight: 400;
    margin-bottom: 0.8rem
}

#emergente li p.cupo {
    font-size: .8rem;
}

#emergente li p.botones {
    font-size: .8rem;
}

@media screen and (max-width:589px) {
    #stickyBar{
        width: 55px;
    }

    div#splash #intro h1 {
        font-size: 3rem;
    }

    #navbar .row #socialmedia {
        /* justify-content: center; */
        align-items: baseline;
        
    }

    #navbar #mmenu {
        padding-right: .5rem;
        display: flex;
        align-items:center;
        justify-content: flex-end;
    }

    #navbar #mmenu li {
        padding-right: 1rem;
        display: flex;
        align-items:center;
        justify-content: flex-end;
        padding: .3rem;
    }

    #navbar .row #menu{
        flex-direction: column;
        justify-self: end;
        padding-right: 1rem;
        display:none;
    }

    #navbar .row #menu li{
        text-align: right;
    }

    /* GRID */
    .grid {
        grid-template-columns: 1fr;
    }

    #talleres .grid {
        grid-template-columns: 1fr;
    }

    #emergente .window .toolbar {
        height: 18px;
    }

    #emergente .tallerFicha {
        grid-template-columns: 1fr;
    }

    #emergente #tallerVideo {
        height:350px;
        margin-bottom:1rem;
    }

    #emergente .tallerFicha li:last-child {
        overflow-y: auto;
    }
}