@font-face {
    font-family: Iransans;
    src: url("../font/IRANSans.eot"), url("../font/IRANSans.woff"), url("../font/IRANSans.woff2");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    font-family: Iransans;
    margin: 0;
    background: url('../img/team/bg_D_gallery_bg_mehrvarzi_20210412.png') no-repeat center/cover fixed;
    font-size: 1rem;
    direction: rtl;
}

section {
    padding: 3.5rem 1.5rem;
}

p {
    overflow: auto;
}

.page_graphic {
    display: none;
    position: absolute;
    max-width: 100%;
    height: auto;
}

.cv_card {
    width: 100%;
    background-color: #f5f5f5;
    box-shadow: 0 1px 4px #c1c1c1;
    border-radius: 7px;
    margin-bottom: 15px;
    position: relative;
}

#user_info_content {
    padding: 30px 15px 15px;
    text-align: center;
}

#user_info_content h3 {
    /* margin-bottom: 3px; */
    font-weight: normal;
}

#user_info_content div {
    width: 80%;
    margin: auto;
    color: #ff3939;
    background: #ffc5c5c7;
    padding: 4px;
    border-radius: 7px;
}

#user_info_content p {
    font-size: 0.87rem;
    color: #242424;
}

.info_buttons {
    padding: 7px;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin: auto;
    background: whitesmoke;
    position: relative;
    border-radius: 0 0 7px 7px;
}

.info_buttons img {
    cursor: pointer;
    padding: 13px;
    width: 50px;
    height: 50px;
    border-radius: 31%;
}

.info_buttons img:hover {
    background-color: #ffa2a24a;
}

.text_center {
    text-align: center;
}

#user_info_content img {
    width: 130px;
    height: 130px;
    border: solid 2px solid 2px #ff7c72;
    border-radius: 50%;
}

.info_buttons .selected {
    background: #ffa2a24a;
}

#certificates_info_content,
#job_info_content {
    /* display: none; */
    position: absolute;
    top: 100%;
    bottom: 0;
    background: #fe5959;
    color: white;
    width: 100%;
    height: 0;
    opacity: 0;
    transition: all 0.6s;
    padding: 11px;
    overflow: auto;
    text-align: right;
}

#certificates_info_content.selected,
#job_info_content.selected {
    /* display: block !important; */
    height: 83% !important;
    top: 0;
    opacity: 1 !important;
    border-radius: 7px 7px 0 0;
}

#certificates_info_content::-webkit-scrollbar,
#job_info_content::-webkit-scrollbar {
    width: 10px;
}

#certificates_info_content::-webkit-scrollbar-track,
#job_info_content::-webkit-scrollbar-track {
    background-color: #d7d7d7;
    border-radius: 7px 0 0 0;
}

#certificates_info_content::-webkit-scrollbar-thumb,
#job_info_content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 7px;
}

#certificates_info_content ul,
#job_info_content ul {
    padding-right: 19px;
    font-size: 0.9rem;
}

#certificates_info_content ul li,
#job_info_content ul li {
    margin-bottom: 7px;
}

footer {
    /* background-color: rgb(43 41 41); */
    background-color: rgb(242 85 73);
    padding: 3rem;
    text-align: center;
    /* color: white; */
}

footer>div {
    margin-bottom: 11px;
}

footer a {
    /* color: white; */
    margin: 7px;
}

footer .design {
    font-size: 0.75rem;
    margin-bottom: 0;
}

footer .design img {
    position: relative;
    top: 9px;
}

@media(min-width:768px) {
    .container {
        text-align: center;
    }
    .cv_card {
        width: 45%;
        margin: 15px;
        display: inline-block;
    }
    #user_info_content p {
        height: 87px;
        margin-top: 24px;
        margin-bottom: 0;
    }
    .page_graphic.first {
        display: block;
        left: 0;
        top: -11px;
    }
    .page_graphic.second {
        display: block;
        top: 70vw;
    }
    .page_graphic.third {
        display: block;
        left: 0;
        top: 160vw;
    }
    .page_graphic.fourth {
        display: block;
        top: 316%;
    }
}

@media (min-width:991px) {
    #title-placeholder {
        display: block;
    }
    .container {
        max-width: 90%;
        margin: auto;
    }
    footer .download_buttons {
        padding: 60px 0;
        text-align: center;
    }
    .footer_links a {
        height: 75px;
        display: inline-block;
        margin-right: 13px;
        margin-top: 20px;
    }
    .footer_links a:last-child {
        margin-right: 0;
    }
}

@media (min-width:1200px) {
    .container {
        max-width: 1170px;
    }
    section {
        padding: 3.5rem 1.5rem;
    }
    .cv_card {
        width: 30%;
        margin: 15px;
        display: inline-block;
    }
    .page_graphic.first {
        display: block;
        left: 0;
        top: -11px;
    }
    .page_graphic.second {
        display: block;
        top: 30vw;
    }
    .page_graphic.third {
        display: block;
        left: 0;
        top: 70vw;
    }
    .page_graphic.fourth {
        display: block;
        top: 100vw;
    }
}