* {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 16px;
}

h3 {
    font-size: 2.5em;
}

body {
    /* background-color: #C70000; */
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header {
    display: flex;
    row-gap: 2em;
    flex-direction: column;
    width: 100%;
    text-align: center;
}

.container {
    padding-top: 5em;
    padding-bottom: 5em;
}

.location-container {
    display: flex;
    width: 100%;
    justify-content: center;
}

.location-box {
    position: relative;
    overflow: hidden;
    width: 50%;
    height:715px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}

.location-box h1 {
    font-size: 100px;
    position: absolute;
    color: white;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
}

.location-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    filter: brightness(0.3);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
}

.location-box:hover::before{
    transform: scale(1.1);
    filter: brightness(0.8);
} 

.location-box:hover h1{
  transform: scale(1.3);
} 

.box-vienna::before {
    background-image: url(../img/Wien.jpg);
}

.box-innsbruck::before {
    background-image: url(../img/Innsbruck.jpg);
}

.location-bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: black;
    filter: opacity(0.5);
    animation-duration: 3s;
}

.location-pannel {
    display: none;
}

.popup-bg {
    height: 100vh;
    position: absolute;
    width: 100%;
    background-color: black;
    z-index: 100;
    filter: opacity(0.5);
}

.popup {
    width: 50%;
    border-radius: 50px;
    padding: 3em;
    position: absolute;
    display: grid;
    gap: 50px;
    z-index: 101;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
}

.popup-item {
    width: 100%;
    text-align: center;
}

.popup-item:nth-child(1) {
    grid-row: 1;
    grid-column-start: 1;
    grid-column-end: 3;
    margin: auto;
}

.popup-item:nth-child(2) {
    grid-row: 2;
    grid-column: 1;
}

.popup-item:nth-child(3) {
    grid-row: 3;
    grid-column: 2;
}

.popup-innsbruck .popup-item:nth-child(1){   
    grid-column-start: 1;
    grid-column-end: 1;
}

.popup-innsbruck .popup-item:nth-child(3){   
    grid-row: 2;
}

.popup-vienna {
    display: none;
}

.popup-innsbruck {
    display: none;
}

.popup-bg {
    display: none;
}

@media only screen and (max-width: 1950px) {
    .location-box h1 {
        font-size: 60px;
    }
}
@media only screen and (max-width: 1350px) {
    .location-container {
        flex-direction: column;
    }

    .location-box {
        width: 100%;
        height: 280px;
    }
}

@media only screen and (max-width: 1022px) {
    .popup {
        width: 80%;
    }   
}

@media only screen and (max-width: 600px) {
    
    .popup-item:nth-child(1) {
        grid-row: 1;
        grid-column: 1;
    }
    .popup-item:nth-child(2) {
        grid-row: 2;
        grid-column: 1;
    }
    .popup-item:nth-child(3) {
        grid-row: 3!important;
        grid-column: 1;
    }
    .popup-item:nth-child(4) {
        grid-row: 4;
        grid-column: 1;
    }
    .popup-item:nth-child(5) {
        grid-row: 5;
        grid-column: 1;
    }
}

