*{
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
}


.tenerife-titulo{
    color: #08CB00;
    font-family: serif;
    font-size: 24px;
}

h1{font-size: 80px;}
h2{font-size: 46px;
color: #08CB00;
}
h3{font-size: 32px;}
p {font-size: 16px;}

ul{list-style: none;}
li{font-size: 16px}

button{
    font-size: 16px;
}
.Botonreserva{
    font-size: 30px;
    font-weight: bold;
    padding: 15px 60px;
    border-radius: 30px;
    border: 0px solid;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.918);
    background-color: #08CB00;
}
button:hover{
    background-color: #07cb00a2;
}

.container{
    max-width: 1400px;
    margin: auto;
}

header{
    background-color: black;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .logo{
    height: 50px;  
    width: auto;    
    padding: 10px 20px; 
}

header .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 30px;
}

header nav {
    display: flex;
    text-align: center;
    gap: 40px;
    padding-bottom: 25px;
}

header a{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    color: #08CB00;
}

header a:hover{
    color: rgba(255, 255, 255, 0.918);
}

#hero{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 120vh;
    color: rgba(255, 255, 255, 0.918);
    background-image: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5) 
    ) ,url(https://images.unsplash.com/photo-1620130315010-4313a0f46e8f?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

#hero h1{
    color: rgba(255, 255, 255, 0.918);
}


#info .container{
    text-align: center;
    padding: 200px 12px;
    background-color: black;
}


#platos{
    background-color: black;
    text-align: center;
    justify-content: center;
}

.platos{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

#platos h2{
    margin-top: 0 ;
}

#platos .container{
    padding: 200px 0px;
    background-position: center center;
    background-size: cover;
    justify-content: center;
}

#platos .carta{
            position: relative;
            width: 300px;
            height: 200px;
            background-color: #f48fb1;
            background-position: center center;
            background-size: cover;
            padding: 40px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s;
            justify-content: center;
            border-radius: 10px;
            position: relative;
            z-index: 1;
}

.carta:first-child{
background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5), 
    rgba(0,0,0,0.5)
    ), url(https://images.unsplash.com/photo-1572802419224-296b0aeee0d9?w=1000&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8YnVyZ2VyfGVufDB8fDB8fHww);
}

.carta:nth-child(2){
background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5), 
    rgba(0,0,0,0.5)
    ), url(https://images.unsplash.com/photo-1624300629298-e9de39c13be5?w=1000&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nnx8dGFjb3N8ZW58MHx8MHx8fDA%3D);
}

.carta:nth-child(3){
background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5), 
    rgba(0,0,0,0.5)
    ), url(https://images.unsplash.com/photo-1679310249395-ae267ae0d273?w=1000&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTF8fGVtcGFuYWRpbGxhcyUyMGFyZ2VudGluYXxlbnwwfHwwfHx8MA%3D%3D);     
}

.carta:nth-child(4){
background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5), 
    rgba(0,0,0,0.5)
    ), url(https://images.unsplash.com/photo-1574071318508-1cdbab80d002?q=80&w=869&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);     
}

.carta:nth-child(5){
background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5), 
    rgba(0,0,0,0.5)
    ), url(https://images.unsplash.com/photo-1633321702518-7feccafb94d5?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);     
}

.carta:nth-child(6){
background-image: linear-gradient(
    0deg,
    rgba(0,0,0,0.5), 
    rgba(0,0,0,0.5)
    ), url(https://images.unsplash.com/photo-1619683551667-4bc326abff44?q=80&w=876&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);     
}

.carta h3{
    color: white;
    font-weight: bold;
}

#ventajasreserva .container{
    text-align: center;
    padding: 200px 12px;
}

#ventajasreserva li{
    margin: 12px 0px;
    font-weight: bold;
}

#reserva{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 120vh;
    color: rgba(255, 255, 255, 0.918);
    background-image: linear-gradient(0deg, rgba(0,0,0,0.5), rgba(0,0,0,0.5) 
    ) ,url(https://images.unsplash.com/photo-1559222857-6cf4d4bc1be3?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}
footer{
    background-color: #08CB00;
}

footer p{
    margin: 0;
    padding: 30px;
    color:white
}

footer .container{
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

@media (min-width:720px){
    header{
        position: fixed;
        width: 100%;
    }

    header .container{
        flex-direction: row;
        justify-content: space-between;
    }

    header nav{
        flex-direction: row;
        padding-bottom: 0;
        padding-right: 30px;
    }

    #info .container{
        display: flex;
        justify-content: center;
    }

    #info .texto{
        width: 50%;
        text-align: initial;
        padding-left: 70px;
        max-width: 600px;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }
    
    #info .img-container{
        background-image: linear-gradient(
             0deg,
    rgba(0,0,0,0.5), 
    rgba(0,0,0,0.5)
    ), url(https://images.unsplash.com/photo-1586190848861-99aa4a171e90?q=80&w=580&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D); 
    background-size: cover;
    background-position: center center;
    width: 400px;
    height: 500px;
    }

    #ventajasreserva{
        background-image: url(https://images.unsplash.com/photo-1730901766505-1fa0c02fe41b?q=80&w=870&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
        background-repeat: no-repeat;
        background-size: 500px 400px;
        background-position:calc(100vw - 700px) 120px;
    }

    #ventajasreserva .container{
        text-align: initial;
    }

    #ventajasreserva ul{
        margin-left: 100px;
    }

    #ventajasreserva h3{
        margin-left: 100px;
}

@media (min-width:100px) {
    #ventajasreserva{
        background-position-x: (100vw - 800px);
    }
}