html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

h1 {
    color: 1d1d1d;
    text-align: center;
}

.text {
    margin-bottom: 50px;
}
.text h1 {
    font-size: 2em;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 20px;
}

.text h2 {
    font-size: 5em;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 30px;
}

.main {
    margin-top: 50px;
    padding: 0 30px !important;
}

.main-container {
    padding: 0 15px;
    margin: 15px 0;
    overflow: hidden;
    transition: all .1s;
}
.myth .img-overlay .btn {
    margin: auto auto 35% auto;
}
.contact {
    cursor: default !important;
}
.contact p {
    user-select: text !important;
}
.myter {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 50px;
    border: 1px solid #e9e9e9;
    user-select: none;
}
.myter h1{
    display: flex;
    font-size: 2em;
    flex-direction: column;
    color:#1d1d1d;
    margin: auto;
    align-self: center;
    white-space: pre-line;
}
.contact .myter h1{
    display: flex;
    font-size: 2em;
    flex-direction: column;
    color:#1d1d1d;
    margin: auto auto 0 auto !important;
    align-self: center;
    white-space: pre-line;
}
.myter p {
    display: flex;
    flex-direction: column;
    font-size: 1.3em;
    padding: 15px 0;
    align-self: center;
    margin: 0 auto auto auto;
    text-align: center;
}
.main-container>.img-container>img {
    min-width: 100%;
    min-height: 100%;
    height: 100% !important;
    width: auto;
    position: absolute;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

.img-overlay {
    display: flex;
    flex-direction: column;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color .3s ease;
}

.img-overlay:hover {
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color .3s ease;
}

.img-overlay:hover p,
.img-overlay:hover .btn {
    opacity: 1;
    transition: opacity .3s ease;
}

.img-overlay p {
    font-size: 1.4em;
    text-align: center;
    font-family: monospace;
    color: #fff;
    display: flex;
    align-self: center;
    margin: auto auto 10px auto;
    opacity: 0;
    transition: opacity .3s ease;
    user-select: none;
}

.img-overlay .btn {
    display: flex;
    opacity: 0;
    align-self: center;
    margin: 10px auto auto auto;
    transition: opacity .3s ease;
}

.img-container {
    display: flex;
    padding: 0;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}


/* MODAL */
.modal-open {
    padding-right: 0 !important;
}
.modal-body span {
    white-space: pre-line;
}

.modal-body {
    padding: 0 50px 30px;
}

.modal-dialog {
    width: 800px;
}

.modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

h1.modal-title {
    margin-bottom: 20px;
}

.modal-body>p:first-child {
    font-weight: bold;
    font-size: 1.3em;
    text-decoration: underline;
    margin-bottom: 20px;
    text-align: center;
}

.modal-body>p {
    padding: 5px 0;
    font-size: 1.1em;
}

@media only screen and (max-width: 1250px) {
    .myter h1 {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 800px) {
    .modal-dialog {
        width: auto;
    }
    .text h1 {
        font-size: xx-large;
    }
    .modal-dialog {
        width: auto;
    }

}
