body
{
    background-image: url('images/Bernat_waves2.jpg');
    background-size: auto;
    font-family: sans-serif;
}

.subject
{
    background-color: rgba(248, 255, 251, 0.259);
    margin-left: 3%;
    margin-bottom: 10px;
    border-radius: 5px;
    animation: fadeIn 1s ease-out forwards;
    opacity:0;
    width: fit-content;
}



@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(50px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }





body a
{
    color: rgb(0, 6, 114);
    text-decoration: none;
}

body a:hover
{
    color: rgb(0, 55, 6);
}

/* Basic styles for the button container */
.button-container {
    display: inline-flex;
    justify-content: center;
    background-color: rgba(203, 132, 0, 0.2);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    margin-bottom: 50px;
}


.button-centerer {
    display: flex; /* Use flexbox to center the contents of the button-container*/
    justify-content: center; /* Center the button container horizontally */
    width: 100%; /* Full width to allow centering */
}



button
{
    border-radius: 5px;
    background-color: rgb(173, 240, 223);
    color: rgb(4, 31, 92);
    font-size: 16px;
    padding: 5px ;
    margin: 0 2px;
    transition: background-color 0.3s;
}


a.button
{
    background-color: rgba(21, 0, 253, 0.15);
    color: rgb(9, 78, 23);
    font-size: 16px;
    margin: 0 2px;
    padding: 5px ;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 2px solid black;
    border-left-color: rgb(90, 90, 90);
    border-top-color: rgb(90, 90, 90);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for 3D effect */
    font-family: sans-serif;

}



a.button:hover
{
    color: rgb(0, 35, 118);
    background-color: rgba(253, 173, 0, 0.153);

}

a.button:active
{
    border: 2px solid black;
    border-right-color: rgb(90, 90, 90);
    border-bottom-color: rgb(90, 90, 90);
}

/* Dropdown container styles */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Styles for the button that triggers the dropdown */
.dropbtn {
    background-color: rgba(21, 0, 253, 0.15);
    color: rgb(9, 78, 23);
    padding: 0px, 0px;
    font-size: 16px;
    border-radius: 5px;
    margin: 0 2px;
    height: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

/* Change button color on hover */
.dropbtn:hover {
    background-color: rgb(173, 240, 223);
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(203, 132, 0, 0.2);
    min-width: 150px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;

}

/* Dropdown links styles */
.dropdown-content a {
    color: rgb(0, 35, 118);
    background-color: rgba(253, 173, 0, 0.4);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-family: sans-serif;
    border-radius: 5px;
    transition: background-color 0.3s;

}

/* Change background color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: rgba(21, 0, 253, 0.15);
    color: rgb(9, 78, 23);
}

/* Show the dropdown menu when hovering over the dropdown container */
.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    color: rgb(0, 35, 118);
    background-color: rgba(253, 173, 0, 0.153);
}














a.lang-button-active 
{
    margin: 0 2px;
    border-radius: 5px;
    border: 2px solid black;
    border-right-color: rgb(90, 90, 90);
    border-bottom-color: rgb(90, 90, 90);
    max-height: 29px;

}


a.lang-button-inactive 
{
    margin: 0 2px;
    border-radius: 5px;
    border: 2px solid black;
    border-left-color: rgb(90, 90, 90);
    border-top-color: rgb(90, 90, 90);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for 3D effect */
    max-height: 29px;

}

.flag
{
    width: 30px; height: 29px;border-radius: 3px;
}