* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: playfair display, sans serif;
    _max-width: fit-content;
}

.container {
    width: 90vw;
    margin: 0 auto;
}

.background {
    background-color: rgb(85, 33, 33, 0.862);
    background-size: cover;
    min-width: 100vw;
    height: auto;
    min-height: 100vh;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: black;
}

ul {
    list-style: none;
}

h2 {
    text-transform: uppercase;
}

/* Navigation */

.flex-row-1 {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding: 20px 35px;
}

.menu li {
    display: inline-block;
    width: 100px;
    height: 30px;
    text-align: center;
    vertical-align: middle;
}

.menu li a {
    color: rgb(231, 221, 221);
}

.menu li:hover {
    background-color: rgb(104, 45, 45);
}

.dropdown ul {
    display: none;
    position: absolute;
    width: inherit;
    margin-top: 10px
}

.dropdown ul li {
    height: fit-content;
}

.menu li:hover ul {
    display: block;
    background-color: rgb(104, 45, 45);
}

.flex-row-1 .menu .dropdown li:hover {
    background-color: rgb(251, 251, 251);
    color: rgb(66, 19, 19) !important;
    vertical-align: middle
}

.flex-row-1 .menu .dropdown li:hover a {
    color: rgb(66, 19, 19) !important;
    vertical-align: middle
}

/* Navigation-end */

/* Upper-part-layout-start */
.upper-part-layout {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5608368347338936) 0%, rgba(0, 0, 0, 0.23870798319327735) 25%, rgba(0, 0, 0, 0.9221813725490196) 100%), url(./../images/contacts-upper-bg.jpg) no-repeat;
    background-size: cover;
    background-position: 40% 60%;
    padding: 0 0 2% 2%;
}

.upper-part-text {
    margin-left: 10%;
    margin-top: 15%;
    color: rgb(231, 221, 221);
}

h1 {
    text-transform: uppercase;
    color: rgb(255, 254, 254);
    font-size: 1.8em;
}

#contact-logo {
    font-size: 1.6em;
}

/* Upper-part-layout-end */

/* About us */
.flex-row-3 {
    width: 100%;
    margin-top: 2vh;
}

.address {
    width: 70vw;
    _background-color: rgba(240, 255, 255, 0.87);
}

.flex-row-3 p {
    line-height: 1.7rem;
    font-weight: 500;
    height: fit-content;
}

h3 {
    font-size: 1.5em;
    color: bisque;
}

iframe {
    width: 40vw;
    height: 40vh;
    margin-top: 2%;
    margin-bottom: 3%;
}

/* Footer */
footer .flex-row-4 {
    display: flex;
    justify-content: space-evenly;
    background-color: rgb(105, 105, 105);
    color: white;
    padding: 10px;
    margin-top: 10px;
    border-top-style: solid;
    border-top-color: black;
    z-index: 3;
}

/* Breakpoints */
@media screen and (min-device-width:768px) and (max-device-width:1024px) {
    .container {
        height: fit-content;
    }
    .upper-part-text {
        margin-left: 5%;
    }
    .flex-row-3 {
        width: 100%;
    }
    .who {
        width: 70vw;
        padding: 1%;
    }
    .flex-row-3 p {
        line-height: 1.7rem;
        font-weight: 300;
        font-size: 1.2em;
    }
    h3 {
        margin-bottom: 0vh;
        font-size: 1.3em;
    }
}

@media screen and (min-device-width: 498px) and (max-device-width: 768px) {
    .container {
        height: fit-content;
    }
    .upper-part-text {
        margin-left: 5%;
    }
    .flex-row-3 {
        width: 100%;
    }
    .who {
        padding: 1%;
        width: 80vw;
    }
    .flex-row-3 p {
        line-height: 1.5em;
        font-size: 1em;
        font-weight: 300;
    }
    .flex-row-3 h3 {
        margin-bottom: 0vh;
        margin-top: 1vh;
        font-size: 1.1em;
    }

    footer .flex-row-4 {
        padding: 4px;
    }
}
@media screen and (min-device-width:320px) and (max-device-width:498px) {
    .flex-row-1 {
        padding: 20px 15px
    }
    .menu li {
        width: 70px;
    }
    .menu li a {
        font-size: 0.8em
    }
    h1 {
        font-size: 0.9em
    }
    .upper-part-layout {
        padding: 0 0 3% 0
    }
    .flex-row-3 {
        width: 100%;
        height: 95%;
    }

    .who {
        width: 90%;
        min-height: 65%;
        height: fit-content;
        padding: 2%;
    }

    .flex-row-3 .who p {
        margin-left: 1%;
        line-height: 1.19em;
        font-weight: 300;
        font-size: 55%;
        height: fit-content;
    }

    .flex-row-3 .who h3 {
        font-size: 0.7em;
        margin: 0;
    }
    iframe {
        width: 80vw;
        height: 30vh;
        margin-top: 2%;
        margin-bottom: 3%;
    }
    .flex-row-4 p {
        text-align: center;
        font-size: 0.4em;
    }

    footer .flex-row-4 {
        padding: 4px;
    }
}