/*
rosa: #f6048a
azul: #81f4fb
*/

html {
    background: rgb(22, 19, 50);
    background: linear-gradient(180deg, rgba(22, 19, 50, 1) 50%, rgba(235, 134, 190, 1) 100%);

    min-height: 100%;
}

body {
    font-size: 1.3rem;
    color: white;
    text-shadow: 1px 1px 2px rgb(22, 19, 50);

    font-family: "Madimi One", sans-serif;
    font-weight: 400;
    font-style: normal;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 70px;
    color: white;
    text-align: center;

    text-shadow: 2px 2px 0 #f6048a, -1px -1px 0 #81f4fb;
}

/* -------------------------------------------------------------------------- */
/* Navbar */
#navbar{
    margin-top: 1%;
    padding-left: 10%;
    padding-right: 10%;
}

.navbar-container{
    padding: 1%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    border-bottom: 2px solid  white;
}

#navbar a,
#navbar a:active,
#navbar a:visited{
    text-decoration: none;
    color: white;
}

#navbar a:hover{
    text-shadow: 2px 2px 2px #f6048a;
    transition: all 0.25s ease-in-out;
}

#navbar select{
    font-family: inherit;
    font-size: inherit;
    background-color: transparent;
    border: none;
    outline: none;
    color: white;
    cursor: pointer;
}

#navbar select option {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    color: #555;
    background-color: white;
}

@media (max-width: 920px)
{
    #navbar {
        font-size: xx-small;
    }
}

/* -------------------------------------------------------------------------- */
/* LANDING */


#landing {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

#landing #info {
    align-self: center;
    flex: 1;
    width: 35%;
    min-height: 100%;
    max-width: 35%;
    padding-left: 15%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#landing #info p {
    color: white;
    text-align: justify;
}

#landing #info .button-53 {
    display: block;
    margin: 20px auto;
    z-index: 200;
}

#landing #logo {
    width: 100%;
    max-width: 512px;
    display: block;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%; 
    align-items: center;
    justify-content: left;
    display: flex;
    min-height: 512px;
  }
  
.video-itself {
    position: absolute;
    right: 0%;
    top: 0;
    width: 60%;
    min-height: 100%;
    max-height: 100%;
    z-index: -1;
    /* aspect-ratio: 1/1; */
    overflow: hidden;
  }

  
@media (min-width: 920px) {
    #landing {
        flex-direction: row-reverse;
        align-items: flex-start;
    }

    #landing > #info {
        margin-left: 200px;
    }

    #landing #logo-container {
        flex: 2;
    }
}

@media (max-width: 920px)
{
    .video-container {
        justify-content: center;
        display: flex;
        flex-direction: column-reverse;
    }

    .video-itself {
        position: relative;
        width: 100%;
    }

    #landing #info {
        padding-left: 0;
        margin-left: 0;
        width: 90%;
        max-width: 90%;
    }
}

/* -------------------------------------------------------------------------- */
/* ABOUT US */

#about-us {
    margin-top: 2%;
}

#about-us a,
#about-us a:active,
#about-us a:visited{
    text-decoration: none;
    color: white;
}

#about-us a:hover{
    text-shadow: 2px 2px 2px #f6048a;
    transition: all 0.25s ease-in-out;
}

#about-us #container {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

#about-us #info {
    padding: 2%;
    text-align: text-part center;
    justify-content: space-around;
    display: flex;
    flex-direction: row;
}

#about-us #text-part {
    width: 50%;
}

#about-us #past-editions {
    width: 30%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1%;
    justify-content: space-around;
    align-items: center;
}

#past-editions  a{
    width: 100%;
}

.text-container {
    max-width: 100%;
    display: block;
    text-align: justify;
}

.points-list{
    text-align: left;
}

.image-logo {
    background-repeat: none;
    height: 100%;
    max-height: 150px;
    
}

.logo-1 {
    aspect-ratio: 227/100;
}

