/* box-sizing and font sizing */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
    scroll-behavior: smooth;
}

p,ul{
    line-height: 1.6em;
}


body {
    background-color: #ffffff;
    font-family: "Source Code Pro",monospace;
    font-size: 1em;
    box-sizing:content-box;
    text-align:justify;
}

/* clase no necesaria */
.header {
    height: 18em;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("/static/images/trees_small_w1_20k-2.svg");
    background-size: 100% 100% ;
}

.header h1 {
    margin: 0;
    text-align: center;
/*    max-width: 1280;*/
    justify-content: center;
    font-size: 2.5rem;
}

.hr-main{
    border: 0;
    height: 2px;
    max-width: 1280px;
    width: 100%;
    background: #333;
    background-image: -webkit-linear-gradient(left, #a2d8ff,#60bcff, #a2d8ff);
    background-image: -moz-linear-gradient(left, #a2d8ff,#60bcff, #a2d8ff);
    background-image: -ms-linear-gradient(left, #a2d8ff,#60bcff, #a2d8ff);
    background-image: -o-linear-gradient(left, #a2d8ff,#60bcff, #a2d8ff);
    margin: 3em auto;
}


h2{
    font-size: 2em;
    text-align: center;
    padding: 4em 2em 2em 2em;
}

h2 svg {
    display: inline-block;
    vertical-align: middle;
}

svg {

    height: 2em;
    width: 2em;
}

.gira:hover {
    /* fill: rgb(0, 98, 255); */
    transform: rotate(-45deg);
    -webkit-transition: .4s;
    transtition: 2s;
}


.gira {
    /* -webkit-animation-name: spin;
    -webkit-animation-duration: 1000ms;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    -moz-animation-name: spin;
    -moz-animation-duration: 1000ms;
    -moz-animation-iteration-count: infinite;
    -moz-animation-timing-function: linear;
    -ms-animation-name: spin;
    -ms-animation-duration: 1000ms;
    -ms-animation-iteration-count: infinite;
    -ms-animation-timing-function: linear; */
    
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: once;
    animation-timing-function: linear;
    animation-iteration-count: 2;
}
@-ms-keyframes spin {
    from { -ms-transform: rotate(0deg); }Breve
    to { -ms-transform: rotate(45deg); }
}
@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(45deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(45deg); }
}
@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(-45deg);
    }
}


@keyframes svg {
    from {
      -ms-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      transform: rotate(45deg);
    }
  }
  svg {
    -webkit-animation: rotating 2s linear infinite;
    -moz-animation: rotating 2s linear infinite;
    -ms-animation: rotating 2s linear infinite;
    -o-animation: rotating 2s linear infinite;
    animation: rotating 2s linear infinite;
  }


.horario-icon { 
    display: block;
    margin: 0.5em auto;
    transition: all .5s ease-in-out; 
}
.horario-icon:hover {
    transition: all .5s ease-in-out;
    transform:scale(1.2);

}

p.intro{
    padding: 2em 0.5em;
    max-width: 920px;
    width: 100%;
    margin: auto;
/*    box-shadow:3px 5px 7px 0px rgba(108, 108, 108, 0.75);*/
    font-size: 1.1rem;
    font-family: "Source code Pro",monospace;
    text-align:justify;
    /* line-height: 1.6rem; */
}

/* From noarmalize.css */
ol,
ul {
  /* margin: 0.5em; */
  /* padding: 0 0 0 2em;  */
  list-style-type: "\26AC";
  /* line-height: 1.6em; */
  padding-left: 0.5em;
  /* list-style: none; */
}

/* separacion entre marker y texto, importante!*/
li {
    padding-left: 0.5em;
}

.lista-datos-curso {
    max-width: 920px;
    margin: auto;
    background-color:rgba(255, 243, 179, 0.5);
    font-size: 1.1rem;
    padding: 1em;
}


.aclaracion {
/*    text-align: center;*/
    font-size: 1.1rem;
    max-width: 920px;
    padding: 1.5em;
    margin: 1em auto;
    background-color: rgba(238, 196, 156, 0.51);
    border-radius: 5px;
}

h3 {
    padding-top: 0.4em;

}
.sesiones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 680px));
    grid-gap: 2.5em;
    width: 100%;
    max-width: 2080px;
    padding-top: 0.5em;
    justify-content: center;
    margin: auto;
}

.horario-card-impar {
    background-color:rgba(230, 224, 195, 0.15);
}

.horario-card {
background: #F9F9F9;
}

.horario-card, .horario-card-impar {
    position: relative;
    box-shadow:3px 5px 7px 0px rgba(108, 108, 108, 0.75);
    margin: 0 auto 30px;
    padding: 20px;
    list-style-position: outside;
}



.FAQ {
    margin: auto;
    padding: 4em 2em 2em 2em;
    max-width: 1200px;
    /* border-bottom: 0.2em solid rgb(127, 225, 255); */
/*    position: relative;*/
    
}

.FAQ details {
/*    list-style: inside;*/
/*    text-align: left;*/
/*    max-width: 1080;*/
/*    margin: right;*/
    padding: 2em 0 0 2em;
}

.summary-parent , .summary-my_info{
    font-size: 1.5rem;
    font-style: italic;
    margin: auto;
}

.yo_pic {
    width: 200px;
    margin: 3em auto 3em;
}


details.My_info {
    margin: auto;
    max-width: 1200px;
    padding:4em 2em 2em 2em;
    max-width: 1200px;
}

.my_info_content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 300px));
/*    max-width: 1800px;*/
    justify-content: center;
    padding: 2em;
    text-align:left;
}

.demo {
    margin: auto;
    max-width: 1200px;
    padding:4em 2em 2em 2em;
    
}

.demo p {
    margin: auto;
    max-width: 920px;
    margin: 20px auto;
}

.ascii-reproductor {
/*    max-width: 100%;*/
/*    padding: 2em 0;*/
    margin: auto;
    max-width: 100%;
}

.question {
    font-size: 1.1em;
    font-weight: 600;
    font-style: italic;
/*    max-width: 920px;*/
}

details[open] summary ~ * {
    animation: sweep .6s ease-in-out;
/*    -moz-animation: sweep .3s ease-in-out;*/
}


@keyframes sweep {
  0%    {opacity: 0; margin-left: -10px}
  100%  {opacity: 1; margin-left: 0px}
}


code {
    background-color: #eee;
    border-radius: 3px;
    font-family: "Source Code Pro", monospace;
    padding: 0 3px;
}

a {
    /* text-decoration: none; */
    color: #049de2;
    font-weight: bold;
    display:inline-block;
    /* padding: 2px; */
    
}

a:hover{
    text-decoration: underline;
    background-color: rgb(237, 248, 193);
    transition: 300ms linear;
    border-radius: 4px;
    padding: 0 8px;
}

a:active {
  color: black;
}

a:hover:before {
    content: "\2192\ ";
    /* transition: 500ms linear; */
  }
    
@media all and (max-width: 380px) {
    .header h1 {
        font-size: 2em;
    }
}


@media all and (max-width: 410px) {
    h2 {
        font-size: 1.5em;
    }
}

@media all and (max-width: 410px) {
    h2 {
        font-size: 1.3em;
    }
}

footer {
    margin-left: 5%;
}
