@import url('font-style.css');
/* MENU */
nav {
    width: 100vw;
    height: auto;
    position: fixed;
    top: 0;
    left: 0; 
    padding: 2rem 8rem; 
    background-color: white; 
    z-index: 150;   
}

.ellena-sub-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 1rem black;
}

.sub-menu-header {
    width: 100vw;
    height: auto;
    color: black; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sub-menu-header h1 {    
    font-family: var(--font);
    font-size: 6rem;
    text-transform: uppercase;
    
}
    
.sub-menu-header p {
    font-size: 1.6rem;
}

.sub-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.sub-menu img {
    height: 60px;
}

.menu-items {
    display: flex;
    flex-direction: row;
}

.menu-item {
    padding: .5rem 2rem;
    text-decoration: none;
    color: var(--background-gray-color);
    text-transform: uppercase;
    font-size: 2rem;
}

.menu-items .menu-item:first-child {
    margin-right: 4rem;
}

.menu-item:hover {
    border-bottom: 1px solid black;
}

.menu-item a {
    color: black;
}

    /* sub-menu collapsed */
    .sub-menu-collapsed {
        width: 100%;
        height: 400px;
        display: none; 
        padding: 2rem 6rem;       
    }    
    /* end sub-menu collapsed */
.sub-menu-items-box {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: flex-start;
    visibility: hidden;
}

.sub-menu-active {
    visibility: visible;
}

.sub-menu-items {
    padding-right: 5rem;
    border-right: 1px solid #00000055;
}
.sub-menu-items ul li {
    margin: 2rem;
    font-size: 1.8rem;
    padding: .5rem;
    border-bottom: 1px solid #00000055;
}

.sub-menu-items ul li a{
    color: black;
}

.sub-menu-items-box img {
    padding: 2rem;
    object-fit: contain;
    width: 600px;
    height: 350px;
}
/* END MENU*/

.section-obrazy {
    margin: 200px 0;
    height: auto;
}

.obrazy-item {
    position: relative;
    display: flex;
    height: auto; 
    justify-content: center;
    align-items: center;
    margin: 2rem 0;  
    overflow: hidden;
    min-height: 900px;
}

    .obrazy-item .img-box {
        position: relative;
        height: 80vh;
        width: 50%;
        overflow: hidden;
    }

.obrazy-item img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    text-align: center;
}

.description-item {
    position: relative;
    height: auto;
    width: 0;
    right: 5rem;
    top: 10rem;
    opacity: 0; 
    display: none;    
}

    .description-item-active {
        display: flex;
        flex-direction: column;
        width: 40%;
    }

@keyframes description-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.description-anim {
    animation: description-animation 1s forwards 1s normal;    
}

@keyframes obraz-animation {
    0% {
        transform:translateX(0%);
    }
    100% {
        transform:translateX(-20%);
    }
}

.animation-obraz {
    animation: obraz-animation forwards 3s normal;
}

.mini-pic {
    position: relative;
    margin-top: 5rem;
    display: flex;
    height: auto;
    flex-direction: row;
    flex-flow: nowrap;    
    overflow-x: scroll;
}

.mini-pic img {
    height: auto;
    width: 25%;
    object-fit: cover;
    margin: 1rem;
    cursor: pointer;
}

.description-box {
    box-shadow: 0 0 3rem .2rem black;
    padding: 3rem 5rem;
}

.description-box > h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: .8rem;
}

.description-box > span {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 4rem;
}

    .description-box > p {
        margin: 2rem 0;
        font-size: 1.6rem;
        text-align: justify;
        font-family: var(--font);
        white-space: pre-wrap;
    }

.description-item-value {
    display: flex;
    flex-direction: row;
}

.description-item-value > * {
    line-height: 3rem;
}

.description-item-value > h1 {
    margin-right: 1rem;
}
.description-item-value span {
    font-size: 1.8rem;
}

.modal-img {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, .8);
    z-index: 250;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-open {
    visibility: visible;
}

.modal-img img {
    height: 100%;
}

.modal-img i {
    position: fixed;
    right: 2rem;
    top: 2rem;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

.modal-img #next-image,
.modal-img #prev-image {
    position: fixed;
    top: 50vh;
    width: 50px;
    height: 50px;
}

.modal-img #next-image {
    right: 2rem;

}
.modal-img #prev-image {
    left: 2rem;
}

.line {
    height: 5px;
    background-color: #000000cc;
    transform: skew(-45deg);
    width: 40%;
    margin: 1rem 0;
}

.index-header {
    width: 100vw;
    height: auto;
    color: black; 
    margin: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.index-header h1 {    
    font-family: var(--font);
    font-size: 10rem;
    text-transform: uppercase;
    
}
    
.index-header p {
    font-size: 1.8rem;
}