/*
 Theme Name:   Medialicia
 Description:  Hamilton Child Theme by Anders Norén (https://www.andersnoren.se/)
 Author:       Alicia Gantès
 Author URI:   http://medialicia.ch
 Template:     hamilton
 Version:      1.0.4
 Text Domain:  medialicia
*/
@font-face {
    font-family: 'BRRR-Skrrt Web';
    src: url('webfont/BRRR-Skrrt-Web.woff?') format('woff');
}
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* BODY GENERAL */
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
body {
    margin: 0 auto;
    font-size: 16px;
}
h1, h2, h3, h4,
.site-nav ul a {
    font-family: 'BRRR-Skrrt Web';
}
:root .has-regular-font-size {
    /*IMD + contactez  */
    font-family: 'BRRR-Skrrt Web';
    color: #2D3037;
    font-size: 2.3rem;
}
header .site-title a {
    /*Alicia Gantès - h2 header*/
    font-size: 2rem;
}

.button:hover,
.faux-button:hover,
.wp-block-button__link:hover,
.wp-block-file .wp-block-file__button:hover,
input.wpcf7-form-control.wpcf7-submit:hover {
	background-color : red;
}
/*--------------------------------------------------------*/
:root .nav_bio {
    /*IMD à genève - intro header*/
    padding-bottom: 100px;
    transition: color 0.4s ease-in-out;
    text-align: right;
    font-size: 1.3rem;
}
/*--------------------------------------------------------*/
.meta {
    font-family: 'Arial', serif;
    color: lightgrey;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 1em;
    text-transform: uppercase;
}
p {
    font-family: 'Arial', serif;
    font-weight: normal;
    font-size: 1em;
    color: dimgray;
    text-align: left;
    letter-spacing: 1px;
    margin-bottom: 1em;
}
/*
.site-footer .site-name{
animation: 3s ease-in-out infinite;
color: linear-gradient(to right, #ffc286, #869dff, #ffa3e4, #caffa3);
padding: 20px;
}
h1 {
  font-family: 'Arial', serif;
  font-weight: bold;
  font-size: 1.8rem;
  text-align: center;
  margin: 20px auto;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: yellow;
}
*/
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* MAIN CONTENT */
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}
.home .container {
    max-width: none;
}
.post-date {
    display: none;
}
.single .featured-image {
    display: none;
}
.related-posts-wrapper {
    margin-top: 180px;
    padding-top: 200px;
    border-top: 1.5px solid lightgrey;
}
::selection {
    background: red;
    color: white;
}
.wp-block-image
/*reseaux sociaux - contact*/
    {
    transform: scale(1);
    transition: transform 0.5s ease-in-out;
}
.wp-block-image:hover
/*reseaux sociaux - contact*/
    {
    transform: scale(1.3);
}
.wp-block-image img
/*reseaux sociaux - contact*/
    {
    padding: 10px;
    background-color: rgba(255, 0, 0, 0);
    transition: background-color 0.5s ease-in-out;
}
.wp-block-image img:hover
/*reseaux sociaux - contact*/
    {
    background-color: rgba(255, 0, 0, 1);
}
/*--------------------------------------------------------*/
div.nav-toggle .bar
/*burger menu bar - header*/
    {
    transition: background-color 0.05s ease-in-out;
    background-color: rgba(255, 0, 0, 1);
    /*red*/
}
div.nav-toggle:hover .bar,
div.nav-toggle:active .bar
/*burger menu bar - header*/
    {
    background-color: rgba(0, 0, 0, 1);
    /*black*/
}
div.nav-toggle
/*burger menu - header*/
    {
    transform: scale(1.10);
    transition: transform 0.1s ease-in-out;
}
div.nav-toggle:hover,
div.nav-toggle:active
/*burger menu - header*/
    {
    transform: scale(1.30);
}
:root .nav-toggle {
    width: 30px;
}
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* ANIMATIONS */
/*-----------------------------------------------------------------------*/
/*--------------------------------------------------------*/
/*Underline From Left - LIGNE DEPUIS LA GAUCHE -> */
/*-----------------------------------------------------------------------*/
/*--------------------------------------------------------*/
header a.site-name {
    /*Alicia Gantès - animation header*/
    color: red;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}
