/* 
Theme Name: Nicolas Ghilissen - Créations
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.project{
    display: block;
    width: 100%;
    position: relative;
}

.project-block{
    width: 100%;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    transition: background-position 0.3s ease-in-out;
    padding: 20px;
    border-bottom: 1px solid #fff;
    position: relative;
    display: block;
}
.project-block:hover{
    background-position: bottom right;
}
h2.project-name{
    color: #ffffff !important;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.8);
}
.project-location{
    color: #fff !important;
    padding-left: 25px;
    line-height: 0;
    position: relative;
    font-family: 'massilia';
    font-size: 18px;
    text-transform: uppercase;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.8);
}
.project-location::before{
    content:"";
    display: block;
    background-color:#fff;
    height: 1px;
    width: 20px;
    position: absolute;
    top: 10%;
    left: 0;
}
.project-container a{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Smartphones (jusqu'à 480px) */
@media only screen and (max-width: 480px) {
    .project-block{
        min-height: 500px;

    }
  }
  
  /* Tablettes en mode portrait (de 481px à 768px) */
  @media only screen and (min-width: 481px) and (max-width: 768px) {
    .project-block{
        min-height: 500px;

    }
  }
  
  /* Tablettes en mode paysage (de 769px à 1024px) */
  @media only screen and (min-width: 769px) and (max-width: 1024px) {
    .project-block{
        min-height: 600px;

    }
  }
  
  /* Petits écrans d'ordinateur (de 1025px à 1200px) */
  @media only screen and (min-width: 1025px) and (max-width: 1200px) {
    .project-block{
        min-height: 600px;
        height: 65vh;

    }
  }
  
  /* Grands écrans d'ordinateur (1201px et plus) */
  @media only screen and (min-width: 1201px) {
    /* Styles pour grands écrans d'ordinateur */
    .project-block{
        min-height: 650px;
        height: 65vh;
    }
  }