/*
Theme Name: pfa
Theme URI: https://pascalflayolsarchitecte.fr
Author: Atelier Yvon
Author URI: https://atelieryvon.com
Description: Custom PFA theme
Requires at least: WordPress 5.0
Version: 1.0
*/

@font-face {
    font-family: 'Century Gothic';
    src: url('/wp-content/fonts/SansSerifBldFLF.svg') format('svg'),
    url('/wp-content/fonts/SansSerifBldFLF.woff') format('woff'),
    url('/wp-content/fonts/SansSerifBldFLF.woff2') format('woff2'),
    url('/wp-content/fonts/SansSerifBldFLF.otf') format('opentype'),
    url('/wp-content/fonts/SansSerifBldFLF.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-FB04;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/wp-content/fonts/SansSerifFLF-Demibold.svg') format('svg'),
    url('/wp-content/fonts/SansSerifFLF-Demibold.woff') format('woff'),
    url('/wp-content/fonts/SansSerifFLF-Demibold.woff2') format('woff2'),
    url('/wp-content/fonts/SansSerifFLF-Demibold.otf') format('opentype'),
    url('/wp-content/fonts/SansSerifFLF-Demibold.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-FB04;
}

@font-face {
    font-family: 'Century Gothic';
    src: url('/wp-content/fonts/SansSerifFLF.svg') format('svg'),
    url('/wp-content/fonts/SansSerifFLF.woff') format('woff'),
    url('/wp-content/fonts/SansSerifFLF.woff2') format('woff2'),
    url('/wp-content/fonts/SansSerifFLF.otf') format('opentype'),
    url('/wp-content/fonts/SansSerifFLF.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
    unicode-range: U+0020-FB04;
}

:root {
  --main-bg-color: #F7F6F1;
  --main-font-color: #000000;
  --second-font-color: #743F33;
}

/*COMING SOON*/
.cs-content {
    background-color: var(--bg-color);
    color: var(--color-text);
}
.cs-content {
    font-size: 18px;
}



body {
    max-width: 100%;
    margin: 0px;
    background-color: var(--main-bg-color);
    font-family: 'Century Gothic';
}

header {
    /*padding: 30px 50px;*/
    position: fixed;
    z-index: 99;
    top:0;
    left:0;
    width: 100%;
}

header .header_inner {
    display: inline-flex;
    max-width: 100%;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
}

header a.logo_link {
    padding: 30px 0 30px 50px;
}

header a.logo_link .logo {
    width: 67px;
    height: auto;
}

header .menus_container {
    padding: 30px 50px 30px 0;
    width: 40%;
    display: flex;
    justify-content: space-between;
}

header .menus_container .menu-secondary-container {
    width: 75px;
}

header .menus_container ul {
    padding: 0px;
    list-style: none;
    margin: 0px;
}

header .menus_container ul li.menu-item {
    margin-bottom: 10px;
    display: grid;
    overflow: hidden;
}

header .menus_container ul li.menu-item,
header .menus_container ul li.menu-item a {
    color: var(--second-font-color);
}

header .menus_container ul li.menu-item a {
    text-decoration: none;
    transition: all .3s cubic-bezier(.4,0,.2,1);
    position: relative;
    font-size:14px;
    line-height: 16px;
    opacity: 0;
    transform:translateY(100%);
        cursor: pointer;
}

header .menus_container ul li.menu-item:not(.menu-title) a:hover,
header .menus_container ul li.current-menu-item a {
    color: var(--main-font-color);
    padding-left: 10px;
}

header .menus_container ul li.menu-item:not(.menu-title) a:before {
    content:"_";
    position: absolute;
    color: var(--second-font-color);
    left: 0px;
    bottom: 2px;
    opacity: 0;
    transition: all .2s linear;
}

header .menus_container ul li.menu-item:not(.menu-title) a:hover:before,
header .menus_container ul li.menu-item:not(.menu-title).current-menu-item a:before {
    opacity: 1;
    color:var(--main-font-color);
}

/*FOOTER*/

.site__footer {
    display: inline-flex;
    width: 100%;
    align-items: center;
    padding-top:20px;
    padding-bottom: 20px;
    border-top:solid 0.5px #000000;
}

.site__footer .menu-footer-menu-container,
.site__footer .logo_footer,
 .site__footer .footer_infos {
    width: 33.33%;
}

.site__footer .menu-footer-menu-container {
    padding-left:50px;
}

.site__footer .menu-footer-menu-container ul {
    padding: 0px;
    list-style: none;
    display: inline-flex;
    font-size: 12px;
    text-transform: lowercase;
    margin: 0;
}

.site__footer .menu-footer-menu-container ul li a {
    text-decoration: none;
    color:var(--main-font-color);
    margin-right:35px;
}

.site__footer .menu-footer-menu-container ul li a:hover {
    color:var(--second-font-color);
}

.site__footer .logo_footer {
    display: flex;
    justify-content: center;
}

.site__footer .logo_footer img {
    width: 70px;
}

.site__footer .footer_infos{
    padding-right: 50px;
}

.site__footer .footer_infos .footer_infos-inner {
    font-size: 12px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.site__footer .footer_infos .footer_infos-inner span {
    margin-left: 35px;
    color:var(--main-font-color);
}

.site__footer .footer_infos .footer_infos-inner span a {
    color:var(--main-font-color);
    text-decoration: none;
}

/*GENERAL*/

a {
    text-decoration: none !important;
}

.page_content {
    width: 100%;
    position: relative;
    display: block;
    padding-top:160px;
}

.content {
    max-width: 1170px;
    margin-right: auto;
    margin-left: auto;
    padding-left:20px;
    padding-right:20px;
}

.overflow {
    overflow: hidden;
}

.animatedTexts {
    opacity: 0;
    transform: translateY(100%);
    transition: all .5s cubic-bezier(.4,0,.2,1);
    transition-delay: 0.3s;
}

.animatedTexts.inViewport {
    opacity: 1;
    transform: translateY(0);
}

h1, p {
    margin: 0;
}

.highlight {
    font-size: 20px;
    line-height: 23px;
    font-weight: 500;
}

p {
    font-size: 16px;
    line-height: 26px;
}

.fit_cover img {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_section {
    height: 90vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 50px;
}

.horizontal-scroll {
   position: relative;
   width: 100%;
}

.horizontal-scroll-inner {
    display: inline-flex;
}

.horizontal {
    position: absolute;
    height: 100%;
    will-change: transform;
}

.horizontal-scroll img {
    height: calc(95vh - 200px);
    width: auto;
}

.horizontal-scroll-inner img:not(:last-child) {
    margin-right: 2rem;
}

.sticky {
    position: sticky;
    position: -webkit-sticky;
    top: 180px;
    height: calc(100vh - 200px);
    width: 100%;
    overflow-x: hidden;
}

@keyframes fade-in-up {
  from {
    transform: translateY(60%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-in-up {
    animation: fade-in-up 0.5s cubic-bezier(.4,0,.2,1);
}

.page_content.page .content > p {
    margin-bottom: 10px;
}


/*HOME*/

.home .intro {
    display: flex;
    padding-top: 100px;
    padding-bottom: 50px;
}

.home .intro h1 {
    margin-bottom: 20px;
}

.home .intro .title,
.home .intro .text {
    width: 50%;
}

.home .intro .text {
    padding-right:5%;
}

.home .real,
.home .details {
    padding-top: 70px;
    padding-bottom: 30px;
}

.home .real .title {
    margin-bottom: 35px;
}

.home .real .projects {
    position: relative;
}

.home .real .projects ul {
    padding: 0px;
    list-style: none;
    font-size: 100px;
    line-height: 90px;
    font-weight: 700;
    margin: 0px;
}

.home .real .projects ul li {
    display: inline;
}

.home .real .projects ul li a {
    text-decoration: none;
    color:var(--main-font-color);
    transition: all .2s cubic-bezier(.4,0,.2,1);
}

.home .real .projects ul li a:hover {
    color:var(--second-font-color);
}

.home .real .projects .project_img {
    left: 50%;
   opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 27.7777777778vw;
    aspect-ratio: 0.666667 / 1;
}

.home .real .projects .project_img .fit_cover {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.home .real .projects ul li:hover .project_img {
    opacity: 1;
}

.home .details {
    margin-bottom:90px;
}

.home .details .title {
    margin-bottom: 35px;
}

.home .details .gallery .details_img {
    position: relative;
    display: inline-block;
    height: 240px;
}

.home .details .gallery .first_line,
.home .details .gallery .second_line {
    display: flex;
}

.home .details .gallery .first_line .details_img:first-child {
    width: 14.16667%;
    margin-right: 3%;
}

.home .details .gallery .first_line .details_img:last-child {
    width: 48.50001%;
}

.home .details .gallery .second_line {
    padding-top: 3%;
}

.home .details .gallery .second_line .details_img:first-child {
    width: 31.33334%;
    margin-left: 17.16667%;
    margin-right: 3%;
}

.home .details .gallery .second_line .details_img:nth-child(2) {
    width: 14.1667%;
    margin-right: 3%;
}

.home .details .gallery .second_line .details_img:last-child {
    width: 31.33334%; 
}

/*SINGLE PROJET*/

.single-projet .hero_section {
    height: calc(100vh - 210px);
}

.single-projet .title_container {
    transform: translateY(-48%);
    padding: 20px;
}

.single-projet h1 {
    text-align: center;
    font-size: 40px;
    line-height: 50px;
    color:var(--second-font-color);
}

/*DETAILS*/

.page-template-details {
    overflow: hidden;
}

.page-template-details footer {
    display: none;
}

.page-template-details .title_container {
    padding: 30px 0px 40px 50px;
}

.page-template-details .horizontal-section_outer{
    padding-left: 50px;
    overflow: hidden;
}

.page-template-details .horizontal-section {
    overflow: hidden;
    padding-bottom: 50px;
    display: grid;
}

.page-template-details .horizontal-section .horizontal-section-inner {
    display: inline-flex;
}

.page-template-details .horizontal-section .horizontal-section-inner:last-child {
    margin-top: 20px;
}

.page-template-details .horizontal-section img {
    height: 30vh;
    width: auto;
}

.page-template-details .horizontal-section-inner img:not(:last-child) {
    margin-right: 20px;
}

/*REALISATIONS*/

.archives-content .cat-row {
    padding: 30px 50px;
    display: flex;
}

.archives-content.page_content {
    min-height: 65vh;
}

.archives-content.page_content .cat-row:first-child {
    margin-top: 30px;
}

.archives-content .cat-row .cat-title {
    width: 30%;
}

.archives-content .cat-row .cat-title a h2 {
    color: var(--main-font-color);
    margin: 0;
    opacity: 0;
    transform:translateY(100%);
    transition: all .3s cubic-bezier(.4,0,.2,1);
}

.archives-content .cat-row .projects-list {
    width: 40%;
    padding-top: 3px;
}

.archives-content .cat-row .projects-list ul {
    /*columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;*/
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 0px;
    list-style: none;
    margin: 0;
}

.archives-content .cat-row .projects-list ul li {
    /*padding-bottom: 15px;
    display: table;*/
}

.archives-content .cat-row .projects-list ul li a {
    color:var(--second-font-color);
}

.archives-content .cat-row .projects-list ul li a:hover {
    color:var(--main-font-color);
}

.archives-content .cat-row .projects-list ul li .project-featured {
    opacity: 0;
    position: absolute;
    height: 60vh;
    aspect-ratio: 0.666667 / 1;
    right: 50px;
    top: 25%;
    max-width: 25%;
}

.archives-content .cat-row .projects-list ul li:hover .project-featured {
    opacity: 1;
}

.archives-content .cat-row .projects-list ul li:hover .project-featured:hover {
    opacity: 0;
}

/* PAGE */
.page_content.page {
    padding-bottom: 80px;
}

.page_content.page .title_container {
    padding-bottom: 30px;
    padding-top:30px;
}

.page_content.page h2 {
    font-weight: 700;
    font-size:16px;
    margin-top:30px;
}

.page_content.page a {
    color:var(--second-font-color);
    cursor: pointer;
}

/* 404 */
.page_content.error {
    min-height: 55vh;
    display: flex;
    align-items: center;
}

.page_content.error .content {
    text-align: center;
}

.page_content.error .title_container {
    padding-bottom: 15px;
}

/*COOKIES*/
.cky-consent-container {
    width: 360px !important;
}
.cky-consent-container .cky-consent-bar  {
    box-shadow: none;
    border-radius: 0px !important;
}
.cky-notice .cky-title {
    font-size: 16px !important;
    line-height: 20px !important;
}
.cky-notice-des p {
    line-height: 15px;
    font-size: 12px;
}
.cky-notice button {
    border-width: 1px !important;
    border-radius: 0px;
    padding: 4px;
    font-size: 12px;
}

/*CONTACT*/
form {
    margin: 50px 0px;
}
form input[type=text],
form input[type=email],
form textarea {
        border-radius: 0px;
    border: none;
    background-color: transparent;
    border-bottom: solid 1px #000000;
    padding: 8px 0px;
    font-family: 'Century Gothic';
    font-size: 16px;
    margin-bottom: 10px;
    min-width: 340px;
}
form textarea {
    height: 100px;
}
form input[type=submit] {
        padding: 12px 20px;
    font-family: 'Century Gothic';
    background-color: #743F33;
    border: 0px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}
}



@media (min-width: 1650px) {
    .content {
        max-width: 1500px;
    }
}


@media (max-width: 1024px) {

}

@media (max-width: 767px){ 
    header {
        /*padding: 20px 15px;*/
    }

    header a.logo_link {
        padding: 20px 0 20px 20px;
    }

    header a.logo_link .logo {
        width: 57px;
        height: auto;
    }

    header .menus_container {
        width: 60%;
        padding: 20px 20px 20px 0;
    }

    .site__footer .menu-footer-menu-container, .site__footer .logo_footer, .site__footer .footer_infos {
        text-align: center;
        padding: 10px 0px;
    }

    .site__footer .menu-footer-menu-container {
        padding-left: 0px;
        width: 40%;
    }

    .site__footer .menu-footer-menu-container ul {
        display: block;
    }

    .site__footer .menu-footer-menu-container ul li {
        margin-bottom: 5px;
    }

    .site__footer .menu-footer-menu-container ul li a {
        margin-left: 0px;
        margin-right: 0px;
    }

    .site__footer .logo_footer {
        width: 20%;
    }

    .site__footer .logo_footer img {
        width: 40px;
    }

    .site__footer .footer_infos {
        width: 40%;
    }

    .site__footer .footer_infos .footer_infos-inner {
        justify-content: center;
    }

    .site__footer .footer_infos .footer_infos-inner span {
        margin-left: 5px;
        margin-right: 5px;
    }

    .hero_section {
        height: 60vh;
    }

    .home .intro .title, .home .intro .text {
        width: 100%;
    }

    .home .intro {
        display: block;
        padding-top: 80px;
        padding-bottom: 20px;
    }

    .home .real,
    .home .details {
        padding-top: 40px;
        padding-bottom: 10px;
    }

    .home .real .title {
        margin-bottom: 10px;
    }

    .home .real .projects ul {
        font-size: 30px;
        line-height: 40px;
    }

    .home .real .projects .project_img {
        display: none;
    }

    .home .details .gallery .details_img {
        height: 90px;
    }

    .single-projet h1 {
        font-size: 40px;
        line-height: 40px;
    }

    .horizontal-scroll img {
        height: calc(65vh - 200px);
    }

    .page-template-details .horizontal-section {
        overflow-x: scroll;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
        padding-bottom: 20px;
    }

    .page-template-details .horizontal-section::-webkit-scrollbar {
      display: none;
    }

    .page-template-details .title_container {
        padding: 30px 0px 40px 20px;
    }

    .page-template-details .horizontal-section_outer {
        padding-left: 20px;
    }

    .archives-content .cat-row {
        padding: 40px 20px;
        display: block;
    }
    .archives-content .cat-row .cat-title {
        margin-bottom: 10px;
        width: 100%;
    }

    .archives-content .cat-row .projects-list ul li .project-featured {
        display: none;
    }

    .archives-content .cat-row .projects-list {
        width: 100%;
    }
}