header a.site-name:before {
    /*Alicia Gantès - animation header*/
    color: white !important;
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: 0;
    background: red;
    height: 20px;
    padding-bottom: 18px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
header a.site-name:hover:before,
header a.site-name:focus:before,
header a.site-name:active:before,
header a.site-name:hover {
    /*Alicia Gantès - animation header*/
    color: white !important;
    right: 0;
}
/*--------------------------------------------------------*/
/* Underline From Left */
.site-nav ul a {
    /*item nav - burger menu header*/
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
    border-bottom: 0 none;
    /*IMPORTANT TRAIT ROUGE BUGG*/
}
.site-nav ul a:before {
    /*item nav - burger menu header*/
    content: "";
    position: absolute;
    z-index: -4;
    left: 0;
    right: 100%;
    bottom: 0;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.site-nav ul a:before
/*item nav - burger menu header*/
    {
    height: 4px;
    background-color: rgba(255, 0, 0, 1);
    /*red*/
}
.site-nav ul a:hover:before,
.site-nav ul a:focus:before,
.site-nav ul a:active:before
/*item nav - burger menu header*/
    {
    right: 0;
}
.site-nav ul:last-child .current-menu-item>a,
.site-nav ul:first-child .current-menu-item>a {
    border-bottom: 3px solid rgba(0, 0, 0, 1);
    /*black*/
}
.site-nav li
/*espacement sous l'item du menu*/
    {
    font-size: 38px;
    line-height: 1.7;
}
/*--------------------------------------------------------*/
/*--------------------------------------------------------*/
/* Underline From Left */
.nav_bio a {
    /*contactez-moi - intro header*/
    text-decoration: none;
    font-weight: 600;
    /*.........*/
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}
.nav_bio a:before
/*contactez-moi - intro header*/
    {
    content: "";
    position: absolute;
    z-index: -3;
    left: 0;
    right: 100%;
    bottom: 0;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    /*.........*/
    height: 5px;
    border-bottom: 2px solid rgba(255, 0, 0, 1);
    /*red*/
}
.nav_bio a:hover:before,
.nav_bio a:focus:before,
.nav_bio a:active:before {
    right: 0;
}
/*--------------------------------------------------------*/
/* Underline From Left */
.previous-posts-link a {
    /*newer - footer*/
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}
.previous-posts-link a:before {
    /*newer - footer*/
    content: "";
    position: absolute;
    z-index: -4;
    left: 0;
    right: 100%;
    bottom: 0;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.previous-posts-link a:before
/*newer - footer*/
    {
    height: 3px;
    background-color: rgba(255, 0, 0, 1);
    /*red*/
}
.previous-posts-link a:hover:before,
.previous-posts-link a:focus:before,
.previous-posts-link a:active:before {
    right: 0;
}
/*--------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* Underline From Right - LIGNE DEPUIS LA DROITE <- */
/*-----------------------------------------------------------------------*/
/*--------------------------------------------------------*/
.next-posts-link a
/*older - footer*/
    {
    border-bottom: hidden;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}
.next-posts-link a:before
/*older - footer*/
    {
    content: "";
    position: absolute;
    z-index: -2;
    left: 100%;
    right: 0;
    bottom: 0;
    -webkit-transition-property: left;
    transition-property: left;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.next-posts-link a:before
/*older - footer*/
    {
    height: 3px;
    background-color: rgba(255, 0, 0, 1);
    /*red*/
}
.next-posts-link a:hover:before,
.next-posts-link a:focus:before,
.next-posts-link a:active:before
/*older - footer*/
    {
    left: 0;
}
/*--------------------------------------------------------*/
.site-nav footer a,
/*alicia gantès - copyright menu*/
.site-footer a
/*alicia gantès - copyright footer*/
    {
    border-bottom: hidden;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
}
.site-nav footer a:before,
/*alicia gantès - copyright menu*/
.site-footer a:before
/*alicia gantès - copyright footer*/
    {
    content: "";
    position: absolute;
    z-index: -2;
    left: 100%;
    right: 0;
    bottom: 0;
    -webkit-transition-property: left;
    transition-property: left;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.site-nav footer a:before,
/*alicia gantès - copyright menu*/
.site-footer a:before
/*alicia gantès - copyright footer*/
    {
    height: 2px;
    background-color: rgba(255, 0, 0, 1);
}
.site-nav footer a:hover:before,
.site-nav footer a:focus:before,
.site-nav footer a:active:before,
/*alicia gantès - copyright menu*/
.site-footer a:hover:before,
.site-footer a:focus:before,
.site-footer a:active:before
/*alicia gantès - copyright footer*/
    {
    left: 0;
}
.site-footer p {
    line-height: 20px !important;
}
/*--------------------------------------------------------*/
/*--------------------------------------------------------*/
/*Shrink */
.wp-block-gallery a {
    /*image des galeries*/
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}
.wp-block-gallery a:hover,
.wp-block-gallery a:focus,
.wp-block-gallery a:active {
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* MED YAS QUEER IS */
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
@media screen and (max-width : 820px)
/*tablet et smarphone -portrait*/
    {
	:root .has-regular-font-size
	/*IMD à genève - intro header*/{
		padding-bottom: 50px;
        font-size: 2rem;
	}
    .nav_bio .has-small-font-size
    /*contactez-moi - intro header*/
        {
        font-size: 1rem;
    }
    .nav_bio a
    /*alicia gantès - copyright footer*/
        {
        text-decoration: none;
        font-weight: 600;
        padding: 3px;
        border-bottom: 2px solid rgba(255, 0, 0, 1);
    }
    /*--------------------------------------------------------*/

    .site-nav ul a:before
    /*item nav - burger menu header*/
        {
        height: 3px;
        background-color: rgba(255, 0, 0, 1);
        /*red*/
    }
    .site-nav li
    /*espacement sous l'item du menu*/
        {
        font-size: 28px;
        line-height: 1.3;
    }
    /*--------------------------------------------------------*/
    header .site-title a {
        /*Alicia Gantès - h2 header*/
        font-size: 1.3rem;
    }
    header a.site-name {
        /*Alicia Gantès - animation header*/
        color: white !important;
        background: red;
        height: 30px;
    }
    /*--------------------------------------------------------*/
    .site-footer a {
        /*contactez-moi - intro header*/
        text-decoration: none;
        font-weight: 600;
        padding: 3px;
        border-bottom: 2px solid rgba(255, 0, 0, 1);
    }
    /*--------------------------------------------------------*/
    .previous-posts-link a,
    .next-posts-link a
    /*older - footer*/
        {
        font-size: 2rem;
        color: rgba(255, 0, 0, 1);
    }
    /*--------------------------------------------------------*/
    .site-nav ul:last-child .current-menu-item>a,
    .site-nav ul:first-child .current-menu-item>a
    /*underline item menu*/
        {
        border-bottom: 3px solid rgba(255, 0, 0, 1);
        /*red*/
    }
}
/*--------------------------------------------------------*/
@media screen and (min-width: 992px) {
    .related-posts-wrapper .preview-image
    /*cartel instagram*/
        {
        height: 400px;
    }
}
iframe {
    min-width: initial !important;
    max-width: 100% !important;
}
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
/* ---- PARTICULES BLOCK ---- */
/*-----------------------------------------------------------------------*/
/*-----------------------------------------------------------------------*/
canvas {
    display: block;
    vertical-align: bottom;
}
/* ---- particles.js container ---- */
#particles-js {
    top: 0;
    z-index: -1;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /*#ffffff*/
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
}
/* ---- stats.js ---- */
