*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline: none;
    font-family: var(--ff), ubuntu, sans-serif;
}

nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 5px 0;
    background-color: var(--black) !important;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100vw;
    z-index: 1000;

}

nav .nav-header {
    display: flex;
    align-items: center;
}

nav .logo {
    width: 80px;
    cursor: pointer;
    margin-left: 20px;
}

nav .menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

nav .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 4px 0;
    transition: 0.3s;
}

nav ul {
    display: flex;
    justify-content: flex-start;
    flex: 1;
    padding-right: 40px;
    text-align: right;
    list-style-type: none;
    align-items: center;
}

ul li {
    position: relative;
    margin-right: 10px;
}

ul li a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--white);
    font-size: 16px;
}

ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    transform: translateX(-50%) translateY(0px);
    height: 3px;
    background: var(--red);
    transition: 0.3s;
}

ul li a:hover::after {
    width: 38%;
}

ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}

ul li .dropdown li {
    width: 200px;
}

ul li .dropdown li a {
    padding: 10px;
    color: var(--white);
    text-align: left;
    font-size: 14px;
    display: block;
    white-space: nowrap;
}

ul li .dropdown li a:hover {
    background-color: #575757;
}

ul li:hover .dropdown {
    display: block;
}

@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 5px 10px;
    }

    nav .nav-header {
        width: 100%;
        justify-content: space-between;
    }

    nav .menu-toggle {
        display: flex;
        margin-right: 0;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
        background-color: #222;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
        text-align: left;
        margin: 0;
        padding: 10px 0;
    }

    nav ul li a {
        padding: 10px 20px;
    }

    nav .menu-toggle.active {
        justify-content: flex-end;
    }

    nav .menu-toggle.active + ul {
        padding-top: 5px;
    }

    nav .menu-toggle.active + ul li {
        padding-left: 20px;
    }

    footer .box-container {
        display: flex;
        flex-direction: column;
    }

    .language-toggle {
        margin-right: 20px;
    }

    .language-toggle button {
        background: #333;
        color: #fff;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        margin-left: 10px;
    }

    .language-toggle button:hover {
        background: #555;
    }

    .more-info-button {
        align-items: center;
        appearance: none;
        background-color: #f00;
        border-radius: 24px;
        border-style: none;
        box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
        box-sizing: border-box;
        color: #3c4043;
        cursor: pointer;
        display: inline-flex;
        fill: currentcolor;
        font-family: "Google Sans",Roboto,Arial,sans-serif;
        font-size: 14px;
        font-weight: 500;
        height: 48px;
        justify-content: center;
        letter-spacing: .25px;
        line-height: normal;
        max-width: 100%;
        overflow: visible;
        padding: 2px 24px;
        position: relative;
        text-align: center;
        text-transform: none;
        transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        width: auto;
        will-change: transform,opacity;
        z-index: 0;
        text-decoration: none;
    }
}

.dropdown.active {
    display: block !important;
}

.language-toggle {
    margin-right: 20px;
}

.language-toggle button {
    background: #333;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    margin-left: 10px;
}

.language-toggle button:hover {
    background: #555;
}

.footer .box-container{
    margin-bottom: 20px;
    margin-top: 30px;
    display: flex;
    gap: 1.5rem;
    justify-content: space-around !important;
    display: flex;
    flex-direction: row;
}

.footer .box-container .box h3{
    color: #333;
    font-size: 2rem;
    padding: 1rem 0;
}

.footer .box-container .box a{
    display: block;
    color: #666;
    font-size: 1rem;
    padding: 0.5rem 0;
    text-decoration: none;
}


.footer .box-container .box  a:hover{
    color: #f00;
    text-decoration: none;
}

.footer .box-container .box img{
    margin-top: 1rem;
}

.footer .credit{
    text-align: center;
    padding: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color: #333;
    border-top: .1rem solid rgba(0,0,0,.1);
}

.footer .credit span{
    color: var(--pink);
}

@media (max-width:768px){
    .footer .box-container {
        margin-bottom: 20px;
        margin-top: 30px;
        margin-left: 20px;
        display: flex;
        gap: 1.5rem;
        justify-content: space-around !important;
        flex-direction: column;
    }
}

.more-info-button {
  align-items: center;
  appearance: none;
  background-color: #f00;
  border-radius: 24px;
  border-style: none;
  box-shadow: rgba(0, 0, 0, .2) 0 3px 5px -1px,rgba(0, 0, 0, .14) 0 6px 10px 0,rgba(0, 0, 0, .12) 0 1px 18px 0;
  box-sizing: border-box;
  color: #ede8e8;
  cursor: pointer;
  display: inline-flex;
  fill: currentcolor;
  font-family: "Google Sans",Roboto,Arial,sans-serif;
  font-size: 14px;
  font-weight: 500;
  height: 48px;
  justify-content: center;
  letter-spacing: .25px;
  line-height: normal;
  max-width: 100%;
  overflow: visible;
  padding: 2px 24px;
  position: relative;
  text-align: center;
  text-transform: none;
  transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1),opacity 15ms linear 30ms,transform 270ms cubic-bezier(0, 0, .2, 1) 0ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: auto;
  will-change: transform,opacity;
  z-index: 0;
  text-decoration: none;
}