html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

#header {
    position: relative;
    background-color: #00a978;
    padding: 40px 70px 0px 30px;
}

#header h1 {
    transform: skew(-7deg);
    -webkit-transform: skew(-7deg);
    font-weight: bold;
    color: white;
    font-size: 5rem;
    max-width: 80%;
    margin: 0.5em 0;
    z-index: 4;
    position: relative;
    word-break: break-word;
}

#header h2 {
    color: #ffd000;
    font-size: 3rem;
    max-width: 80%;
    margin: 0;
    z-index: 4;
    position: relative;
}

#corner {
    position: absolute;
    width: 400px;
    height: 2000px;
    background-color: #386b8b;
    box-shadow: black 10px 0px 100px 10px;
    top: 0;
    right: 0;
    transform: translate(50%, -45%) rotate(338deg);
    transform-origin: 50%, 50%;
    z-index: 2;
}

#bombilla {
    position: relative;
}

#bombilla img {
    position: absolute;
    top: 0;
    right: 5%;
    transform: translateY(-70%);
    z-index: 4;
}

#planta {
    background-color: white;
    /*background-image: url("imagenes/planta_2.png");*/
    background-size: cover;
    min-height: 60vh;
    /*aspect-ratio: 14 / 12;*/
    position: relative;
    background-position-x: 70%;
}

#inscripciones {
    margin: 0 0 0 auto;
    background-color: #ffd000;
    width: fit-content;
    vertical-align: middle;
    z-index: 3;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#qr {
    display: inline-block;
    position: relative;
    left: -50px;
}

#qr img {
    display: block;
    width: 100%;
    height: 100%;
}

#inscripciones h3 {
    display: inline-block;
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    color: white;
    margin: 0;
    padding: 0;
    font-size: 2rem;
    position: relative;
    left: -40px;
}

#inscripciones h3 a {
    color: white;
    text-decoration: none;
}

#fecha {
    margin: 20px 5% 0 auto;
    width: 100%;
    max-width: 300px;
    text-align: center;
}

#fecha h3 {
    color: #00a978;
    font-size: 3.5rem;
    transform: skew(-7deg);
    -webkit-transform: skew(-7deg);
    margin: 0;
    position: relative;
    bottom: -20px;
}

#fecha h2 {
    color: #0b7955;
    font-size: 5.6rem;
    transform: skew(-7deg);
    -webkit-transform: skew(-7deg);
    margin: 0;
}

#fecha h6 {
    font-size: 2rem;
    color: #146233;
    margin: 0;
}

#lugar {
    margin: 0 5% 0 auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#lugar_icon {
    display: inline-block;
}

#lugar_icon img {
    height: 80px;
}

#lugar p {
    display: inline-block;
    color: #004b98;
    font-size: 1.65rem;
    font-weight: bold;
    padding: 0 10px;
}

#footer {
    padding: 30px 0;
}

#footer>.container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    background-color: white;
}

#footer>.container>div {
    width: 33%;
    display: flex;
    flex-direction: column;
}

#footer>.container>div>div {
    align-self: stretch;
    flex-grow: 1;
}

#footer p {
    color: gray;
    font-size: 18px;
}

#footer img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100px;
    margin: 0 auto;
    display: block;
    margin: auto 0;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#footer img:hover {
    opacity: 80%;
}

.pad {
    height: 200px;
}

html {
    font-size: 10px;
}

#bombilla img {
    width: 130px;
}

#lugar {
    max-width: 300px;
}

#lugar_icon img {
    display: none;
}

#qr {
    width: 300px;
    height: 300px;
}

#inscripciones {
    height: 280px;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

#planta {
    background-image: none;
}

#planta>div {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

#planta_baja {
    background-image: none;
}

#inscripciones h3 {
    /*writing-mode: tb-rl;
    transform: rotate(-180deg);*/
    writing-mode: unset;
    transform: rotate(-0deg);
    left: unset;
    top: -30px;
}

#inscripciones {
    flex-direction: column;
    height: fit-content;
}

#qr {
    left: unset;
    top: -50px;
}

#qr img {
    z-index: 5;
    position: relative;
}

.pad {
    height: 0;
}

#header {
    padding-bottom: 100px;
}

#bombilla {
    display: none;
}

#planta>#fecha,
#planta>#lugar {
    width: 100%;
    margin-right: 0;
    max-width: unset;
}

#footer>.container {
    flex-direction: column;
}

#footer>.container>div {
    width: 100%;
}

#footer img {
    left: 50%;
    transform: translate(-50%, 0%);
    max-width: 300px;
}

