body {
    background-image: url(./assets/5.png);
    background-attachment: fixed;
    background-size: auto;

    margin: 0;
}

h1,
h2,
h3 {
    color: #1569AE;
    font-family: Arial, sans-serif;
}

h1 {
    font-size: 2.125rem;
}

h2 {
    font-size: 1.75rem;
    margin: 1.25rem 0;
}

h3 {
    font-size: 1.125rem;
    margin: 0.625rem;
}

table tr th {
    color: black;
    font-size: 1rem;
}

footer {
    background-color: #222;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 2rem;
}

.footer-text {
    color: #bbb;
    font-size: 1rem;
}

.content-header i {
    font-size: 3.25rem;
    color: #1569AE;
}

.szechenyi-2020-container {
    position: fixed;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    border-style: none;
    border-width: 0;
}


/* Top */

.logo-container {
    position: absolute;
    top: 0;
    right: 0;

    background-color: transparent;
    height: 18.75rem;

    display: flex;
    align-items: center;
}

.slide-container {
    background-color: white;
    height: 18.75rem;
}

.mySlides {
    display: none;
    object-fit: cover;
    height: 18.75rem;
    width: 100%;
}

.menu-container {
    background-color: beige;
    height: 6.25rem;
}

.logo {
    width: 12.5rem;
    margin-right: 3.125rem;
}

/* Content */

.container {
    max-width: 90%;
    width: 75rem;

    margin: auto;
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
}

.main-content {
    background-color: white;
    border-radius: 0.3125rem;

    display: flex;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 6.25rem;
}

.content-header {
    margin: auto;
    padding-top: 0.625rem;
}

.content-title {
    margin: auto;
}

.content {
    margin: auto;
    padding: 0.625rem 5%;
}

.text {
    text-align: center;
    line-height: 1.5rem;
    font-size: 0.875rem;
    font-family: Arial, sans-serif;
    color: #545454;
}

.text-left {
    text-align: left;
    margin-left: 0.625rem;
}

.text-middle {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

.divider {
    border-top: 0.0625rem solid #bbb;

    width: 95%;
    margin: auto;
}

.divider-short {
    width: 12.5rem;
}

.border {
    border: 0.5rem #1569ae solid;
    border-radius: 0.25rem;
}

.zero-margin {
    margin: 0;
}

.center {
    text-align: center;
}

.gallery-title {
    margin-left: 1.875rem;
}

/* Images */

.content-image {
    max-height: 14.375rem;
    width: auto;
    height: auto;
}

.content-image-full {
    max-height: 360px;
    object-fit: cover;
}

.content-profile-image {
    max-height: 12rem;
    max-width: 12rem;
    height: auto;
    border-radius: 50%;
}

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin: 0;
}

.table-title {
    margin-left: 0.625rem;
}

.table-container {
    overflow-x: auto;
    display: flex;
    justify-content: center;
}

.margin-bottom {
    margin-bottom: 1.25rem;
}

.center {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.margin-top {
    margin-top: 1.25rem;
}

/* Button */

.button {
    display: flex;
    align-items: center;

    text-decoration: none;
    background-color: #5bc0de;
    border-radius: 0.1875rem;
    width: 12.1875rem;
    height: 2.5rem;
    margin: 0 auto;
}

.button-wide {
    width: 15.625rem;
}

.button-text-container {
    display: flex;
    align-items: center;
    color: #fff;
    margin: auto;
}

.button-text {
    font-weight: 800;
}

/* Map */

.map-container {
    margin: 0.625rem;
}

.map {
    width: 100%;
    height: 21.875rem;
}

/* Columns */

.column-container {
    display: flex;
    padding: 0 2%;
    margin-bottom: 3rem;
}

.column-3 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 33%;
}

.column-3-image {
    width: 100%;
}

.column-2 {
    display: flex;
    justify-content: center;
    flex-direction: column;

    width: 50%;
}

