/* GENERAL SETTING */
body {
    margin: 0;
    overflow-x: hidden;
}
a {
    text-decoration: none;
}



/* COLORING */
.white {
    color: white;
}
.black {
    color: black;
}
.center_text {
    text-align: center;
}



/* FONTS & TEXT */

/* MAIN TITLE */
h1 {
    font-family: "Cormorant SC", serif;
    font-weight: 600;
    font-style: normal;
    font-size: 2.4rem;
    margin: 0;
}
/* TITLE */
h2 {
    font-family: "Cormorant SC", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 3.5rem;
    margin: 0;
}
/* ALL TEXT */
p {
    font-family: "Crimson Text", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7rem;
}
/* TEXT IN BUTTON */
span, button, a, .btn {
    font-family: "Cormorant SC", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.3rem;
}
/* CATEGORY TEXT */
p.category_text {
    font-family: "Cormorant SC", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.7rem;
}
i {
    color: black;
    font-size: 1.8rem;
}


/* ANIMATIONS */
@keyframes fade_in {
    0% {
        filter: brightness(0.1);
    }
    100% {
        filter: brightness(0.6);
    }
}
@keyframes slidein_top {
    0% {
        position: absolute;
        top: -1900px;
    }
    100% {
        top: 0px;
        position: relative;
    }
}
@keyframes slidein_left {
    0% {
        position: absolute;
        left: -1900px;
    }
    100% {
        left: 0px;
        position: relative;
    }
}
@keyframes fade {
    from {opacity: .1}
    to {opacity: 1}
}




/* JAVASRIPT REACT */
.header.transparent_header {
    background-color: rgba(255, 255, 255, 0.9) !important;
    height: 7rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}



/* GENERAL CLASSES */
.more_button {
    width: 13rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    margin-top: 2rem;
}
.white_button {
    border: 1px solid #cfcfcf;
}
.black_button {
    border: 1px solid gray;
}
.white_button:hover {
    background-color: #e1e0e02e;
    transition: .3s;
}
.black_button:hover {
    background-color: #b3afaf2b;
    transition: .3s;
}
.container {
    max-width: 1900px;
    margin: auto;
    padding: 8rem 10vw;
}
.slides {
    display: none;
    width: 90%;
}
.fade {
    animation-name: fade;
    animation-duration: 2.5s;
}
.animate-left, .animate-right {
  opacity: 0;
}
.image-wrapper {
    width: 23rem;
}
.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}


/* SITE CSS */
#menu {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: #fffffff5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3rem;
	pointer-events: none;
    z-index: 2;
    p {
        margin: 0;
        font-size: 2.1rem;
    }
    .facebook, .email {
        width: 2rem;
    }
}
#menu.open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.header {
    width: 100vw;
    height: 9rem;
    display: flex;
    justify-content: center;
    background-color: #ffffff;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    transition: background-color 0.5s ease, height 0.3s ease;
    will-change: transform, opacity;
}
.brand {
    width: calc(30% - 2rem);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 2rem;

}
.categories {
    width: 40%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.social {
    width: calc(30% - 3rem);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    padding-right: 3rem;
    gap: 3rem;
    p {
        margin: 0;
    }
}
.social_menu {
    display: flex;
    gap: 2rem;
}
#menu_btn {
    display: none;
    z-index: 3;
}



.about_container {
    display: flex;
    background-color: #f5eee6;
}
.about_wrap {
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 8rem 3vw;
    gap: 5rem;
}
.about_text_banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    .media_container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
.about_text_banner p {
    max-width: 70rem;
    text-align: center;
}
.about_image_banner {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
    padding: 5rem 0;
    img {
        filter: drop-shadow(3px 3px 7px black);
    }
}
.vertical_portrait {
    height: 35rem;
    width: 23%;
    background-image: url(https://expertphotography.b-cdn.net/wp-content/uploads/2019/04/female-face-girl-posing-outdoors-in-natural-light.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.horizontal_portrait {
    height: 35rem;
    width: 45%;
    background-image: url(https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRn-gVcFRnlD8q2V2mQhqLBrIYWe-OsCCsjkw&s);
    background-repeat: no-repeat;
    background-size: cover;
}



.credit_container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 8rem 3vw;
    gap: 5rem;
}
.credit_text {
    display: flex;
    justify-content: center;
}
.credit_wrapper {
    display: flex;
    justify-content: space-around;
}
.credit_banner {
    width: fit-content;
    display: flex;
    flex-direction: column;
}
.profile_photo {
    height: 13rem;
    width: 13rem;
    display: flex;
    margin: 0 0 3rem 0;
    border-radius: 10rem;
    background-image: url(https://www.praha5.cz/app/uploads/2023/09/Volba-nov%C3%A9-pan%C3%AD-starostky-v%C3%BDb%C4%9Br-1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.text {
    display: flex;
    max-width: 13rem;
}
p.text {
    font-weight: 600; 
    font-style: italic;
    font-size: 25px;
}



.footer {
    display: flex;
    padding: 8rem 10vw;
    background-color: #ebdbca;
    flex-direction: column;
    align-items: center;
}
.footer p {
    font-family: "Cormorant SC", serif;
    font-weight: 500;
    font-style: normal;
    margin: 0.5rem;
    text-align: center;
}
.footer a {
    font-family: "Cormorant SC", serif;
    font-weight: 500;
    font-style: normal;
    color: black;
}




@media (max-width: 1024px) {
    /* GENERAL */
    h1 {
        font-size: 1.7rem;
    }
    h2 {
        font-size: 3rem;
    }
    p {
        font-size: 1.5rem;
    }

    .image-wrapper {
        width: 85vw;
    }

    /* HEADER */
    .header {
        height: 8rem;
        .brand {
            width: calc(50% - 2rem);
        }
        .categories {
            display: none;
        }
        .social {
            width: calc(50% - 2rem);
            gap: 1.5rem;
            #menu_btn {
                display: flex;
            }
            .facebook_menu, .email_menu {
                width: 1.5rem;
            }
            .facebook, .email {
                display: none;
            }
        }
    }
    .transparent_header {
        height: 6rem !important;
    }

    /* ABOUT */
    .about_container {
        flex-direction: column;
        .about_wrap {
            padding: 6rem 0;
            gap: 3rem;
            .about_text_banner p {
                max-width: 85vw;
            }
        }
        .about_image_banner {
            flex-direction: column;
            align-items: center;
            .horizontal_portrait {
                height: 35rem;
                width: 85vw;
            }
            .vertical_portrait {
                height: 40rem;
                width: 85vw;
            }
        }
        .about_text_banner {
            video {
                width: 95vw;
            }
        }
    }

    /* CREDITS */
    .credit_container {
        gap: 3rem;
        padding: 6rem 0;
        .credit_wrapper {
            flex-direction: column;
            align-items: center;
            gap: 3rem;
            .credit_banner {
                .profile_photo {
                    margin: 0;
                }
            }
        }
    }

    /* FOOTER */
    .footer {
        padding: 4rem 10vw;
    }
}