/*
    General CSS
*/
:root {
    /* Background */
    --fucsia: 129, 53, 138;
    --purple: 76, 36, 99;
    --purple2: 127, 101, 144;
    --green : 35, 167, 137;

    /* Text */
    --white : 255, 255, 255;
    --yellow: 253, 234, 135;
}

html, body, h1, h2, h3, h4, h5, p {
    margin: 0;
    padding: 0;
    font-weight: 100;
}

.container {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

/*
    Main CSS
*/
#main-section {
 background: url('../img/mainsection-bg.jpg');
 background-size: cover;
 max-height: fit-content;
}

#main-section > .flex-centered {
    display: flex;
    align-items: center;
    height: 45vh;
}

#main-section > .flex-centered img {
    display: inline-block;
    height: 90px;
    border: 5px solid rgb(var(--fucsia));
    border-radius: 100%;
    vertical-align: middle;
}

#main-section > .flex-centered h1 {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    font-size: 50px;
}

#main-section::after {
    content: '';
    background: url('../img/center-hand.png');
    height: 430px;
    width: 478px;
    opacity: .3;
    display: block;
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translate(-50%, 50%);
}

/*
    Phrase CSS
*/
#main-phrase {
    background: rgb(var(--purple));
    position: absolute;
    width: 100%;
}

#main-phrase h3 {
    padding: 10px 0;
    color: rgba(var(--white));
    text-transform: uppercase;
    font-size: 25px;
}

/*
    Contact Informations CSS
*/

#contact-informations {
    background: rgba(var(--green), 0.8);
    height: fit-content;
    padding: 50px 0;
    padding-top: 100px;
}

#contact-informations > .container {
    display: grid;
    align-content: space-between;
    height: 100%;
}

#contact-informations .experience {
    max-width:  300px;
    color: rgba(var(--white))
}

#contact-informations .experience > h3{
    color: rgba(var(--yellow));
    font-size: 30px;
    padding-bottom: 10px;
    padding-right: 5px;
    margin-bottom: 10px;
    display: inline-block;
    border-bottom: 1px solid rgba(var(--white));
}

#contact-informations .experience > span {
    font-size: 15px
}

#contact-informations .phone {
    margin-top: 50px;
}

#contact-informations .phone > p {
    color: rgba(var(--white));
    font-size: 25px;
}

#contact-informations .phone > h4 {
    font-size: 40px;
    color: rgba(var(--yellow));
}

#contact-informations .phone > h4 > a {
    color: rgba(var(--yellow));
    text-decoration: none;
    margin: 0;
}

#contact-informations .absolute-info {
    position: absolute;
    width: 200px;
    display: block;
    right: 0;
}

#contact-informations .absolute-info > span {
    font-weight: bold;
    color: rgba(var(--white));
    line-height: 20px;
    font-family: sans-serif;
}

#contact-informations .absolute-info > .info-card {
    margin-top: 10px;
    background: rgb(var(--fucsia));
    padding: 15px;
    padding-bottom: 3px;
    border-radius: 20px;
    text-align: center;
}

#contact-informations .absolute-info > .info-card > img {
    display: block;
    max-width: 100%;
}

#contact-informations .absolute-info > .info-card > p {
    color: rgba(var(--white));
    margin-top: 10px;
}

#contact-informations .absolute-info > .info-card > p > a {
    display: block;
    text-decoration: none;
    font-size: 25px;
    color: rgba(var(--white));
}

#contact-informations .absolute-info > em {
    text-align: center;
    font-style: normal;
    display: block;
    margin-top: 15px;
    font-family: sans-serif;
    font-size: 14px;
}
/*
    Short description CSS
*/
#short-description {
    padding: 10px 0;
}

#short-description span {
    display: block;
    max-width: 50%;
}

/*
    Contact section CSS
*/
#contact-section {
    background: url('../img/contact-image.png');
    background-size: cover;
    padding: 50px 0;
    position: relative;
}

#contact-section > .custom-contact-card {
    max-width: 685px;
    border: 5px solid #707070;
    border-radius: 50px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    position: relative;
    clip-path: polygon(74% 17%, 74% 0, 100% 0, 100% 100%, 83% 100%, 39% 100%, 0 100%, 0 0, 28% 0, 28% 17%);
}

#contact-section > .hands {
    position: absolute;
    display: block;
    background: url("../img/contact-centered-images.png");
    background-size: cover;
    width: 300px;
    height: 100px;
    left: calc(50%);
    transform: translate(-50%, -50%);
}

#contact-section > .custom-contact-card > h2 {
    text-transform: uppercase;
    font-style: italic;
    font-size: 40px;
}

#contact-section > .custom-contact-card > h3 {
    color: rgb(var(--fucsia));
    font-size: 30px;
}

#contact-section > .custom-contact-card > h3 > a {
    color: rgb(var(--fucsia));
    text-decoration: none;
}

#contact-section > .custom-contact-card > span {
    display: block;
    max-width: 300px;
    font-size: 20px;
    margin: 0 auto;
    margin-top: 20px;
}

/*
    Footer CSS
*/
footer > #appointment {
    background: rgb(var(--purple2));
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer > #appointment > h2 {
    font-size: 35px;
    margin-bottom: 15px;
}

footer > #professional-info {
    padding: 20px 0;
    text-align: center;
}

/*
    Responsive
*/

@media only screen and (max-width: 1020px) {
    #main-section .text-left {
        margin: 0 auto;
    }
    #main-phrase {
        text-align: center;
    }
    #short-description {
        padding: 10px 20px;
    }
    .container {
        padding: 0 20px;
    }
    #contact-informations .absolute-info {
        padding-right: 20px;
    }
    #contact-section {
        padding: 50px 20px;
    }
}

@media only screen and (max-width: 770px) {
    #contact-informations .absolute-info {
        display: none;
    }
    #contact-informations > .container {
        text-align: center;
    }
    #contact-informations .experience {
        margin: 0 auto;
    }
    #main-section {
        max-height: fit-content;
    }
    #main-section::after {
        display: none;
    }
    #short-description span {
        max-width: 100%;
        text-align: center;
    }
    #main-section > .flex-centered  {
        text-align: center;
        height: auto;
        padding-bottom: 30px;
    }
    #main-section > .flex-centered > h1 {
        font-size: 25px;
    }
    #main-section > .flex-centered img {
        height: auto;
        max-width: 200px;
        width: 90%;
        display: block;
        margin: 0 auto;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 650px) {
    footer > #appointment > h2 {
        padding: 0 20px;
        font-size: 25px;
    }
    #contact-section > .custom-contact-card > h2 {
        font-size: 30px;
    }
    #contact-section > .custom-contact-card {
        clip-path: none;
    }
    #contact-section > .hands {
        display: none;
    }
}