/*
Theme Name: HFC Theme 09.2025
Author: Karim Merzoug Industrie créative
Author URI: https://merzoug.ch
Description: Custom HFC website from static HTML to wordpress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* styles.css */

.rightpanel-top .panchard {
    visibility: hidden;
}

@font-face {
    font-family: ABCMarist-Book-Trial;
    src: url('fonts/ABCMarist-Book-Trial.otf') format("opentype");
}

@font-face {
    font-family: ABCMarist-BookItalic-Trial;
    src: url('fonts/ABCMarist-BookItalic-Trial.otf') format("opentype");
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: ABCMarist-Book-Trial;
    scroll-behavior: smooth;
    background-color: #F2EDE4;
}

::-webkit-scrollbar {
    background: #F2EDE4;
    width: 15px;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 15px 15px #000;
    border: solid 5px transparent;
    border-radius: 100px;
}

p {
    margin: 0;
    padding: 0 0 40px 0;
    font-size: 52px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

p a:hover {
    font-family: ABCMarist-BookItalic-Trial;
    text-decoration: none !important;
}

.confident {
    padding: 0 0 10px 0;
    font-size: 26px;
    letter-spacing: -0.03em;
}

.start-p {
    padding: 0 0 75vh 0;
}

.last-p {
    padding: 0;
}

h1 {
    font-family: ABCMarist-BookItalic-Trial;
    margin: 0;
    padding: 0 0 80px 0;
    font-size: 112px;
    text-align: center;
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: -0.03em;
}

h2 {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
}

#left {
    text-align: left;
}

#middle {
    text-align: center;
}

#right {
    text-align: right;
}

.h1-p {
    padding: 0 0 40px 0;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.subtitle-container {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    padding: 10px 0 40px 0;
    border-top: solid 1px #000;
}

.subtitle {
    width: 33.3%;
}

.left-panel {
    flex: 3;
    background: #D8DDCD;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-panel img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.middle-panel {
    flex: 3;
    padding: 20px;
    /*margin: 20px;*/
    /*border: dashed 1px #000;*/
    overflow-y: auto;
    background: #F2EDE4;
}

.middle-panel li {
    padding: 0;
    margin: 0;
    font-size: 52px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.middle-panel ul {
    margin: -20px 0 20px 0;
}

.middle-panel a {
    text-decoration: none;
    color: #000;
}

.middle-panel a:hover {
    text-decoration: underline;
}

#etude a:hover {
    font-family: ABCMarist-BookItalic-Trial;
    text-decoration: none;
}

.right-panel {
    flex: 1;
    background: #D8D7C6;
    color: #000;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    letter-spacing: -0.03em;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.right-panel nav ul {
    padding: 0;
    margin: 0;
    line-height: 0.9;
    text-decoration: none;
}

.right-panel nav ul li {
    text-decoration: none;
    font-size: 52px;
    position: relative; /* Nécessaire pour positionner la puce */
    list-style-type: none;
}

.right-panel nav ul li a {
    color: #000;
    text-decoration: none;
    display: flex;
}

.right-panel nav ul li a:hover {
    font-family: ABCMarist-BookItalic-Trial;
}

.right-panel nav ul li a.active {
    text-decoration: none; /* Assurez-vous qu'il n'y a pas de soulignement */
    position: relative; /* Nécessaire pour positionner la puce */
    padding-left: 30px; /* Ajoutez un padding pour laisser de l'espace pour la puce */
}

.right-panel nav ul li a.active::before {
    content: '•'; /* Utilisez le caractère de la puce */
    color: #000; /* Couleur de la puce, adaptez selon le design */
    position: absolute;
    left: 0; /* Place la puce à gauche du texte */
    top: 50%; /* Centre la puce verticalement */
    transform: translateY(-50%); /* Ajuste la position verticale pour être bien centré */
    font-size: 1.5em; /* Taille de la puce, ajustez selon vos besoins */
}

.rightpanel-bottom {
    font-size: 26px;
    font-family: sans-serif;
    line-height: 1;
    letter-spacing: -0.03em;
}

.footer-txt {
    margin-top: 20px;
}

.footer a {
    text-decoration: none;
    color: #000;
}

.footer a:hover {
    text-decoration: underline;
}

#copyright {
    font-size: 18px;
}



.clickable {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
}

.clickable.left {
    left: 0;
    cursor: w-resize; /* Utilisez votre propre image */
}

.clickable.right {
    right: 0;
    cursor: e-resize; /* Utilisez votre propre image */
}


