.contact {
    display: flex;
    flex-direction: column;
    background-color: #FAF6F4;
    width: 100%;
    height: auto;
    align-items: center;
    /* justify-content: center; */
    position: relative;
    z-index: 1;
    background: url(../media/images/background2.png);
    background-size: cover;
    background-position: right;
    justify-content: center;
}

.contact .contact-container {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
    max-width: 950px;
    align-items: center;
    padding: 0px 30px 100px 20px;
}

.contact .contact-container .contact-title-container {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.contact .contact-container .contact-title-container img {
    width: 150px;
}

.contact  .contact-container .contact-title-container h1 {
    display: flex;
    font-size: 30px;
    /* font-family: 'Aller Std 1'; */
    color: #FAF6F4;
}

.contact .contact-container .contact-content-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 70%;
    width: 100%;
}

.contact-content-container .contact-photo {
    display: flex;
    flex-direction: column;
    height: 450px;
    width: 65%;
}

.contact-content-container .contact-photo img {
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    object-fit: cover;
    object-position: -165px;
}

.contact-content-container .contact-card {
    display: flex;
    flex-direction: column;
    height: 450px;
    width: 35%;
    background-color: #FAF6F4;
    justify-content: center;
    padding: 30px;
    min-width: 320px;
    max-width: 690px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}

.contact-content-container .contact-card h1 {

    color: #59021B;
    font-size: 20px;
    font-family: 'Aller Std 1';
    margin: 0px;
}


.contact-content-container .contact-card .contact-info-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    -webkit-user-select: text; /* Safari */
    -moz-user-select: text; /* Firefox */
    -ms-user-select: text; /* IE10+/Edge */
    user-select: text; /* Standard */
    
}


.contact-content-container .contact-card .contact-info-div a {
    color: #59021B;
    font-size: 14px;
}

.contact-content-container .contact-card .contact-info-div i {
    font-size: 30px;
    color: #59021B;
    margin-right: 20px;
}


.contact-content-container .contact-card .contact-info-div p {
    color: #59021B;
    font-size: 15px;
    font-family: 'Aller Std 1';
}

.contact-content-container .contact-card .contact-social-media-div {
    display: grid;
    grid-template-columns: auto auto auto auto;
    column-gap: 20px;
    row-gap: 20px;
    border-style: solid;
    border-radius: 5px;
    border-width: 4px;
    padding: 12px;
    justify-content: space-around;
    border-color: #59021B;
}

.contact-content-container .contact-card .contact-social-media-div a i {
    font-size: 40px;
    color: #59021B;
}


@media only screen and (orientation: portrait) and (max-width: 767px) { 
    .contact-content-container .contact-photo {
        display: none;
    }

    .contact-content-container .contact-card {
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .contact-content-container .contact-card .contact-info-div a {
        font-size: 14px;
    }
}