body {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(21, 21, 21, 1) 100%), url("../images/background.png");
    background-repeat: no-repeat;
    background-size: 100% 1000px;
    height: auto;
    background-color: #151515;
    font-family: 'Gilroy', sans-serif;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

@font-face {
    font-family: "Gilroy";
    src: url("../fonts/Gilroy-Semibold.eot");
    src: url("../fonts/Gilroy-Semibold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Gilroy-Semibold.woff") format("woff"),
         url("../fonts/Gilroy-Semibold.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

h1 {
    font-family: 'Gilroy', sans-serif;
    font-size: 36px;
    color: white;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.container2 {
    margin-top: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container2 h1 {
    text-align: center;
    margin-bottom: 50px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    width: 400px;
    height: 200px;
    margin: 10px 30px;
    border: 2px solid #252525;
    color: white;
    font-family: 'Gilroy', sans-serif;
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    background-color: #1b1b1e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box img {
    margin-bottom: 10px;
}

.box p {
    font-size: 16px;
    margin-bottom: 5px;
}

@media (max-width: 1199.98px) {
    .box {
        width: 100%;
        max-width: 400px; 
    }
}

.navbar {
    position: relative;
}

.btn-grad {
    border: 2px solid #ffffff;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-right: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-grad:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #ffffff;
}

.btn-other {
    border: 2px solid #ffffff;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-other:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #ffffff;
}

.slider {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    width: 100%;
    min-width: 700px;
    max-width: 700px;
    margin: 0 auto;
}
.slider img {
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
}
.slider img.active {
    opacity: 1;
    position: relative;
}
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
}
.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
}
.slider-indicator {
    text-align: center;
    margin-top: 10px;
    margin-right: -170px;
    font-size: 18px;
    color: #B1B2B1;
}

.language-switcher {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.combobox select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #a27aff;
    background-color: #292929;
    color: #ffffff;
    cursor: pointer;
}

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

.combobox::after {
    content: '';
    display: none;
}

.combobox select:focus {
    outline: none;
    border-color: #4caf50;
}



@media (max-width: 992px) {
    body {
        background-size: cover;
    }

    .container {
        margin-top: 30px;
    }

    .container2 {
        margin-top: 600px;
    }

    .box {
        width: 300px;
        height: auto;
        margin: 10px auto;
    }

    .slider {
        max-width: 90%; 
        min-width: auto;
    }

    .slider-indicator {
        margin-right: 0;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 28px;
    }

    .container,
    .container2 {
        flex-direction: column;
        margin-top: 20px;
    }

    .box {
        width: 80%;
        margin: 10px 0;
    }

    .slider {
        max-width: 100%;
        margin: 20px auto;
    }

    .language-switcher {
        margin-right: 0;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 22px;
    }

    .box p {
        font-size: 14px; 
    }

    .container2 {
        margin-top: 300px;
    }

    .slider-controls button {
        padding: 8px;
        font-size: 12px;
    }

    .slider-indicator {
        font-size: 14px;
    }
}
.overlay-menu {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: rgba(24, 24, 24, 0.95);
    overflow-y: hidden;
    transition: height 0.5s;
}

.overlay-menu-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.closebtn {
    position: absolute;
    top: 20px;
    right: 35px;
    font-size: 50px;
    text-decoration: none;
    color: #fff;
}

.overlay-menu-content ul {
    list-style: none;
    padding: 0;
}

.overlay-menu-content li {
    margin: 20px 0;
}

.overlay-menu-content a {
    font-size: 36px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.overlay-menu-content a:hover {
    color: #f1f1f1;
}

.btn-profile {
    margin-top: 30px;
    font-size: 20px;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    background-color: #6800ff;
    color: #fff;
    cursor: pointer;
}
.btn-profile:hover {
    background-color: #822eff;
}
