

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: rgb(159, 65, 65);
}

nav{
    background-color: brown;
    padding: 15px 0;
}

.menu{
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.menu li{
    margin: 10px 20px;
}

.menu a{
    text-decoration: none;
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
}

.menu a:hover{
    color: blue;
}



header .cicla{
    padding: 1em;
    text-align: center;
}

.cicla{
    width: 50%;
    background-color: rgba(192, 190, 190, 0.681);
    margin: 0 auto;
    border-radius: 20px;
    padding: 15px;
}

header section{
    background-color: rgba(169, 169, 169, 0.789);
}

section{
    width: 80%;
    margin: 3em auto;
    box-shadow: 0px 10px 20px 20px rgb(132, 48, 37);
    padding: 2em;
    border-radius: 30px;
}



.stun{
    display: grid;
    gap: 2em;
    grid-template-columns: 1fr;
}

.stun figure{
    display: flex;
    gap: 1em;
    align-items: center;
}

.stun figure img{
    width: 100%;
    max-width: 300px;
    height: auto;
}

h2{
    width: 100%;
    text-align: center;
    margin-bottom: 1em;
}

p{
    text-align: justify;
    line-height: 1.6;
}

img{
    max-width: 100%;
}



video{
    width: 100%;
    max-width: 250px;
    height: auto;
}


.effect-lift{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.effect-lift img{
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}



.effect1{
    overflow: hidden;
    position: relative;
    border-radius: 10px;
}

.effect1 img{
    transition: transform 0.4s ease;
}

.effect1:hover img{
    transform: scale(1.1);
}

.effect1:hover{
    transform: translateY(-12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.377);
    transition: 0.4s;
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.effect1:hover .overlay{
    opacity: 1;
}


@media (max-width:1025px){

    .cicla{
        width: 70%;
    }

    section{
        width: 90%;
    }

    .effect-lift{
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (max-width:500px){

    .menu{
        flex-direction: column;
        align-items: center;
    }

    .menu li{
        margin: 10px 0;
    }

    .cicla{
        width: 95%;
    }

    section{
        width: 95%;
        padding: 1em;
    }

    .stun figure{
        flex-direction: column;
        text-align: center;
    }

    .stun figure img{
        max-width: 100%;
    }

    .effect-lift{
        grid-template-columns: 1fr;
    }

    .effect-lift img{
        height: auto;
    }

    h1{
        font-size: 1.8rem;
    }

    h2{
        font-size: 1.3rem;
    }
}