/* <----------------------------------- BREAKPOINTS FOR RESPONSIVE -----------------------------------> */


@media screen and (min-width: 2000px) {

    p {
        padding: 0 0 40px 0;
        font-size: 52px;
    }

}

@media screen and (max-width: 2000px) {

    p {
        padding: 0 0 40px 0;
        font-size: 46px;
    }

    h1 {
        padding: 0 0 80px 0;
        font-size: 80px;
    }
    
    h2 {
        font-size: 22px;
    }

    .right-panel nav ul li {
        font-size: 46px;
    }

    .rightpanel-bottom {
        font-size: 22px;
    }

    .footer-txt {
        margin-top: 10px;
    }

    #copyright {
        font-size: 16px;
    }

    .confident {
        padding: 0 0 10px 0;
        font-size: 22px;
    }

    .middle-panel li {
        font-size: 46px;
    }
    
    .middle-panel ul {
        margin: -20px 0 20px 0;
    }

}

@media screen and (max-width: 1800px) {

    p {
        padding: 0 0 30px 0;
        font-size: 36px;
    }

    h1 {
        padding: 0 0 80px 0;
        font-size: 62px;
    }
    
    h2 {
        font-size: 20px;
    }

    .right-panel nav ul li {
        font-size: 36px;
    }

    .rightpanel-bottom {
        font-size: 20px;
    }

    .footer-txt {
        margin-top: 10px;
    }

    #copyright {
        font-size: 16px;
    }

    .confident {
        padding: 0 0 10px 0;
        font-size: 20px;
    }

    .middle-panel li {
        font-size: 36px;
    }
    
    .middle-panel ul {
        margin: -15px 0 15px 0;
    }

    .middle-panel {
        flex: 3;
        padding: 15px;
    }

    .right-panel {
        padding: 15px;
    }

    .subtitle-container {
        padding: 5px 0 40px 0;
    }

}

@media screen and (max-width: 1400px) {

    p {
        padding: 0 0 20px 0;
        font-size: 30px;
    }

    h1 {
        padding: 0 0 40px 0;
        font-size: 48px;
    }
    
    h2 {
        font-size: 16px;
    }

    .right-panel nav ul li {
        font-size: 30px;
    }

    .rightpanel-bottom {
        font-size: 16px;
    }

    .footer-txt {
        margin-top: 10px;
    }

    #copyright {
        font-size: 12px;
    }

    .confident {
        padding: 0 0 10px 0;
        font-size: 16px;
    }

    .middle-panel li {
        font-size: 30px;
    }
    
    .middle-panel ul {
        margin: -10px 0 10px 0;
    }

    .middle-panel {
        flex: 3;
        padding: 15px;
    }

    .right-panel {
        padding: 15px;
    }

    .subtitle-container {
        padding: 5px 0 20px 0;
    }

}

@media screen and (max-width: 1000px) {

    p {
        padding: 0 0 20px 0;
        font-size: 22px;
    }

    h1 {
        padding: 0 0 40px 0;
        font-size: 36px;
    }
    
    h2 {
        font-size: 10px;
    }

    .container {
        flex-direction: column;
        height: 90vh;
        flex-wrap: wrap;
    }

    .left-panel {
        flex: 0;
    }

    .left-panel img {
        width: 100%;
        height: 45vh;
        object-fit: cover;
    }

    .right-panel nav ul li {
        font-size: 22px;
        color: #fff;
    }

    .right-panel nav ul li a {
        color: #fff;
    }

    .rightpanel-bottom {
        font-size: 10px;
    }

    .right-panel nav ul li a.active::before {
        content: '•'; /* Utilisez le caractère de la puce */
        color: #ffffff; /* Couleur de la puce, adaptez selon le design */
    }

    .footer-txt {
        margin-top: 10px;
    }

    #copyright {
        font-size: 8px;
    }

    .confident {
        padding: 0 0 10px 0;
        font-size: 10px;
    }

    .middle-panel li {
        font-size: 22px;
    }
    
    .middle-panel ul {
        margin: -10px 0 10px 0;
    }

    .middle-panel {
        flex: 1;
        padding: 15px;
    }

    .right-panel {
        mix-blend-mode: difference;
        color: #fff;
        display:  block;
        background: none;
        position: fixed;
        padding: 15px;
    }

    .rightpanel-bottom {
        display: none;
    }

    .subtitle-container {
        padding: 5px 0 20px 0;
    }

    .right-panel nav ul li a.active {
        padding-left: 15px; /* Ajoutez un padding pour laisser de l'espace pour la puce */
    }

}