@font-face {
    font-family: "Dancing Script";
    src: url("DancingScript-VariableFont_wght.ttf");
}
@font-face {
    font-family: "Forum";
    src: url("Forum-Regular.ttf");
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-size: 1.4rem;
    font-family: "Cinzel", serif;
    font-optical-sizing: auto;
    background-color: black;
}

/*Logo box aliamgment*/
.main-tittle {
    color: white;
    text-align: center;
    padding: 0;
    font-size: 5rem;
    font-weight: 400;
    margin: 0;
}

.logo-box {
    margin: 0;
    display: flex;
    justify-content: center;
}

.logo {
    width: 13rem;
}
header {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin: auto;
    vertical-align: top;
}

/*TOP NAVIGATION SECTION*/
section {
    background: #ffffff;
    height: 3rem;
    display: flex;
    justify-content: center;
    font-family: "Forum", serif;
    margin-top: 3rem;

}

.link-box {
    width: 60%;
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
}

.link-box2 {
    width: 40%;
    display: flex;
    justify-content: space-between;
}

.rituali {
    display: flex;
    justify-content: right;
}

.link-title {
    text-decoration-line: none;
    color: #68ba7f;
    text-shadow: black 1px 1px 1px;
    font-size: 1.8rem;
    font-weight: 300;
}

/*ABOUT THE PLACE BOTTOM TEXT*/
article {
    background: linear-gradient(0.0turn,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.45) 50%,
    rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: row;
    color: white;
    height: 20rem;
    align-items: center;
    font-family: "Forum", serif;
    margin-top: 27rem;
}

.about-box {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    color: white;
}

.about-text {
    border-right: 2px solid white;
    padding: 0 2rem 0 2rem;
    width: 27%;
    /*text-align: center;*/
    height: 5rem;
    margin: 0;
}
.about-text-left {
    border-right: 2px solid white;
    padding: 0 2rem 0 2rem;
    width: 15%;
    height: 5rem;
}
.about-text-right {
    padding: 0 2rem 0 2rem;
    width: 20%;
    height: 5rem;
}

.page-name {
    font-size: 1.6rem;
    align-items: center;
    margin: 0;
}

.article-icons {
    width: 4rem;
    color: white;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.article-icons-gallery {
    width: 3rem;
    color: white;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.about-link {
    text-decoration-line: none;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.about-link-contacts {
    width: 4rem;
    text-decoration-line: none;
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-left: 4.6rem;
}

/*Main box code*/
.main-box {
    width: 100%;
    margin: 2rem auto;
    background-color: #5d6166;
}

/*WEBSITES BASE LAYER*/
main {
    border: 1px solid black;
    background-image: url("../img/mierapirts-img.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 1.3rem;
    margin: 0;
}

/* =========================
   TABLETS
========================= */

@media (max-width: 1024px) {

    .main-tittle {
        font-size: 4rem;
    }

    .logo {
        width: 10rem;
    }

    article {
        margin-top: 15rem;
        height: auto;
        padding: 2rem 0;
        flex-wrap: wrap;
        gap: 5rem;
    }

    .about-box {
        display: flex;
        justify-content: space-around;
        flex-direction: column;
        margin: 2rem;
        flex-wrap: wrap;
        gap: 5rem;
    }

    .about-text,
    .about-text-left,
    .about-text-right {
        width: 15rem;
        border-right: none;
        margin: auto;
        text-align: center;
        justify-content: center;
    }

    .about-link-contacts {
        text-align: center;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    header {
        align-items: center;
        text-align: center;
    }

    .main-tittle {
        font-size: 4rem;
    }

    .logo {
        width: 8rem;
    }

    article {
        flex-direction: column;
        margin-top: 8rem;
        text-align: center;
    }

    .article-icons {

    }

    .about-box {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 5rem;
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px) {

    .main-tittle {
        font-size: 3rem;
    }

    .article-icons {
        width: 3rem;
    }

    .article-icons-gallery {
        width: 2rem;
    }

}


