body {
    background-color: rgb(195, 194, 194);
    font-family: Arial, sans-serif;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    background-color: #333;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: sticky;
    top: 0.5em;
    z-index: 1000;
}

li img.logo{
    height: 3.2em;
    width: auto;
    margin: 4px 30px;
    vertical-align: middle;
}

li {
    float: left; 
}

li:not(.language-picker) {
    margin-right: 20px; 
}

li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 30px;
    text-decoration: none;
    font-size: larger;
    transition: background-color 0.3s ease;
}

li a:hover {
    background-color: #111;
}

@media screen and (max-width: 768px) {
    #navbar-about,
    #navbar-contact {
        display: none;
    }
}

li.language-picker {
    margin-left: auto; 
    margin-right: 0.5em;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #333;
    color: white;
    padding: 14px 20px; 
    font-size: larger; 
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dropbtn:hover {
    background-color: #111;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; 
    right: 0; 
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
}

.dropdown-content a {
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
    border-radius: 0px;
}

.dropdown-content a:hover {
    background-color: #919191;
}

.dropdown:hover .dropdown-content {
    display: block;
}


@media screen and (min-width: 768px) {
    .contact-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 50px;
        max-width: 1200px;
        margin: 40px auto;
    }

    .contact-left {
        flex: 1;
        margin-left: 4em;
    }

    .contact-left h2 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .contact-left p {
        font-size: 18px;
        color: #666;
    }

    .contact-right {
        flex: 1;
        margin-right: 4em;
    }

    #contact-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    #contact-form input,
    #contact-form textarea,
    #contact-form button {
        padding: 12px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
        font-family: Arial, Helvetica, sans-serif;
        width: 100%;
    }

    #contact-form textarea {
        min-height: 10em;
        resize: none;
    }

    #contact-form button {
        padding: 12px;
        background-color: #007BFF;
        color: white;
        font-size: 18px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s;
        width: 105%;
    }

    #contact-form button:hover {
        background-color: #0056b3;
    }

    .hide {
        display: none !important;
    }
}

@media screen and (max-width: 768px) {
    .contact-left h2 {
        font-size: 36px;
        text-align: center;
        margin-bottom: 20px;
    }

    .contact-left p{
        font-size: 18px;
        text-align: center;
        color: #666;
    }

    .contact-right {
        text-align: center;
    }

    #contact-form {
        margin: 0 auto;
    }

    #contact-form input,
    #contact-form textarea,
    #contact-form button {
        padding: 12px;
        margin: 0.2em;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 18px;
        font-family: Arial, Helvetica, sans-serif;
        width: 75%;
}

    #contact-form textarea {
        min-height: 5em;
        resize: none;
    }

    #contact-form button {
        padding: 12px;
        background-color: #007BFF;
        color: white;
        font-size: 18px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background 0.3s;
        width: 80%;
    }

    #contact-form button:hover {
        background-color: #0056b3;
    }

    .hide {
        display: none !important;
    }
}

@media screen and (min-width: 768px) {
    .slider img {
        width: 60%;
        height: 33em;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.5s;
        border: #111 0.1em solid;
    }

    .slider {
        width:100%;
        height: 33.2em;
        position: relative;
    }
}

@media screen and (max-width: 768px) {
    .slider img {
        width: 70%;
        height: 14.9em;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.5s;
        border: #111 0.1em solid;
    }

    .slider {
        width:100%;
        height: 15em;
        position: relative;
    }
}

.slider img.active {
    opacity: 1;
}

.slider img:first-child {
    z-index: 1;
}

.slider img:nth-child(1) {
    z-index: 0;
}

.nav-button {
    text-align: center;
    position: relative;
}

.dot {
    cursor: pointer;
    height: 0.7em;
    width: 0.7em;
    margin: 0 2px;
    background-color: #969494;
    border-radius: 50%;
    display: inline-block;
}

.active, .dot:hover {
    background-color: #4e4d4d;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
    transform: translateY(-50%);
    z-index: 2;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

@media screen and (min-width: 768px) {
    .image-text{
        width: 62%;
        position: relative;
        height: 3em;
        left: 50%;
        transform: translateX(-50%);
        background-color: #9d9b9b;
        margin: 0.5em 0 0.5em 0;
    }

    .image-text p {
        width: 62%;
        height: 2em;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.5s;
        text-align: center;
        background-color: #9d9b9b;
        font-family: 'Courier New', Courier, monospace;
    }
}

@media screen and (max-width: 768px) {
    .image-text{
        width: 70%;
        position: relative;
        height: 5em;
        left: 50%;
        transform: translateX(-50%);
        background-color: #9d9b9b;
        text-align: center;
    }

    .image-text p {
        width: 95%;
        height: 3.5em;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.5s;
        text-align: center;
        background-color: #9d9b9b;
        font-family: 'Courier New', Courier, monospace;
    }
}

.image-text p.active{
    opacity: 1;
}

@media screen and (min-width: 768px) {
    .about{
        width: 70%;
        display: block;
        padding-top: 2em;
        margin: auto;
        text-align: center;
    }

    .about div p{
        text-align: justify;
        padding-left: 5em;
    }
}


@media screen and (max-width: 768px) {
    .about{
        width: 100%;
        display: block;
        margin-left: auto;
        margin-right: auto;
        padding-top: 2em;
    }

    .about p {
        padding-left: 1em;
        padding-right: 1em;
        
    }
}


.footer {
    background: linear-gradient(to right, #1a1a1a, #2c2c2c);
    color: #ccc;
    padding: 2em 1em;
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2em;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.downloads a {
    color: #aaa;
    margin: 0.3em 0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.downloads a:hover {
    color: #fff;
    text-shadow: 0 0 5px #979e9d;
}

.contact div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5em 0;
    color: #bbb;
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.contact div:hover {
    transform: translateY(-3px);
    color: #fff;
}

.footer i {
    font-size: 1.5em;
    margin-bottom: 0.3em;
    color: #c4cac9;
}

.about-p{
    text-align: justify;
    color: #666;
    padding-right: 5em;
    font-size: x-large;
}