* {
    margin: 0;
    padding: 0;
    color: white;
}
.grecaptcha-badge{
    display: none;
}
body {

    background-color: #800020;
    background-image: url('/assets/img/background-3.jpg?template=1');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
body:before {
    content: "";
    z-index: 0;
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 100%;
    position: fixed;
    /*    make a gradient left to right black to transparent*/

    /*background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 15%, rgba(0, 0, 0, 0.6) 80%);*/
    background: linear-gradient(90deg, rgb(28 28 28 / 85%) 15%, rgb(95 95 95 / 60%) 80%);


}

.font-1 {
    font-family: "Prata", serif;
    font-weight: 400;
    font-style: normal;
}

.font-2, *, p {
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 28px;
}

.main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    /* add bordeaux bg color */
}


.portrait {
    max-width: 300px;
    float: left;
    margin-right: 50px;
    position: relative;
}

ul {
    margin-left: 30px;
}

ul li {
    text-align: left;
}

.custom-container {
    width: 70%;
    margin: auto;
    max-width: 1000px;
}

#address-container {
    width: 300px;

    display: flex
;
    flex-direction: column;

    justify-content: center;
}
#address-container a {
    text-decoration: none;
    cursor: pointer;
    color: white;
    transition: color 0.5s ease-out;
}
#address-container a:hover {
    color: #dcdcdc;
}

#address-container p {
    white-space: nowrap;
}

#contact-container {
    display: flex;
}

#form-container {
    margin-left: 50px;
    flex: 1;
}

form {
    display: flex;
    flex-wrap: wrap;
}

form > div {
    width: 100%;
    padding: 10px;
}

form .col-md-6 {
    width: 50%;
    padding: 10px;
}

#submitButton {
    width: 90%;
    margin: auto;
    padding: 10px;
    border-radius: 5px;
    border: solid 1px #800020;
    background-color: rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease-out;
    text-transform: uppercase;
}

#submitButton:hover {
    background-color: #800020;
    border: transparent;
}

@media screen and (max-width: 1324px) {

    #cursus {;
        clear: both;
    }
}

@media screen and (max-width: 990px) {
    .custom-container {
        width: 90%;
    }

    #cursus {;
        clear: both;
    }

    #contact-container {
        flex-direction: column;
    }

    #form-container {
        margin-left: 0;
    }
}

#section-1 {
    display: flex;

}

#section-1 > * {
    position: relative;
    z-index: 1;
}

h1 {
    font-size: 56px;
}

 h1 span {
    font-size: 90px;
}
.paragraph-container{
    width: fit-content;
    float: right;
    border-left: solid 1px #800020;
    padding-left: 30px;
    margin-right: 100px;
}
.form-control, .form-control:focus{
    background-color: rgba(0, 0, 0, 0.2);
    color: #FFF;
    border: none;
    border-bottom: solid 1px #800020;
    border-radius: 0;
    box-shadow: none;
}



.size-2 {
    font-size: 16px !important;
}

header {
    border-bottom: solid 1px #800020;
    height: 100px;
    width: 100%;
    position: fixed;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .phone {
    display: flex;
    align-items: center;
}

header .phone-mobile {
    display: none;
}
header .phone:hover i {
    background-color: black;
}

header .phone {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-decoration: none;
    color: inherit;
}

header .phone span {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    margin-right: 40px;

}
header .phone a{
    text-decoration: none;
    color: white;

}
header .phone i {
    background-color: #800020;
    border-radius: 50px;
    height: 50px;
    width: 50px;
    background-image: url("/assets/img/phone.svg");
    background-size: 50%;
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 20px;
    transition: background-color 0.5s ease-out;
}

header .block {
    background-color: #800020;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

header .block i {
    background-image: url("/assets/img/mail.svg");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50px;
    height: 50px;
    width: 50px;
    display: block;

}

header .address {
    padding-left: 50px;
    display: flex;
    text-decoration: none;
    color: inherit;
}

header .address i {
    transition: background-color 0.5s ease-out;
}

header .address:hover i {
    background-color: #000;
}

header .address i {
    background-image: url("/assets/img/marker.svg");
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 50px;
    height: 50px;
    width: 50px;
    display: block;
    background-color: #800020;
    margin-right: 20px;
}

#section-1 .custom-container > * {
    position: relative;
    max-width: 100%;
}

#section-1 .custom-container > p {
    position: relative;
    max-width: 60%;
}


#section-cursus .portrait{
    display: none;
    float: none;
    max-width: 200px;
    margin: 20px auto;

}
form .col-md-6{
    padding: 0 10px;
}
#above-contact-h1 a{
    color: white;
    text-decoration: none;
    cursor: pointer;
}
#above-contact-h1 br, #above-contact-h1 a{
    display: none;
}

@media screen and (max-width: 1418px) {

    h1{
        font-size: 40px;
    }
}
@media screen and (max-width: 990px) {

    .portrait{
        display: none;
    }
}
@media screen and (max-width: 787px) {
    h1{
        font-size: 30px;
        line-height: 1.1;
        margin: 20px 0;
    }
    h1 span{
        line-height: 50px;
    }
}
@media screen and (max-width: 640px) {
    body{
        background-image: url('/assets/img/background-mobile-2.jpg');

    }
    header{
        height: 80px;
    }
    header .address{
        font-size: 12px!important;
    }
    header .address span, header .phone span{
    display: none;
    }
    header .block{
        background-color: transparent;
        height: auto;
    }
    header .block i{
        background-color: #800020;
        border-radius: 50px;
        height: 50px;
        width: 50px;
        background-size: 50%;
        display: block;
        background-repeat: no-repeat;
        background-position: center;
        margin-right: 20px;
        transition: background-color 0.5s ease-out;
    }
    #section-1 .custom-container > p{
        max-width: 100%;
    }
    #section-presentation .custom-container, #section-competence .custom-container{
    /*#section-presentation , #section-competence {*/
        padding-top: 100px;
    }
    .paragraph-container{
        margin-right: 0;
    }
    #section-contact .portrait{
        display: none   ;
    }
    #section-cursus .portrait{
        display: block   ;
    }
    h1{
        font-size: 30px;
    }
    .font-2, *, p {
        font-size: 18px;
    }
    #above-contact-h1 br, #above-contact-h1 a{
        display: block;
    }
    #above-contact-h1 span{
        display: none;
    }

    header .phone-desktop {
        display: none;
    }

    header .phone-mobile {
        display: block;
    }
}
@media screen and (max-height: 764px) {
    section{
        padding-top: 110px;
    }
    /*.custom-container{
        padding-top: 100px;
    }*/
    
}
