
#contactContainer{
    display: flex;
    justify-content: center;
    padding-bottom: 240px;
    padding-top: 52px;
    color: #2D8B86;
    background-color: #FFF8F4;
}

#mainContainer{
    max-width: 1400px;
    padding-bottom: 100px;
    width: 90%;
}

h1, h2{
    font-size: 45px;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

#contactDescription p{
    font-size: 20px;
    line-height: 30px;
}

#contactDescription p span{
    font-weight: bold;
}

/*---------------Links------------------*/

#linkFirstPart{
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

#linkFirstPart>img{
    height: 228px;
    object-fit: cover;
    width: 100%;
    transition: transform .1s;
}
#linkFirstPart>img:hover{
    -ms-transform: scale(1.4); /* IE 9 */
    -webkit-transform: scale(1.4); /* Safari 3-8 */
    transform: scale(1.4);
}

.linkDescription{
    font-size: 20px;
    position: absolute;
    bottom: 0;
    font-weight: 600;
    color: #206460;
    left: 20px;
}

#linkFirstPart>p{
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

#linkSecondPart{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 64px;
}
#linkSecondPart>a{
    width: calc(50% - 10px);
}

#linkSecondPart>a{
    margin: 10px 0px;
}

.linkCard{
    position: relative;
    display: flex;
    overflow: hidden;
    border-radius: 20px;
}
.linkCard>img{
    height: 228px;
    object-fit: cover;
    width: 100%;
    transition: transform .1s;
}
.linkCard>img:hover{
    -ms-transform: scale(1.4); /* IE 9 */
    -webkit-transform: scale(1.4); /* Safari 3-8 */
    transform: scale(1.4);
}



form{
    display: flex;
    flex-direction: column;
    align-items: center;
}

input:focus, textarea:focus{
    background-color: #e8b95459;
    outline: none;
}
input::placeholder, textarea::placeholder{
    color: #2D8B86;
}

input, textarea{
    margin: 8px 0;
    font-size: 20px;
    border: 2px solid #E3AA8A;
    color: #2D8B86;
    width: 100%;
}

.nameContainer{
    display: flex;
    width: 98%;
    justify-content: space-between;
}
.nameContainer div{
    width: 49%;
}
.nameContainer input{
    width: 97%;
}

.emailField{
    width: 96.5%;
}
.subjectField{
    width: 96.5%;
}

input{
    height: 40px;
}

textarea{
    height: 270px;
}

::placeholder {
    color: black;  
}

.messageField > textarea{
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.formFirstPart{    
    display: flex;
    max-width: 1412px;
    width: 100%;
}

.formFirstPartLeft{
    width: 80%;
}

.formFirstPartRight{
    width: 20%;
    background-color: #2D8B86;
    color: #FFF8F4;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    left: 7px;
    font-size: 20px;
    border-radius: 12px;
    margin: 7px 0px;
}

.formFirstPartRight a{
    color: #FFF8F4;
}

.formSecondPart {
    max-width: 1455px;
    width: 100%;
}

.formLastPart{
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-bottom: 20px;
    align-items: center;
}

.formLastPart>p{
    margin-right: 20px;
    font-size: 20px;
}

#error_message{
    color: red;
    text-align: center;
}
#recaptcha{
    display: flex;
    justify-content: center;
}
  

button{
    border: none;
    background-color: #2D8B86;
    font-size: 18px;
    border-radius: 8px;
    color: #FFF8F4;
    padding: 15px;
}

button:hover{
    cursor: pointer;
    background-color: #E3AA8A;
}

a:visited {
    color: #FFF8F4;
    text-decoration: none;
}

@media all and (max-width: 1060px)
{  
    .formFirstPart {
        display: flex;
        max-width: 1412px;
        width: 100%;
        flex-direction: column;
    }
    .formFirstPartRight {
        width: 98.5%;
        color: #FFF8F4;
    }
    .formFirstPartLeft {
        width: 102%;
    }
}

@media all and (max-width: 1060px)
{  
    .formFirstPart {
        display: flex;
        max-width: 1412px;
        width: 100%;
        flex-direction: column;
    }
    .formFirstPartRight {
        width: 98.5%;
        color: #FFF8F4;
    }
    .formFirstPartLeft {
        width: 102%;
    }
}

@media all and (max-width: 600px)
{
    #linkSecondPart>a{
        width: 100%;
        margin: 10px 0px !important;
    }
} 

