*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    max-width: 500px;
    margin: auto;   
}

/* main{
    background-color: rgba(23, 20, 23, 0.5);
    background-image: url("/img/background.png");
    background-position: center;
    background-attachment: fixed;
    background-size: contain;
} */

main {
    position: relative;
    z-index: 1;
    background-color: #171417;
}

main::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('img/background.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.2; /* transparencia deseada */
    z-index: -1;
}

/* cab */

.con-cab{
    display: flex;
    width: 100%;
    min-height: 40vh;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 20px;
}

.con-cab img{
    max-width: 100%;
}

.description{
    background-color: rgba(255, 255, 255, 0.4);
    padding: 10px;
    border-radius: 15px;
}

.con-cab p{
    color: black;
    font-family: 'nunito', sans-serif;
}

/* btns */

.con-btn{
    width: 100%;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.btn-1{
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.btn-1 a{
    font-family: 'nunito', sans-serif;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-2{
    max-width: 100%;
    display: flex;
    gap: 30px;
}

.btn-3{
    width: 90%;
    display: flex;
    background-color: rgba(29, 29, 27, 0.7);
    justify-content: center;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.btn-3 a{
    font-family: 'nunito', sans-serif;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* video */

.slider-container {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
}

video {
    width: 100%;
    height: auto;
    display: block;
}

.controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.btn {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* mapa */

.con-map{
    height: 30vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* footer */

.con-foo{
    max-width: 100%;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.con-foo a{
    width: 40%;
    color: white;
    text-decoration: none;
    font-family: 'nunito', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

.con-foo img{
    width: 25%;
}