/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
    font-family: 'ToyBlock';
    src: url('fonts/K26ToyBlocks123.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'RaleWay';
    src: url('fonts/Raleway-Medium.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'Lego';
    src: url('fonts/Legothick.ttf');
    font-weight: normal;
}

.site-header {
    height: 25% !important;
}

.site-branding {
    display: flex;
    align-items: center;
    height: 100%;
}

.inside-header.grid-container {
    margin-left: 0;
    height: 100%;
    margin-right: 0;
    max-width: 100%;
}

.main-title {
    font-family: 'Lego', sans-serif;
    font-size: 48px;
    -webkit-text-fill-color: white;
    text-fill-color: white;
    color: white;
    padding: 10px 20px;
    display: inline-block;
}

.main-navigation a {
    font-weight: bold;
    font-size: 11px;
    text-transform: uppercase;
}

.main-navigation .main-nav ul li a:hover {
    color: rgb(114, 114, 114) !important;
}

.main-navigation ul {
    padding-left: 25px;
}

.main-navigation .main-nav ul li a {
    font-size: 15px;
    padding-right: 8px;
    padding-left: 8px;
}

.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus,
.has-inline-mobile-toggle #site-navigation.toggled {
    background-color: white;
}

@media (max-width: 768px) {
    .has-inline-mobile-toggle .inside-header {
        flex-direction: row;
        text-align: center;
    }

    .mobile-menu-control-wrapper {
        margin-right: 10px;
    }

    .nav-float-right #site-navigation {
        margin-left: 0;
        margin-right: 0;
    }
}

.main-navigation.sub-menu-right.toggled {
    background-color: white !important;
}

.inside-site-info.grid-container .copyright-bar {
    display: none !important;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.envira-gallery-wrap-109,
.envira-gallery-wrap-124,
.envira-gallery-wrap-121 {
    display: grid !important;
    grid-template-columns: repeat(3, 200px) !important;
    gap: 20px !important;
}

.envira-gallery-wrap-121 img {
    width: 33%;
    height: auto;
}

.grid-container {
    max-width: 100%;
}

.album-defilant {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    max-width: 800px;
    padding-bottom: 10px;
}

.album-defilant img {
    width: 200px;
    height: auto;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.site-logo img {
    content: url('https://antoinegarel.fr/wp-content/uploads/2025/02/cropped-normal-logo.png');
    width:2px;
}

@media (max-width: 768px) {
    .site-logo img {
        content: url('https://antoinegarel.fr/wp-content/uploads/2025/02/cropped-desktop-logo.jpeg');
    }

    .site-header .header-image {
        width: 200px !important;
    }
}

.separate-containers .site-main {
    margin: 0;
}

.title-img-home {
    position: relative !important;
    display: inline-block !important;
    width: 100% !important;
}

.title-img-home img {
    display: block;
    height: auto;
    width: 40%;
}

.title-img-home .texte {
    font-family: 'RaleWay', sans-serif;
    position: absolute;
    top: 10%;
    left: 35%;
    color: black;
    font-size: 1.5vw;
    text-align: center;
    padding: 1vw;
    max-width: 90%;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .title-img-home .texte {
        left: 35%;
        top: -25px;
        font-size: 2vw;
    }

    .title-img-home img {
        width: 40%;
    }
}

.site-footer {
    border-top: 1px solid black;
}

.menu-portfolio-container li a {
    text-decoration: none !important;
    color: black;
}
