*{
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}
#banner{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,1)), url(media/Dish-Antenna-Farm.webp);
    background-size: cover;
    background-position: center;
    height: 100vh;
}
.logo{
    width: 10%;
    position: absolute;
    top: 5%;
    left: 10%;
}

.languageToggleContainer{
    position: absolute;
    top: 5%;
    right: 5%;
    height: 30px;
    width: 60px;
    background-color: transparent;
    border: 2px solid #fff;
    border-radius: 16px;
    cursor: pointer;
    overflow: hidden;
}
.language-toggle-slider{
    position: absolute;
    top: 0;
    left: 0;
    margin: 3px;
    height: 24px;
    width: 24px;
    border-radius: 12px;
    background-color: white;
    transition: 0.5s;
    z-index: 1;
}
.language-text-HR{
    position: absolute;
    top: 5px;
    right: -28px;
    height: 24px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}
.language-text-EN{
    position: absolute;
    top: 5px;
    left: -28px;
    height: 24px;
    color: white;
    font-size: 12px;
    font-weight: bold;
}
input[type="checkbox"]{
    visibility: hidden;
}
input[type="checkbox"]:checked + .language-toggle-slider{
    transition: 0.5s ease-in-out;
    transform: translateX(30px);
}
.langHR{
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
.langEN{
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.scroll-arrow{
    position: absolute;
    bottom: 5%;
    left: calc(50% - 15px);
    height: 0px;
    width: 0px;
    transform: rotate(45deg);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #fff;
    animation: scrollArrowAnimation 0.5s infinite alternate;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}
.scroll-arrow:hower{
    opacity: 0.3;
}
@keyframes scrollArrowAnimation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(10px);
    }
}

.banner-text{
    text-align: center;
    color: #fff;
    padding-top: 300px;
}
.banner-text h1{
    font-size: 50px;
}
.banner-text p{
    font-size: 20px;
    margin: 20px auto;
    line-height: 150%;
    font-style: italic;
}
.banner-button{
    margin: 70px auto 0;
}
.banner-button a{
    width: 200px;
    text-decoration: none;
    display: inline-block;
    margin: 0 10px;
    padding: 12px 0;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 25px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: color 0.5s;
}
.banner-button a span{
    width: 0;
    height: 100%;
    border-radius: 25px;
    position: absolute;
    top: 0;
    left: 0;
    background: #fff;
    z-index: -1;
    transition: 0.5s;
}
.banner-button a:hover span{
    width: 100%
}
.banner-button a:hover{
    color: #22314d;
}

#sideNav{
    width: 250px;
    height: 100vh;
    position: fixed;
    padding-top: 50px;
    right: -250px;
    top: 0;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.5)) #22314d;
    z-index: 2;
    transition: 0.5s
}
nav ul li{
    list-style: none;
    margin: 50px 20px;
}
nav ul li a{
    text-decoration: none;
    color: #fff;
}

#menubutton{
    width: 50px;
    height: 50px;
    text-align: center;
    position: fixed;
    right: 30px;
    top: 20px;
    border-radius: 3px;
    z-index: 3;
    cursor: pointer;
}
#menubutton img{
    width: 20px;
    margin-top: 15px;
}

@media screen and (max-width: 770px){
    .logo{
        width: 20%;
    }
    .banner-text h1{
        font-size: 30px;
        margin: 10px;
    }
    .banner-text p{
        margin: 10px;
    }
    .banner-button a{
        display: block;
        margin: 20px auto;
    }
}

/* About us */

#about-us{
    width: 100%;
    padding: 70px 0;
}
.about-us-title-text{
    text-align: center;
    padding-bottom: 20px;
}
.about-us-title-text h1{
    margin: auto;
    font-size: 50px;
    color: #22314d;
    font-weight: bold;
}
.about-us-box{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    justify-content: space-around;
    padding-top: 30px;
    padding-bottom: 30px;
}
.about-us-text{
    flex-basis: 48%;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #fff;
}
.about-us-text h1{
    margin-top: 10px;
    margin-bottom: 10px;
    color:#22314d
}
.about-us-text p{
    color: #22314d;
    text-align: justify;
    line-height: 150%;
}
.about-us-image{
    flex-basis: 48%;
    text-align: center;
    border-radius: 5px;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}
.about-us-image img{
    width: 100%;
    border-radius: 5px;
}
.overlay{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 5px;
    cursor: pointer;
    background: linear-gradient(rgba(0,0,0,0.5), #22314d);
    opacity: 0;
    transition: 0.5s;
}
.about-us-image:hover .overlay{
    opacity: 1;
}
.about-us-image-description{
    width: 80%;
    position: absolute;
    bottom: 0;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    transition: 0.5s;
}
hr{
    background: #fff;
    height: 2px;
    border: 0;
    margin: 10px auto;
    width: 60%;
}
.about-us-image-description p{
    font-size: 14px;
    line-height: 150%;
}
.about-us-image:hover .about-us-image-description{
    bottom: 40%;
    opacity: 1;
}

@media screen and (max-width: 770px){
    .about-us-title-text h1{
        font-size: 30px;
    }
    .about-us-title{
        flex-basis: 100%;
    }
    .about-us-text{
        flex-basis: 90%;
    }
    .about-us-text p{
        font-size: 12px;
    }
    .about-us-image{
        flex-basis: 90%;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .about-us-image-description h3{
        font-size: 16px;
    }
    .about-us-image-description p{
        font-size: 10px;
    }
    .about-us-image:hover .about-us-image-description{
        bottom: 20% !important;
    }
    hr{
        margin: 5px auto;
    }   
}

#contact{
    width: 100%;
    padding: 70px 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.9)) #22314d;
}
.contact-title-text{
    text-align: center;
    padding-bottom: 20px;
}
.contact-title-text h1{
    margin: auto;
    font-size: 50px;
    color: #fff;
    font-weight: bold;
}
.contact-box{
    width: 80%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    position: relative;
}
.contact-text{
    text-align: justify;
}
.contact-text p{
    color: #fff;
    line-height: 150%;
}
.contact-img{
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
}
.contact-img img{
    width: 20px;
}
.contact-text-email{
    position: absolute;
    top: 35%;
    left: 50px;
}
.contact-text-email a{
    text-decoration: none;
    color: #fff;
    font-size: 25px;
    font-weight: bold;
}
.contact-signout{
    text-align: center;
}
.contact-signout p{
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    line-height: 150%;
}

@media screen and (max-width: 770px){
    .banner-text{
        padding-top: 50%;
    }
    .contact-title-text h1{
        font-size: 30px;
    }
    .contact-text p{
        font-size: 12px;
    }
    .contact-text-email{
        top: 50%;
    }
    .contact-text-email a{
        font-size: 14px;
    }
    .contact-signout p{
        font-size: 30px;
    }
}