#footer {
    padding: 30px 10px;
}

#header h1 {
    max-width: 100%;
}

#info {
    padding: 10px;
    font-size: 1.7rem;
}

#info {
    text-align: justify;
}

#info a {
    color: white;
    font-weight: bold;
}

#info table {
    color: white;
}

#info table tr:nth-child(2n) {
    background-color: #00a978;
}

#info table tr:nth-child(2n+1) {
    background-color: #386b8b;
}

#info table td {
    padding: 5px 10px;
}

#info table td:nth-child(1) {
    word-break: keep-all;
}

.comilla {
    font-size: 4rem;
    color: #00a978;
    display: block;
    text-align: center;
}

#horario2 {
    display: flex;
    flex-direction: row;
    /*justify-content: space-around;*/
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    font-size: 1.6rem;
    margin: 30px 0;
}

#horario2 * {
    box-sizing: border-box;
}

#horario2 .streaming {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
}

#horario2 .h2-en {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

#horario2 .card {
    background-color: #00a978;
    color: white;
    padding: 3px;
    height: 100%;
    box-sizing: border-box;
}

#horario2 .hora {
    background-color: white;
    color: #00a978;
    display: inline-block;
    width: 30%;
    min-width: 150px;
    text-align: center;
    padding: 5px;
}

#horario2 .text {
    padding: 20px 40px 20px 20px;
}
#horario2 .text2 {
    padding: 2px 2px 2px 2px;
}

#horario2 .by {
    background-color: white;
    color: #00a978;
    display: block;
    width: fit-content;
    min-width: 150px;
    text-align: center;
    padding: 5px 15px;
    margin: 0 0 0 auto;
}

#horario2 a {
    color: white;
    text-decoration: none;
}
#horario2 a:hover { 
 text-decoration: overline underline; 
}

#horario2 .card.c1 {
    background-color: #00a978;
}

#horario2 .card.c1 .hora,
#horario2 .card.c1 .by,
#horario2 .card.c1 .by a {
    color: #00a978;
}

#horario2 .card.c2 {
    background-color: #386b8b;
}

#horario2 .card.c2 .hora,
#horario2 .card.c2 .by,
#horario2 .card.c2 .by a {
    color: #386b8b;
}

#horario2 .card.c3 {
    background-color: #ff9500;
}

#horario2 .card.c3 .hora,
#horario2 .card.c3 .by,
#horario2 .card.c3 .by a {
    color: #ff9500;
}

#ponentes * {
    box-sizing: border-box;
}

#ponentes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 50px 0;
}

#ponentes>div {
    width: 100%;
    padding: 20px;
}

#ponentes img {
    width: 300px;
    height: auto;
    max-width: 80%;
    display: block;
    margin: 0 auto;
    border-radius: 100%;
}

#ponentes p {
    text-align: center;
}

#ponentes p:first-of-type {
    font-weight: bold;
}


.p-card {
    background-color: #386b8b;
    padding: 40px 4px 4px 4px;
    color: white;
    max-width: 450px;
    margin: 0 auto;
    cursor: pointer;
}

.p-card .plus {
    width: 60px;
    height: 60px;
    margin: 0 0 0 auto;
    border: solid 3px white;
    background-color: white;
    position: relative;
}

.p-card .plus img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #386b8b;
    display: block;
    width: fit-content;
    height: fit-content;
    font-size: 50px;
    transition-duration: 0.5s;
}

.p-card:hover .plus img {
    transform: translate(-50%, -50%) rotate(180deg);
}

.p-card .desc {
    background-color: white;
    color: #386b8b;
    height: 0px;
    overflow: hidden;
    color: #ffffff;
}

.p-card .desc p {
    padding: 0 10px;
    opacity: 0;
}

.p-card.open .desc {
    height: fit-content;
}

#inscribete h1 {
    text-align: center;
    margin: 60px 0;
    color: #386b8b;
    font-size: 3rem;
    font-weight: 300;
}

#inscribete h1 a {
    color: #386b8b;
    text-decoration: none;
}

#inscribete h1 a:hover {
    text-decoration: underline;
}

#streaming {
    padding: 20px 10px;
}

#streaming iframe {
    display: block;
    max-width: 1200px;
    max-height: 720px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

.spe-15 {
    width: 100%;
}

.spe-15 img {
    max-height: 150px !important;
}

@media (max-width: 419px) {
    #header h1 {
        font-size: 3.5rem;
    }
}

