@import url('https://fonts.googleapis.com/css2?family=Montserrat&family=Playfair+Display&display=swap');


*{
    box-sizing: border-box;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
}
h1{
    font-size: 40px;
    padding-left: 15px;
}

#profile_video ~ section p{
    padding-left: 20px;
    padding-right: 20px;
}

#profile_video {
    object-fit: cover;
    object-position: center;
    width: 100vw;
    min-height: 30px;

  }
h3{
    font-size: 30px;
    padding-left: 15px;
}
a{
    color: inherit;
    font-family: 'Montserat';
    text-decoration: none;
}
body{
    margin: 0 auto;
}
body:last-child{
    margin-bottom: 100px;
}

.profile_info_contacts_btn:active{
    background-color: #2b3744;
    color: #fff;
    transition-duration: 0.1s;
}

.profile_info_contacts_btn:hover{
    background-color: #212d3a;
    color: #fff;
    transition-duration: 0.2s;
}

.profile_info_contacts img{
    width: 100px;
    border-radius: 200px;
    margin: 0 20px;
}

.profile_page{
    width: 80vw;
    margin: 0 auto;
    margin-top: 140px;
}
.second_layer{
    display: flex;   
    flex-flow: row wrap;
    line-height: 1.2rem;
    height: auto;
    background-color: #ddd;
    padding: 20px 30px;
}
.profile_name > h1{
    margin: 5px 0;
}
.profile_name > h3{
    margin: 5px 0 30px 0;
}
.profile_short_info_section{
    width: 60%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.profile_info_contacts{
    width: 35%;
    min-width: 200px;
    margin-left: 3%;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

.profile_shortcut_el{
    width: 27%;
    min-width: 250px;
    display: flex;
    margin: 10px 0;
    align-items: flex-start;
}
.profile_shortcut_el p{
    margin: 0;
}
.profile_short_info{
    margin-left: 20px;
}

.profile_info_title{
    font-weight: bold;
   
}

.profile_info_subtitle, .profile_info_title, .profile_info_subtitle span{
    font-size: 16px;
    font-family: 'Montserrat'; 
} 

.profile_shortcut_el:nth-child(3) > .profile_svg{
    position: relative;
    top: 0px;
}
.profile_shortcut_el:nth-child(5) > .profile_svg{
    position: relative;
    top: 1px;
}
.profile_shortcut_el:nth-child(6) > .profile_svg{
    position: relative;
    top: -10px;
    margin-right: -13px;
}

.profile_info_contacts_btn{
    display: inline-block;
    border: 0px solid #B92034;
    background-color: #B92034;
    padding: 10px 30px;
    color: #fff;
    text-decoration: none;
    font-size: smaller;
    font-family: 'Montserrat', sans-serif;
    margin-top: 0px;
    width: 80%;
    text-align: center;
    
}

.profile_nav{
    display: flex;
    flex-flow: column wrap;
    width: 400px;
    max-width: 29%;
    border: 0px solid #00000025;
    border-radius: 3px;

}

.profile_nav button{
    display: block;
    background-color: #fff;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    border: none;
    text-align: left;
    outline:none;
    border: 1px solid #00000025;
    padding: 10px 30px 10px 10px;
    margin-bottom: ;
    cursor: pointer;
    font-size: 20px;
}

.profile_nav button:hover{
    color: #B92034;
}

.profile_full_content{
    margin-left: 65px;
    border: 0px solid red;
    width: 70%;
}
.profile_full_content, .full_profile_structure, .full_profile_opportunities{
    font-family: 'Montserrat' !important;
}
.profile_full_content *{
    font-family: 'Montserrat' !important;
}

.profile_full_content > *:nth-child(n+2){
    display: none; 
}

.third_layer{
    margin-top: 50px;
    display: flex;
}

table{
    border-collapse: collapse;
    width: 600px;
}

tr{
    text-align: center;
    border: 2px solid black;
}
td{
    text-align: center;
    padding: 0px 5px;
    border-right: 2px solid #000;
    min-width: 60px;
    font-size: 16px;
    
}
p{
    text-indent: 0rem;
}
td p{
    text-align: center;
    text-indent: 0;
}
.profile_short_info p{
    text-indent: 0;
}
.profile_info_contacts *{
    text-indent: 0;
}

tbody > tr:first-child, tbody > tr:nth-child(2){
    font-weight: 600;
}

.full_profile_structure > p :first-child{
    display: none;
}
.profile_full_content > *{
    margin-top: -20px;
}


@media (max-width: 1200px){
    html, body{
        overflow-x: scroll;
    }
    .profile_page{
        width: 90vw;
        margin-left: 10px 5vw;
    }
    .second_layer{
        align-items: center;
        justify-content: center;
    }

    .profile_svg{
        width: 75px;
        display: flex;
        justify-content: flex-end;
    }
    .third_layer{
        margin-top: 50px;
        display: block;
        flex-flow: column wrap;
        align-items: center;
        width: 100%;
    }
    .profile_nav{
        max-width: none;
        width: 100%;
        margin-bottom: 50px;
    }
    .profile_full_content{
        margin: 0;
        width: 100%;
    }
    .profile_short_info_section{
        width: 85%;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }

}


@media (max-width: 770px){
    .profile_page {
        width: 100vw;
    }
    .profile_nav{
        width: 100%;
        margin-bottom: 50px;
    }
    .third_layer{
        font-size: 14px;
    }
    .profile_name h1, .profile_name h3{   
        font-size: 14px;
    }
    .second_layer{
        padding-left: 0;
    }

}