
/*Fonts*/

:root{
    --hero-title-font-size: clamp(1.375rem,1.038rem + 1.346vw,2.25rem);;
    --section-title-font-size: clamp(1rem, 0.598rem + 1.071vw, 1.563rem);;
    --section-paragraph-font-size: clamp(0.75rem, 0.571rem + 0.476vw, 1rem);;
    --primary-font-family: ;
    --black-font-color: #131313;
    --white-font-color: #FFF;
    --primary-green-color: #AECFA2;
    --card-padding: ;
}

*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
}

body{
    font-family: "Work Sans", sans-serif;
    display: flex;
    flex-direction: column;
}

a{
    text-decoration: none;
    color: var(--black-font-color);
}



/*Hero and Nav*/

.hero-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("../images/hero-background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: 0 6px 4px 0 rgba(0,0,0,.25);
    z-index: 100;
}

.nav{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 30px 15px;
    position: relative;
    max-width: 1120px;
   
}

.nav-logo{
    font-size: 25px;
    font-weight: bold;
    color: var(--white-font-color);
}

.nav-link{
    margin: 0 15px;
    color: var(--white-font-color);
    font-weight: bold;
    font-size: var(--section-paragraph-font-size);
    transition: color .2s ease-in;
}

.nav-link:hover{
    color: #AECFA2; 
}


.hero-button:hover{
    background-color: #87D26D;
}

.bars{
    display: none;
}

.nav-elements-mobile{
    display: none;
    
}

.nav-elements-mobile .nav-link{
    background-color: #fff;
}

.hero-text-container{
    margin: clamp(8.125rem, 3.661rem + 11.905vw, 14.375rem) 0;
    text-align: center;
    padding: 0 25px;
}

.hero-title{
    font-size: var(--hero-title-font-size);
    color: var(--white-font-color);
}

.hero-subtitle{
    font-size: var(--section-title-font-size);
    margin: 15px 0 50px 0;
    color: var(--white-font-color);
    font-weight: normal;
}

.hero-button{
    font-size: var(--section-paragraph-font-size);
    background-color: var(--primary-green-color);
    padding: 10px 15px;
    border-radius: 25px;
    cursor: pointer;
  
}



@media only screen and (max-width: 1050px){

    .nav-elements{
        display: none;
    }

    .bars{
        display: block;
        width: clamp(1.563rem, 0.446rem + 2.976vw, 3.125rem);
        cursor: pointer;
        filter: brightness(0) saturate(100%) invert(0%) sepia(100%) saturate(0%) hue-rotate(21deg) brightness(102%) contrast(102%);
    }

   .nav-visible{
    font-size: var(--section-paragraph-font-size);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    width: 100%;
    position: absolute;
    top:75px;
    animation-name: slide;
    animation-duration: .5s;
   }

   .nav-link{
    width: 100%;
    padding: 15px 0;
    margin: 0 auto;
    text-align: center;
    font-weight: normal;
    color: black;
    transition: background-color .1s ease-in-out;

   }

    .nav-link:hover{
    background-color: #AECFA2;
    color: black;
    
    }

    .nav{
        background: white;
    }

    .nav-logo{
        color: var(--black-font-color)
    }
}

    @keyframes slide{
        0%{
            left: -500px;
        }
        100%{
            left: 0;
        }
    }


