/*
Theme Name: Twenty Twenty-Five (enfant)
Description: Thème enfant pour Twenty Twenty-Five
Author: Jonathan BESSON
Author URI: https://www.jonathan-besson.fr/
Template: twentytwentyfive
Version: 1.0.0
Text Domain: twentytwentyfivechild
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

@import url(./_partials/_navbar.css);
@import url(./_partials/_blog.css);

@media only screen and (max-width:500px)
{
    body{
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media only screen and (max-width:1200px)
{
    body{
        padding-left: 20px;
        padding-right: 20px;
    }
}

.elementor-button{
    background-color: transparent;
}

.primary-buton{
    border: 2px solid #EFC300;
    border-radius: 5px;
    background-color: #EFC300;
}

.primary-buton:hover{
    border: 2px solid #F08900;
    background-color: #F08900;
    color: #FCFCF5;
}

.link a{
    color: #EFC300;
}

.link a:hover{
    color: #F08900;
}

/*test caroussel */

.carousel {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: relative;
}

/* Partie gauche : image en pleine hauteur */
.carousel-main {
    width: 60%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 15%;
    left: 10%;
    color: white;
    max-width: 400px;
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.carousel-button {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #ff5733;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Partie droite : Miniatures */
