@font-face {
    font-family: 'Sofia';
    src: url('../fonts/Sofia-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Comic Neue';
    src: url('../fonts/ComicNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after{
    box-sizing: border-box;
}

:root {
    --color-green: #9BBCB2;
    --color-red-light: #d77182;
    --color-red-dark: #c94e5d;
}

img {
    max-width: 100%;
}

body {
    font-family: Comic Neue;
    font-size: 18pt;
    margin: 0;
    background-color: var(--color-green);
    background-image: url("/images/pivoine.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Sofia";
    margin: 40px 0 10px 0;
    text-shadow: 1px 1px 0 #FFF;

}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.mb-60 {
    margin-bottom: 60px;
}

.text-align-center {
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.contenu{
    padding: 6px;
    margin: 20px 0 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.3);

    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.dash-01 {
    padding:5px;
    border-radius: 14px;
    border: 2px dashed rgba(255, 255, 255, 0.7);
}

.dash-02 {
    padding:5px;
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.5);
}

.dash-03 {
    padding:10px 10px 20px 10px;
    border-radius: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.row {
    display: block;
}

.titles {
    text-align: center;
}

.svg-icon {
    margin-bottom: -3px;
}

.btn {
    text-decoration: none;
    color: white;
    font-size: 14pt;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 5px 5px 10px #00000055;
}

.pointing-right {
    width: 24px;
    margin-bottom: -4px;
}

.float-right {
    float: right;
}

.active-zone {
    cursor: pointer;
}

.active-zone .btn-swipe {
    position: relative;
    display: inline-block;
    overflow: hidden;
    background: var(--color-red-light);
}

/* couche verte */
.active-zone .btn-swipe::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--color-red-dark);
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 0;
}

/* hover */
.active-zone:hover .btn-swipe::before {
    transform: translateX(0);
}

/* texte au-dessus */
.btn-swipe span {
    position: relative;
    z-index: 1;
}

#portrait-isabelle {
    display: ;
    border-radius: 8px;
    aspect-ratio: 684/1024;
    max-height: 600px;
}

.height-fit-content {
    height: fit-content;
}
/*
.effet-transition .stack {
    background: url(/images/effet/nature-sprite-2.png) no-repeat -9999px -9999px;
    background-size: 0;
}

.stack {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 912 / 1368;
    border-radius: 10px;
    overflow: hidden;
}

.stack .picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
}

.effet-transition .stack .picture:nth-child(1) {
    background-image: url(../images/home_me.JPG);
}

.effet-transition .stack .picture:nth-child(2) {
    background-image: url(../images/home_se.JPG);
}

.effet-transition .stack .picture:nth-child(3) {
    background-image: url(../images/home_ca.JPG);
}

.effet-transition .stack .picture.hide {
    -webkit-mask: url(../images/effet/nature-sprite-2.png);
    mask: url(../images/effet/nature-sprite-2.png);
    -webkit-mask-size: 7100% 100%;
    mask-size: 7100% 100%;
    -webkit-animation: mask-play 1.4s steps(70) forwards;
    animation: mask-play 1.4s steps(70) forwards;
}

@-webkit-keyframes mask-play {
    from {
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
    }
    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@keyframes mask-play {
    from {
        -webkit-mask-position: 0% 0;
        mask-position: 0% 0;
    }
    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

.phone {
    background: #139675;
    &:hover {
        background: darken(#139675, 10%);
    }
    &:active,
    &:focus {
        background: darken(#139675, 20%);
    }
    &:after {
        content: "\F095";
    }
    &:hover:after {
        -webkit-animation: wiggle .05s alternate ease infinite;
        animation: wiggle .05s alternate ease infinite;
    }
}

@keyframes wiggle {
    from { transform: rotate(0deg); }
    to   { transform: rotate(30deg); }
}
*/

@media (min-width:768px)
{
    /*
    .stack {
        position: relative;
        height:500px;
        aspect-ratio: 912 / 1368;
        border-radius: 10px;
        overflow: hidden;
    }
    */
}

@media (min-width:992px)
{
    body {
        background-position: unset;
    }

    .row {
        display: flex;
        justify-content: center;
        align-items: center;
        gap:50px;
        flex-direction: row-reverse;
    }

    .contenu{
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .titles {
        text-align: left;
    }

    .col-1-sm {
        order:1;
    }

    .col-2-sm {
        order: 2;
    }

    .dash-03 {
        padding:10px 40px 10px 10px;
    }
}