/*Oznamy*/

    .annoucements{
        padding: 150px 25px 150px 25px ;
        max-width: 1120px;
        margin: 0 auto;
        font-size: var(--section-title-font-size);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;

    }

    .section-title{
        font-size: var(--section-title-font-size);
        text-transform: uppercase;
        text-align: center;
        width: 100%;
    }

    .cards-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 60px;
    }

    .card{
        background: white;
        border-radius: 10px;
        box-shadow: 0 6px 4px 0 rgba(0,0,0,.25);
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 55px 65px 50px 65px;
        position: relative;
        width: clamp(18.75rem, 11.097rem + 27.211vw, 43.75rem);
    }

    .card-title{
        font-size: var(--section-paragraph-font-size);
        font-weight: bold;
    }

    .card-content{
        font-size: var(--section-paragraph-font-size);
    }

    .card-bookmark-date{
        width: 48px;
        height: 72px;
        position: absolute;
        top: 0;
        left: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .bookmark-image{
        position: absolute;
        width: 48px;
        height: 72px;
        top:0;
        left: 0;
    }
    .card-date{
        font-size: clamp(0.625rem, 0.511rem + 0.404vw, 0.875rem);
        font-weight: bold;
        text-align: center;
        margin-top: 15px;
        word-break: none;
    }

/*FOOTER*/

.footer{
    background-color: #2D2D2D;
    
    padding: 50px 25px;
}

.footer-wrapper{
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.footer-contacts{
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.contacts-title{
    color: var(--white-font-color);
    font-size: var(--section-paragraph-font-size);
    font-weight: bold;
}

.contact-entry{
    color: var(--white-font-color);
    font-size: var(--section-paragraph-font-size);
}

.footer-firm-name{
    color: var(--white-font-color);
    font-size: var(--section-paragraph-font-size);
 
}

@media only screen and (max-width: 750px){
    .footer-wrapper{
        flex-direction: column;
        align-items: flex-start;
        gap: 50px;
    }
}

/*listy*/

.listy-content{
    margin: 100px auto;
   
}

.file-name,.action-link{
    font-size: var(--section-paragraph-font-size);
}

.files-container{
    display: grid; 
    grid-template-columns: repeat( 3 ,auto);
    grid-template-rows: min-content;   
    margin: 0 auto;
    max-width: 1020px;
    gap: 50px;
    justify-content: center;
    
}



.list-card{
    display: flex;
    flex-direction: row;
    width: fit-content;
    justify-content: center;
}

.file-name{
    align-self: center;
    background-color: #AECFA2;
    padding: 40px 20px;
    border-radius: 5px 0 0 5px;
    border-right: 1px solid #A1A1A1;
}

.file-actions{
 display: flex;
 flex-direction: column;   
 background-color: #E2E1E1;
 justify-content: space-evenly;
 border-radius: 0 5px 5px 0;
 padding: 0 20px;
}

.action-link{
    display: block;

}




@media only screen and (max-width: 750px){
    .files-container{
        grid-template-columns: repeat( 2 , min-content);
    }
}
@media only screen and (max-width: 450px){
    .files-container{
        grid-template-columns: repeat( 1 , min-content);
    }
}


/*FOTKY*/
.fotky-content{
    margin: 0 auto;
    max-width: 1020px;
    padding: 100px 25px;
}




.thumbnail-container{
    width: clamp(9.375rem, 2.679rem + 17.857vw, 18.75rem);
    height: clamp(9.375rem, 2.679rem + 17.857vw, 18.75rem);
    background-position: contain;
}

.gallery-container{
    display: grid; 
    grid-template-columns: repeat( 3 ,min-content);
    grid-template-rows: min-content;   
    margin-top: 50px;
    gap: 50px;
    justify-content: center;
}

.album-title{
    text-align: center;
    font-size: var(--section-paragraph-font-size);
    font-weight: bold;
    margin-top: 10px;
    word-break: normal;
}



.parent{
    position: relative;
}
.back-to-albums-link{
    font-size: 14px;
    display: block;
    position: absolute;
   top: clamp(0.19rem, 0.076rem + 0.305vw, 0.35rem);
   left: -30px;
  
}

.back-arrow{
    width: clamp(0.813rem, 0.5rem + 0.833vw, 1.25rem);
}


@media only screen and (max-width: 600px){
   

    .gallery-container{
        margin-top: 25px;
        grid-template-columns: repeat( 2 ,min-content);
        gap: 25px;
    }   
}


/*O NAS */

.about-content{
    padding: 100px 25px;
    max-width: 1020px;
    margin: 0 auto;
   display: flex;
   align-items: flex-start;
   flex-direction: column;
   gap: 25px;
}

.paragraph{
    max-width: 750px;
    
    font-size: var(--section-paragraph-font-size);
}

.download-history{
    display: block;
    color: #006DD1;
    font-size: var(--section-paragraph-font-size);
}

/*DOKUMENTY*/

.document-card{
    display: flex;
    align-items: center;
    flex-direction: row;
    width: clamp(18.75rem, 23.011rem + -15.152vw, 9.375rem);
}

.icon-container{
    background-color: #AECFA2;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0px 20px;
    border-radius: 5px 0 0 5px;
   
}

.flex-container{
    padding:20px 30px;
    height: 100%;
    background-color: #E2E1E1;
    border-radius: 5px 0px 0px 5px;
    width: 100%;
    display: flex;
    align-items: center;
}

.document-name{
    word-break: break-word;
    font-size: var(--section-paragraph-font-size);
}


.download-document-link{
    display: block;
    background-color: #AECFA2;
    padding: 0 20px;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 5px 5px 0;
}

.documents-content{
    max-width: 1020px;
    margin: 100px auto;
}

.documents-container{
    display: grid; 
    grid-template-columns: repeat( 3 ,auto);
    grid-template-rows: min-content;  
    gap: 50px; 
    margin: 0 auto;
    max-width: 1020px;
    margin-top: 50px;
}   

.documents-title{
    text-align: left;
}


@media only screen and (max-width: 1050px){
    .documents-container{
        grid-template-columns: repeat( 2 ,auto);
    }
}

@media only screen and (max-width: 700px){
    .documents-container{
        grid-template-columns: repeat( 1 ,auto);
    }
}

.no-data-announcement{
    font-size: var(--section-paragraph-font-size);
    font-weight: bold;
    color: var(--black-font-color);
}

/* KONTAKT */

.contacts{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
}

.secondary-contacts{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
}

.contacts-container{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 100px;
}

.contacts-content{
    max-width: 1020px;
    margin:  0 auto;
    padding: 200px 25px;
    position: relative;
}

.contact-title{
    margin-bottom: 50px;
}

 label{
    display: block;
    margin-bottom: 10px;;
    font-size: var(--section-paragraph-font-size);
    font-weight: bold;
 }

 .contact-form{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width:clamp(18.75rem, 14.489rem + 15.152vw, 28.125rem);
 }

.entry-subtitle{
    font-weight: bold;
    margin-bottom: 10px;
    font-size: var(--section-paragraph-font-size);
}

.contact-form-row{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
   
}

.contact-form-input{
    border: none;
    background-color: #E2E1E1;
    border-radius: 5px;
    padding: 15px 25px;
    width: 100%;
}   

.contact-form-textarea{
    border: none;
    background-color: #E2E1E1;
    border-radius: 5px;
   width: 100%;
    padding: 10px 15px;
}

.send-message-button{
    border: none;
    background-color: #AECFA2;
    font-size: var(--section-paragraph-font-size);
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
}

@media only screen and (max-width: 950px){
    .contacts-content{
        flex-direction: column;
        padding: 100px 25px;
    }

    .contacts-container{
        flex-direction: column;
        gap: 50px;
    }
}

.notification-invisible{
    display: none;
}
.notification-visible{
    display: block;
    position: absolute;
    top: 125px;
    padding: 15px 15px 15px 15px;
    background-color: white;
    border: 1px solid white;
    box-shadow: 0px 5px 5px 1px lightgray;
    border-radius: 0px 3px 3px 0;
    text-align: center;
    font-size: var(--section-paragraph-font-size);
    font-weight: bold;
    z-index: 100;
    animation-duration: 5s;
    animation-name: slidein;
    animation-fill-mode: forwards;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.bar-red{
    width: 3px;
    height: 25px;
    background-color: red;
    border-radius: 25px;
}
.bar-green{
    width: 3px;
    height: 25px;
    background-color: green;
    border-radius: 25px;
}

@keyframes slidein{
    0%{
        left: -500px;
    }
    25%{
        left: 0;
    }
    80%{
        opacity: 1;
    }
    100%{
        opacity: 0;
        display: none;
    }
}