/* Common styles */
body {
    background-color: #f1f1f3;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 150%;
    margin: 0;
    padding: 0;
}

input {
    font-family: 'Montserrat', Arial, sans-serif;
}

.bottom-padding {
    padding-bottom: 88px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.panel-main {
    background-image: url('/images/background.jpg');
    background-size: 100% auto;
    background-position: bottom;
    background-repeat: no-repeat;
    padding: 100px 100px 300px 100px;
}

.panel-main .content {
    max-width: 800px;
    padding-bottom: 300px;
}

.panel-main h1 {
    font-size: 18px;
}

.panel-main img {
    margin-bottom: 40px;
    width: 300px;
}

.panel-contact {
    background-color: #000;
    color: #fff;
    padding: 100px;
}

.panel-contact a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.panel-contact h1 {
    color: #f4bf98;
    font-size: 18px;
}

.panel-contact h2 {
    color: #f4bf98;
    font-size: 14px;
    font-weight: normal;
}

.panel-contact img {
    width: 150px;
}

.panel-contact input {
    padding: 10px;
    width: 100%;
}

.panel-contact .submit-button {
    background-color: #f4bf98;
    border: 1px solid #f4bf98;
    color: #000;
    font-weight: bold;
    margin-top: 12px;
    width: 50%;
}

.panel-contact .submit-button:hover {
    background-color: #000;
    color: #f4bf98;
    cursor: pointer;
}

.panel-contact textarea {
    height: 100px;
    padding: 10px;
    width: 100%;
}

textarea {
    font-family: 'Montserrat', Arial, sans-serif;
}

#openModal {
    display: block;
    font-weight: 300;
    margin-top: 20px;
    font-size: 13px;
    color: #EEE;
}

#openModal:hover {
    text-decoration: underline;
    color: #FFF;
}

/* Modal */
.modal {
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0);
    transition: background-color, 0.3s ease-in-out;
    pointer-events: none;
    opacity: 0;
}

.modal.show {
    opacity: 1;
    background-color: rgba(0,0,0,0.5);
    pointer-events: all;
}

.modal-dialog {
    position: fixed;
    background-color: #fefefe;
    transition: top, 0.3s ease-in-out;
    top: 0px;
    left: 10%;
    width: 80%;
}

.modal.show .modal-dialog {
    top: 30px;
}

.modal-title {
    position: relative;
    padding: 20px 30px;
    color: #f4bf98;
    background-color: #000;
}

.modal-title h2 {
    font-size: 18px;
    text-transform: uppercase;
    margin: 0px;
}

.modal-content {
    padding: 20px 30px;
    overflow: auto;
    height: calc(100vh - 170px);
}

.modal-content a {
    color: #000;
    text-decoration: underline;
}

.modal-content h3 {
    font-size: 18px;
}

.close {
    position: absolute;
    color: #aaa;
    font-size: 48px;
    top: 20px;
    right: 20px;
}

.close:hover,
.close:focus {
    text-decoration: none;
    cursor: pointer;
    color: #f4bf98;
}

/* Desktop mode */
@media screen and (min-width: 1200px) {
    .panel-main {
        width: calc(100% - 750px);
    }
    .panel-contact {
        width: 350px;
    }
}

/* Tablet mode */
@media screen and (max-width: 1199px) {
    .bottom-padding {
        padding-bottom: 38px;
    }
    .panel-main {
        padding: 50px;
        width: calc(100% - 450px);
    }
    .panel-contact {
        padding: 50px;
        width: 250px;
    }
}

/* Mobile mode */
@media screen and (max-width: 820px) {
    .bottom-padding {
        padding-bottom: 38px;
    }
    .panel-main, .panel-contact {
        padding: 50px;
        width: 100%;
    }
    .panel-main img {
        margin-bottom: 40px;
        width: 250px;
    }
    .modal-dialog {
        width: 100%;
        left: 0px;
        top: -30px;
    }
    .modal.show .modal-dialog {
        top: 0px;
    }
    .modal-content {
        height: calc(100vh - 104px);
    }
}