.log-2 {
    aspect-ratio: 1/1;
}

@media (max-width: 860px) {
    #about-us #info {
        flex-direction: column;
    }

    #about-us #text-part {
        width: 100%;
    }

    #about-us #past-editions {
        width: 100%;
    }

    .image-logo {
        width: auto;
        height: auto;
        min-height: 150px;
        max-height: 300px;
    }
}

/* -------------------------------------------------------------------------- */
/* Contact */

.main-contact {
    display: flex;
    /*width: 100%;*/
    max-width: 100%;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5%;
    padding-bottom: 0%;
}

.subtitle-contac{
    width: 100%;
    padding: 1%;
    padding-left: 5%;
    padding-right: 5%;
    align-items: center;
    text-align: center;
    display: flex;
    font-size: 2rem;
    justify-content: center;
}

.contact-information {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
}

.contact-element {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-content: center;
}

.contact-element > p{
    align-content: center;
}

.main-contact a,
.main-contact a:active,
.main-contact a:visited{
    text-decoration: none;
    color: white;
}

.main-contact a:hover{
    text-shadow: 2px 2px 2px #f6048a;
    transition: all 0.25s ease-in-out;
}

.contact-last-row{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    width: 99%;
    padding: 2%;
}


@media (max-width: 860px) {
    .contact-information{
        flex-direction: column;
    }

    .contact-mail a{
        font-size: small;
    }
}

/* -------------------------------------------------------------------------- */
/* Ubication */
#map-ubication {
    width: 100%;
    height: 750px;
    border: 0;
}

.map-info {
    text-align: center;
    font-size: 24px;
    margin: 5px 0;
    color: white;
    text-shadow: 1px 1px 2px rgb(22, 19, 50);
}

.map-info>strong {
    font-size: 30px;
    font-weight: bold;
}

.ubication-container{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;    
}

.ubication-container a,
.ubication-container a:active,
.ubication-container a:visited{
    text-decoration: none;
    color: white;
}

.ubication-container a:hover{
    text-shadow: 2px 2px 2px #f6048a;
    transition: all 0.25s ease-in-out;
}


.map-part{
    width: 40%;
}

.how-to-part{
    width: 50%;
}

@media (max-width: 860px) {
    .ubication-container{
        flex-direction: column;
        align-items: center;    
    }

    .map-part{
        width: 90%;
    }
    
    .how-to-part{
        width: 90%;
    }
    
}

/* Scrollbars */

::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #eeeeee; /* Color of the scrollbar thumb */
    border-radius: 10px; /* Radius of the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #555; /* Color of the scrollbar thumb on hover */
}

::-webkit-scrollbar-track {
    background: #555555dd; /* Background color of the scrollbar track */
}

/* Optional: Thin scrollbar corner */
::-webkit-scrollbar-corner {
    background: transparent; /* Background color of the scrollbar corner */
}

/* Firefox */
@supports (-moz-appearance:none) {
    /* Custom scrollbar for Firefox */
    * {
        scrollbar-width: thin;
        scrollbar-color: #d3d3d3 #5555555d;
    }
}

