@import url('https://fonts.googleapis.com/css2?family=Livvic:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: white;
    font-family: "Livvic", sans-serif;
  font-weight: 400;
  font-style: normal;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.header{
    width: 100%;
    height: 200px;  
    background: url(../../slike/pageImg/footer.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header section nav .nav:nth-child(2){
    display: none;
}
.header .overlay{
    width: 100%;
    height: 200px;
    background: #27B210;
    opacity: 30%;
    position: absolute;
}
.header section{
    width: 90%;
    height: 200px;
    z-index: 2;
    position: relative;
}
.header section nav{
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.header section nav img{
    width: 140px;
}
.header section nav ul{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 760px;
    list-style-type: none;
    
}
.header section nav ul li a{
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
}
.container{
    width: 60%;
    height: auto;
    padding: 130px 0;
    z-index: 2;
    position: relative;
    background: white;
}
.container h1{
    color: #110E0E;  
    font-size: 48px;
    font-weight: 500;
    border-left: 10px solid #508D4E;
    padding-left: 15px;
    margin: 30px 0;
}
.container p{
    font-size: 24px;
    color: #3E433F;
    margin: 15px 0;
    text-align: justify;
}
.container div{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.container div img{
    margin: 30px 0;
    width: 60%;
}
footer{
    width: 100%;
    height: 500px;
    background: url(../../slike/pageImg/footer.jpg);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .overlay{
    width: 100%;
    height: 500px;
    background: #27B210;
    opacity: 30%;
    position: absolute;
}
footer section{
    width: 90%;
    height: 100%;
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    color: white;
}
footer section div:nth-child(1){
    width: 450px;
    height: 300px;
    display: flex;
    flex-direction: column;
    
}
footer section div:nth-child(1) h2{
    font-size: 24px;
    margin-bottom: 30px;
}
footer section div:nth-child(1) p{
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-align: justify;
    letter-spacing: 3px;
    line-height: 30px;
}
footer section div:nth-child(2){
    
    width: 500px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
footer section div:nth-child(2) h2{
    font-size: 24px;
    margin-bottom: 30px;
}
footer section div:nth-child(2) ul{
    list-style-type: none;
    display: flex;
    align-items: self-start;
    flex-direction: column;
}
footer section div:nth-child(2) ul li a{
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 3px;
}
footer section div:nth-child(2) ul li{
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer section div:nth-child(2) p{
    font-size: 16px;
    font-weight: 600;
    margin: 25px 0 5px 0;
    color: white;
    letter-spacing: 3px;
}
footer section div:nth-child(2) a{
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-decoration: underline;
    letter-spacing: 2px;
}

footer section div:nth-child(3){
    width: 350px;
    height: 300px;  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
footer section div:nth-child(3) img{
    width: 190px;
}
footer section div:nth-child(3) p{
    color: white;
    line-height: 30px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
}
.header .mobile{
    display: none;
}

@media screen and (max-width: 1500px) {
    .header section nav{
        flex-direction: column;
    }
    .header section nav ul{
        display: none;
    }
    .header section nav .nav:nth-child(2){
        display: block;
        top: 50px;
        color: white;
        font-size: 35px;
        top: 50px;
        right: 50px;
    }
    .header .mobile{  
        position: absolute;
        width: 60%;
        height: 100vh;
        background-color: #508D4E;
        right: -60%;
        z-index: 9999;
        top: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        flex-direction: column;
        transition: .3s ease;        
    }
    .header .mobile.active{
        right: 0;
    }
    .header .mobile ul{
        list-style: none;
    }
    .header .mobile ul li{
        text-align: center;
        margin: 50px 0;
    }
    .header .mobile ul li a{
        text-decoration: none;
        color: white;
        font-size: 35px;
        font-weight: 500;
        letter-spacing: 3px;
    }
    .header .mobile .off{
        position: absolute;
        color: white;
        font-size: 35px;
        top: 50px;
        right: 50px;
        z-index: 9999;
    }
    .header section .icons{
        display: none;
    }
    .header .mobile .icons{
        width: auto;
        height: 50px;
        margin-top: 50px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .header .mobile .icons .fa-facebook-f{
        color: white;
        font-size: 30px;
        margin-right: 20px;
    }
    .header .mobile .icons a{
        text-decoration: none;
        color: white;
        font-size: 23px;
    }
    .header .mobile .icons p{
        color: white;
        font-size: 25px;
        margin: 0 10px;
        padding-bottom: 3px;
    }
    .container{
        width: 80%;
        width: 60%;
        height: auto;
        padding: 130px 0;
        z-index: 2;
        position: relative;
        background: white;
    }
    .container div img{
        width: 90%;
    }
    footer{
        width: 100%;
        height: 500px;
        background: url(../../slike/pageImg/footer.jpg);
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    footer .overlay{
        width: 100%;
        height: 500px;
        background: #27B210;
        opacity: 30%;
        position: absolute;
    }
    footer section{
        width: 90%;
        height: 100%;
        z-index: 2;
        position: relative;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: row;
        color: white;
    }
    footer section div:nth-child(1){
        width: 300px;
        height: 300px;
        display: flex;
        flex-direction: column;
        
    }
    footer section div:nth-child(1) h2{
        font-size: 24px;
        margin-bottom: 30px;
        letter-spacing: 3px;
    }
    footer section div:nth-child(1) p{
        font-size: 12px;
        font-weight: 600;
        color: white;
        text-align: justify;
        letter-spacing: 3px;
        line-height: 30px;
    }
    footer section div:nth-child(2){
        
        width: 300px;
        height: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    footer section div:nth-child(2) h2{
        font-size: 24px;
        margin-bottom: 30px;
    }
    footer section div:nth-child(2) ul{
        list-style-type: none;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    footer section div:nth-child(2) ul li a{
        text-decoration: none;
        color: white;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 3px;
    }
    footer section div:nth-child(2) ul li{
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer section div:nth-child(2) p{
        font-size: 16px;
        font-weight: 600;
        margin: 25px 0 5px 0;
        color: white;
        letter-spacing: 3px;
        text-align: center;
    }
    footer section div:nth-child(2) a{
        font-size: 16px;
        font-weight: 600;
        color: white;
        text-decoration: underline;
        letter-spacing: 2px;
    }
    
    footer section div:nth-child(3){
        width: 250px;
        height: 300px;  
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    footer section div:nth-child(3) img{
        width: 190px;
    }
    footer section div:nth-child(3) p{
        color: white;
        line-height: 30px;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 3px;
    }
}
@media screen and (max-width: 1000px) {

    .container{
        width: 90%;
    }
   
    footer{
        width: 100%;
        height: 1050px;
        background: url(../../slike/pageImg/footer.jpg);
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    footer .overlay{
        width: 100%;
        height: 1050px;
        background: #27B210;
        opacity: 30%;
        position: absolute;
    }
    footer section{
        width: 90%;
        height: 100%;
        z-index: 2;
        position: relative;
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 20px;
        justify-content: center;
        align-items: center;
        color: white;
    }
    footer section div:nth-child(1){
        width: 100%;
        height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }
    footer section div:nth-child(1) h2{
        font-size: 24px;
        margin-bottom: 30px;
        letter-spacing: 3px;
    }
    footer section div:nth-child(1) p{
        font-size: 15px;
        font-weight: 600;
        color: white;
        text-align: center;
        letter-spacing: 3px;
        line-height: 30px;
    }
    footer section div:nth-child(2){       
        width: 100%;
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    footer section div:nth-child(2) h2{
        font-size: 24px;
        margin-bottom: 30px;
    }
    footer section div:nth-child(2) ul{
        list-style-type: none;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    footer section div:nth-child(2) ul li a{
        text-decoration: none;
        color: white;
        font-weight: 600;
        font-size: 16px;
        letter-spacing: 3px;
    }
    footer section div:nth-child(2) ul li{
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    footer section div:nth-child(2) p{
        font-size: 16px;
        font-weight: 600;
        margin: 25px 0 5px 0;
        color: white;
        letter-spacing: 3px;
        text-align: center;
    }
    footer section div:nth-child(2) a{
        font-size: 16px;
        font-weight: 600;
        color: white;
        text-decoration: underline;
        letter-spacing: 3px;
    }
    
    footer section div:nth-child(3){
        width: 100%;
        height: 300px;  
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    footer section div:nth-child(3) img{
        width: 190px;
    }
    footer section div:nth-child(3) p{
        color: white;
        line-height: 30px;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 3px;
    }
   
}

@media screen and (max-width: 700px) {
    .header .mobile{
        width: 80%;
        right: -80%;
    }
}
@media screen and (max-width: 600px) {
    .header section nav img{
        width: 140px;
    }
    .header .mobile ul li a{
        font-size: 30px;
    }
    .header section h1{
        font-size: 37px;
        width: 70%;
    }
    footer{
        height: 1300px;
    }
    footer .overlay{
        height: 1300px;
    }

}