body,
html {
    height: 100%;
}

main {
    margin-top: 50px;

    /*centering*/
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.m-general-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-size: cover;
}

/* header */
header {
    display: flex;
    justify-content: space-between;
}

.m-logo {
    width: 210px;
    height: 70px;
}

.m-nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    right: 8%;
    height: 50%;

    background: rgba(6, 6, 6, 0.35);
    border-radius: 0px 0px 25px 25px;
    transition: all 0.5s ease;
}

.m-nav-button a,
span {
    margin: 10px 25px;
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    cursor: pointer;
}

nav>.m-nav-button {
    margin-right: 10px;
}

.m-nav-button:hover {
    padding-top: 5px;
    border-radius: 0px 0px 25px 25px;
    background: rgba(6, 6, 6, 0.55);
    filter: drop-shadow(0px 7px 20px rgba(138, 138, 138, 0.25));
}

@media (max-width: 450px) {

    header,
    nav {
        display: flex;
        flex-direction: column;
    }

    .m-nav-button {
        height: 50%;
        margin-top: 5px;
        width: 50%;

        background: rgba(6, 6, 6, 0.35);
        border-radius: 0px 25px 25px 0px;
        transition: all 0.5s ease;
    }

    .m-nav-button:hover {
        padding-top: 0px;
        width: 60%;
        border-radius: 0px 25px 25px 0px;
    }
}

/* articale */
.m-article-container {
    padding: 0px 0px 60px 100px;
    margin-bottom: 30px;

    background: rgba(0, 0, 0, 0.65);
    box-shadow: 0px 0px 20px 20px rgba(0, 0, 0, 0.65);
    border-radius: 0 120px 120px 0;
}

@media (max-width: 865px) {
    .m-article-container {
        padding-left: 65px;
    }
}

@media (max-width: 745px) {
    .m-article-container {
        min-width: 61vw;
    }
}


/* text */
h1 {
    font-family: 'Comforter Brush';
    font-style: normal;
    font-weight: 400;
    font-size: 66px;
    line-height: 90px;
    padding-bottom: 15px;
    padding-top: 15px;
    display: flex;
    align-items: center;

    color: #FFFFFF;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

p,
li {
    font-family: 'Mulish';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

    color: #FFFFFF;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

@media (max-width: 450px) {
    h1 {
        font-size: 50px;
    }

    p,
    li {
        font-size: 13px;
        line-height: 18px;
    }

    .m-article-container {
        padding-bottom: 15px;
        padding-right: 10px;
    }
}

@media (max-width: 370px) {
    h1 {
        font-size: 40px;
    }

    p,
    li {
        font-size: 13px;
        line-height: 18px;
    }

    .m-article-container {
        padding-left: 50px;
    }
}

@keyframes animate {
    from {
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}


/* cards */
.m-card {
    width: 100%;
    min-width: 100px;
    max-width: 300px;
    height: 35vh;
    margin-top: 20px;

    display: inline-block;
    background-position: 50% 50%;
    background-size: cover;
    box-shadow: inset 0px -60px 10px 10px rgba(0, 0, 0, 0.25);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    border-radius: 65px;

    cursor: pointer;
}

@media (max-width: 516px) {
    .col {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.m-card-hover-right {
    transition: background-position 0.8s ease;
    background-position: 50% 50%;
}

.m-card-hover-right:hover {
    background-position: 25% 25%;
}

.m-card-hover-left {
    transition: background-position 0.8s ease;
    background-position: 50% 50%;
}

.m-card-hover-left:hover {
    background-position: 75% 75%;
}

#card-container {
    /* xl */
    margin-left: 4vw;
    margin-bottom: 30px;
}


/* auxiliry */
.container-fuide {
    padding-right: 10%;
}

.m-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    /* Щоб бути поверх всього */
}