/* -------------------------------------------------------------------------- */
/* Acordeon */
.acordeon-body {
    width: 100%;
    max-height: 750px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.acordeon {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 2.5%;
}

.acordeon  hr {
    width: 100%;
}

.acordeon-container {
    position: relative;
    margin: 10px 10px;
}

.acordeon-label {
    position: relative;
    padding: 10px 0;
    font-size: 30px;
    cursor: pointer;
}

.acordeon-label::before {
    content: '+';
    color: white;
    position: absolute;
    top: 50%;
    right: -5px;
    font-size: 30px;
    transform: translateY(-50%);
}

.active .acordeon-label::before {
    content: '';
}

.acordeon-content {
    overflow: hidden;
    position: relative;
    height: 0;
    width: 100%;
    transition: 0.5s all;
}

.acordeon-container.active  .acordeon-label::after {
    content: '-';
    font-size: 30px;
    position: absolute;
    top: 50%;
    right: -5px;
    font-size: 30px;
    transform: translateY(-50%);
}


.active .acordeon-content {
    height: 450px;
    max-height: 450px;
    overflow-y: scroll;
}

.acordeon-image{
    width: 75%;
}


/* -------------------------------------------------------------------------- */
/* CAROUSEL */
.carousel {
    width: 100%;
    /* height: 350px; */
    display: block;
    clear: both;
}

.carousel2 {
    width: 100%;
    /* height: 350px; */
    display: block;
    clear: both;
}


.carousel-items {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

@media (min-width: 860px) {
    .carousel-items {
        justify-content: space-around;
    }

    .carousel-item {
        width: 100%;
    }
}

@media (max-width: 860px) {

    .carousel-items {
        flex-direction: column;
    }

}

.carousel-item {
    display: flex;
    flex-direction: column;
}

.carousel-item > div {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.carousel-item>p {
    width: 100%;
    font-size: 24px;
    text-align: center;
}

.carousel-balls {
    height: 20px;
    padding-top: 5px;
    display: flex;
    justify-content: center;
    column-gap: 15px;
}

.carousel-ball {
    cursor: pointer;
    display: block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid white;
}

.carousel-ball:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.carousel-active-ball,
.carousel-active-ball:hover {
    background-color: white;
}

.carousel-hidden {
    display: none;
}

.carousel a,
.carousel a:active,
.carousel a:visited{
    text-decoration: none;
    color: white;
}

.carousel a:hover{
    text-shadow: 2px 2px 2px #f6048a;
    transition: all 0.25s ease-in-out;
}

/* -------------------------------------------------------------------------- */
/* Speakers */

#speakersFlex {
    width: 98%;
    padding-left: 5px;
    padding-right: 5px;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    column-gap: 10px;
}

.speakersItem {
    width: 400px;
    height: 500px;
}

.speakersItem > img {
    border-radius: 5px;
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.speakersTitle {
    font-weight: bold;
    text-align: center;
    font-size: 1.2em;
}

.speakersName {
    display: block;
    margin: 0 auto;
    font-size: 1.2em;
    color:white;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    text-shadow: 1px 1px 0 #f6048a, -1px -1px 0 #81f4fb;
}

@media (max-width: 860px) {

    #speakersFlex {
        flex-direction: column;
        justify-content: center;
    }

    .speakersItem {
        width: 100%;
        height: auto;
        min-height: 500px;
    }

}

/* -------------------------------------------------------------------------- */
/* Boton fancy */
.button-53 {
    background-color: #f6048a;
    border: 0 solid #E5E7EB;
    box-sizing: border-box;
    color: white;
    text-shadow: 1px 1px 2px rgb(22, 19, 50);
    display: flex;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.75rem;
    padding: .75rem 1.65rem;
    position: relative;
    text-align: center;
    text-decoration: none rgb(22, 19, 50) solid;
    text-decoration-thickness: auto;
    width: 100%;
    max-width: 460px;
    position: relative;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-53:hover {
    transform: rotate(-3deg);
    transition: 50ms linear all;
}

.button-53.v2:hover {
    transform: rotate(3deg);
    transition: 50ms linear all;
}

.button-53:focus {
    outline: 0;
}

.button-53:after {
    content: '';
    position: absolute;
    border: 2px solid #81f4fb;
    bottom: 4px;
    left: 4px;
    width: calc(100% - 1px);
    height: calc(100% - 1px);
}

.button-53:hover:after {
    bottom: 2px;
    left: 2px;
}

.button-53:active:after {
    bottom: -1px;
    left: -1px;
}

@media (min-width: 768px) {
    .button-53 {
        padding: .75rem 3rem;
        font-size: 1.25rem;
    }
}