@media (min-width: 576px) {
    .container-sm,
    .container {
        max-width: 540px;
    }
    html {
        font-size: 12px;
    }
    #bombilla img {
        width: 140px;
    }
    #planta {
        background-image: url(imagenes/overlay.png);
        background-color: transparent;
    }
    #planta_baja {
        background-image: url(imagenes/background.png);
        background-color: transparent;
        background-size: cover;
        /*aspect-ratio: 14 / 12;*/
        background-position-y: bottom;
    }
    #planta>div {
        margin-left: auto;
        margin-right: 5%;
        width: fit-content;
    }
    #inscripciones h3 {
        /*writing-mode: tb-rl;
        transform: rotate(-180deg);
        left: -50px;
        top: unset;*/
    }
    #inscripciones {
        /*flex-direction: row;*/
        margin: 0 0 0 auto;
        margin-right: 0% !important;
        padding: 0 50px;
        justify-content: space-between;
        height: fit-content;
        min-height: unset;
    }
    #qr {
        /*left: -50px;
        top: unset;*/
    }
    .pad {
        height: 200px;
    }
    #header {
        padding-bottom: 0px;
    }
    #bombilla {
        display: block;
    }
    #planta>#fecha,
    #planta>#lugar {
        width: fit-content;
        margin-right: 5%;
        max-width: 100%;
    }
    #planta>#lugar {
        max-width: 280px;
    }
    #qr {
        width: 200px;
        height: 200px;
    }
    #header h1 {
        max-width: 100%;
    }
    /*animations*/
    #planta>#inscripciones {
        position: relative;
        animation: 0.7s ease-in-out 0.5s 1 slideInFromRight forwards;
        transform: translateX(120%);
    }
    #bombilla img {
        animation: 1s ease-in-out 1.2s 1 wiggle;
        transform-origin: 50% 50%;
    }
    #info {
        font-size: 1.6rem;
    }
    #horario2 {
        font-size: 1.5rem;
    }
    .comilla:nth-of-type(1) {
        text-align: left;
    }
    .comilla:nth-of-type(2) {
        text-align: right;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(120%);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes wiggle {
    0% {
        transform: rotate(0deg) translateY(-70%);
    }
    10% {
        transform: rotate(0deg) translateY(-70%);
    }
    25% {
        transform: rotate(-5deg) translateY(-70%);
    }
    /*40% {
        transform: rotate(0deg) translateY(-70%);
    }*/
    55% {
        transform: rotate(5deg) translateY(-70%);
    }
    /*70% {
        transform: rotate(0deg) translateY(-70%);
    }*/
    85% {
        transform: rotate(-5deg) translateY(-70%);
    }
    100% {
        transform: rotate(0deg) translateY(-70%);
    }
}

@media (min-width: 768px) {
    .container-md,
    .container-sm,
    .container {
        max-width: 720px;
    }
    html {
        font-size: 14px;
    }
    #bombilla img {
        width: 155px;
    }
    #qr {
        width: 300px;
        height: 300px;
    }
    #lugar_icon img {
        display: block;
    }
    #planta>#lugar {
        max-width: 360px;
    }
    /*#inscripciones {
        height: 400px;
    }*/
    #footer>.container {
        flex-direction: row;
        flex-wrap: wrap;
    }
    #footer>.container>div {
        width: 25%;
        padding: 0 10px;
    }
    #footer img {
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
    }
    #info table td:nth-child(1) {
        text-wrap: nowrap;
    }
    #info {
        font-size: 1.29rem;
    }
    #horario2 {
        font-size: 1.25rem;
    }
    #header h1 {
        max-width: 90%;
    }
    #ponentes>div {
        width: 50%;
    }
    .spe-15 {
        width: 15% !important;
    }
    .spe-15 img {
        max-height: 100px !important;
    }
}

@media (min-width: 992px) {
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 960px;
    }
    html {
        font-size: 16px;
    }
    #bombilla img {
        width: 165px;
    }
    #planta>#lugar {
        max-width: 430px;
    }
    .pad {
        height: 250px;
    }
    #header h1 {
        max-width: 80%;
    }
    #horario2 {
        font-size: 1.1rem;
    }
    #horario2 .h2-en {
        width: 50%;
    }
	#horario2 .streaming {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1140px;
    }
    html {
        font-size: 18px;
    }
    #bombilla img {
        width: 172px;
    }
    .pad {
        height: 250px;
    }
    #footer>.container {
        flex-wrap: nowrap;
    }
}

@media (min-width: 1400px) {
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1320px;
    }
    html {
        font-size: 18px;
    }
    #bombilla img {
        width: 172px;
    }
}