@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap&text=AyoubgzlRéisaprÉèvdTmncLt20-3");
@import "base.css";
@import "nav.css";
@import "pages.css";
@import "gallery.css";
@import "contact.css";
@import "fancy-scrollbar.css";

:root {
    --nav-height: 85px;
    --about-pages-count: 4;
    --color-blue: #52c8e8;
    --color-orange: #f17a22;
    --color-green: #5bef11;
    --color-green: #5bef00;
    /* --color-magenta: #fa1497; */
    --color-magenta: #fa1470;
    --color-select: #ffc7b8;
    --scrollbar-width: 11px;
    --banner_video_blur: 4px;
}

header {
    display: flex;
    width: 100%;
    min-height: 100vh;
    /* justify-content: space-evenly; */
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding-right: var(--scrollbar-width);
    row-gap: 3rem;
}
header h1,
h1:nth-child(2) {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding-top: 7.5rem;
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 3px 5px 0 rgba(0, 0, 0, 0.3);
    border-bottom: 4px dashed var(--color-orange);
}
header span {
    font-family: "Great Vibes", sans-serif;
}
.title__fix {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}
.title__fix h1:last-child {
    margin-left: 4px;
}
@media screen and (max-width: 700px) {
    header h1 {
        font-size: 2.2rem;
    }
}

header .p__container {
    /* margin: 3rem; */
    padding: 0.5rem 1rem;
    border: 6px dotted var(--color-select);
    border-radius: 20px;
    text-align: justify;
    font-size: 1rem;
    line-height: 2rem;
    line-height: calc(1.5em + 0.2vw);
    color: whitesmoke;
    background-color: rgba(0, 0, 0, 0.39);
    max-width: 80%;
    word-spacing: 2px;
}

/* footer in contact.css */

header div.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
    header div.backdrop {
        transform: translate3d(0, 0, 0);
        -webkit-backdrop-filter: blur(var(--banner_video_blur));
        backdrop-filter: blur(var(--banner_video_blur));
    }
}

header .video__container {
    /* padding-top: 100%; */
    min-height: 200vh;
    position: sticky;
    top: 0;
    width: 100vw;
    z-index: -100;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;

    min-width: 100vw;
    height: 100vh;
}
@media screen and (max-width: 800px) {
    header .video__container {
        position: sticky;
        height: 100%;
    }
}

.video__container video {
    position: sticky;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    box-shadow: none;
    outline: none;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    overflow: hidden;
}

/* @media (min-aspect-ratio: 16/9) {
    header video {
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9) {
    header video {
        width: auto;
        height: -webkit-fit-content;
        height: -moz-fit-content;
        height: fit-content;
    }
} */

@media (max-width: 800px) {
    header .video__container {
        /* padding-top: 100%; */
        min-height: 100vh;
        position: absolute;
        top: 0;
        width: 100vw;
        z-index: -100;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
    }

    header video {
        min-width: 100%;
        min-height: 100%;
        position: absolute;
        top: 0;
    }
}

@media (max-width: 700px) {
    header {
        background-image: url("assets/tousreunis.jpg");
        background-size: cover;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position: center center;
    }
}
@media (max-width: 514px) {
    header h1:nth-child(2) {
        padding-top: 0.5rem;
    }
}
@media (max-width: 700px) {
    header video {
        display: none;
    }
}