.column-top {
    justify-content: flex-start;
    height: 100%;
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
    background-color: transparent;
    width: 18.75rem;
    height: 12.5rem;
    perspective: 62.5rem;
    /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
}


/* Style the back side */
.flip-card-back {
    display: flex;
    justify-content: center;
    flex-direction: column;
    transform: rotateY(180deg);
}

/* Menu */

/* Add a black background color to the top navigation */
.topnav {
    background-color: #333333;
    overflow: hidden;
}

.topnav-stripe {
    background-color: #1569AE;
    height: 1.25rem;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 1.25rem 1.875rem;
    text-decoration: none;
    font-size: 1rem;
}

.topnav-text {
    font-size: 1.375rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.1em;
    letter-spacing: 0.4px;
}

/* Change the color of links on hover */
/* Add an active class to highlight the current page */
.topnav .topnav-text:hover,
.topnav a.active {
    background-color: #1569AE;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.topnav .material-icons {
    font-size: 3rem !important;
    padding-right: 1rem;
}

.mobile-view {
    display: none;
}

/* When the screen is less than 890 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 62rem) {
    .topnav a:not(:first-child) {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
        padding: 0rem;
    }
    
    .topnav a {
        font-size: 1rem;
        padding: 1.5rem 1.25rem;
    }

    .mobile-view {
        display: block;
    }

    .column-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .column-2, .column-3 {
        width: 100%;
    }

    .text {
        font-size: 1rem;
        line-height: 2rem;
    }

    .button {
        width: 14rem;
        height: 3rem;
    }
    
    .button-text {
        font-size: 1.25rem;
    }

    .button-wide {
        width: 16rem;
        height: 3.5rem;
    }

    .table-container {
        justify-content: flex-start;
    }
    
    .flip-card {
        width: 17rem;
        height: 10rem;
    }

    .content-image {
        max-height: 15rem;
    }

    .content-profile-image {
        max-height: 10rem;
        max-width: 10rem;
    }

    .logo-container {
        height: 12.75rem;
    }

    .logo {
        height: 8rem;
        width: 9rem;
        margin-right: 1.125rem;
        margin-top: 2rem;
    }

    iframe:not(.map) {
        width: 15rem;
        height: 10rem;
    }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 62rem) {
    .topnav.responsive {
        position: relative;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}

/* Language menu */
.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.25rem;

    background-color: transparent;
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;

}

.dropdown {
    position: absolute;
    top: 0;
    right: 1rem;
 
}

.dropdown img {
    width: 32px;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 5rem;
    z-index: 1;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 0.25rem;

    color: white;
    padding: 0.75rem 1rem;
    border-radius: 0.1rem;
    text-decoration: none;
    background-color: rgba(128, 128, 128, 0.6);
}

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

/* Gallery */


#portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.125rem;
    margin: 1.25rem;
}

.project img {
    max-height: 12.5rem;
    width: 18.75rem;

    object-fit: cover;
    vertical-align: middle;

    border: 0.125rem #1569ae solid;
    border-radius: 0.25rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    background: rgba(71, 69, 69, 0.7);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    z-index: 3;
}

.overlay.open {
    display: grid;
    align-items: center;
    justify-items: center;
}

.overlay__inner {
    background: #ffffff;
    padding: 2.25rem 1.25rem 1.25rem 1.25rem;
    position: relative;
    opacity: 1;
}

.close {
    position: absolute;
    top: 0.25rem;
    right: 0.625rem;
    background: none;
    color: #47454569;
    border: 0;
    text-transform: uppercase;
    font-size: 1.625rem;
    letter-spacing: 0.125rem;
}

.close:hover {
    color: black;
    cursor: pointer;
}

.german-column h2 {
    min-height: 4rem;
    text-align: center;
    display: flex;
    align-items: center;
}

.german-button {
    text-align: center;
    margin: 0 0.1rem;
}