@font-face {
    font-family: "NotoSans-Light";
    src: url("../assets/fonts/NotoSans-Light.ttf");
}


h1 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.full-sized-child {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

#sidebar-bg-img {
    background-image: url('../assets/sidebar_background_top.jpg');
    background-size: cover;
    background-position: 50% 70%;
}
@media (min-width: 48em) {
    #sidebar-bg-img {
        background-image: url('../assets/sidebar_background.jpg');
        background-position: center top;
    }
}

#gradient-mask {
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.8));
}
@media (min-width: 48em) {
    #gradient-mask {
        background-image: linear-gradient(transparent, transparent, rgba(0,0,0,0.6), rgba(0,0,0,0.7));
    }
}

.sidebar-about h1 {
    font-size: 2.2rem;
}

.secondary-names {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.secondary-names h2 {
    color: rgba(255, 255, 255, .85);
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.persian-name {
    font-family: "Vazir", "Shabnam", "Tahoma", sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: -.16em;
    color: #ffffff; /* makes font white */
}


.ipa {
    font-family: "NotoSans-Light", sans-serif;
    font-size: 1rem;
    word-spacing: .15em;
    letter-spacing: .05em;
}

@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) and (stroke-color:transparent) {
        .neg-letter-spacing {
            letter-spacing:-0.38rem;
        }
    }
}

.large-diacritic {
    font-size: 1.1rem;
}

.tone {
    letter-spacing: 0;
}

#name-pronunciation {
    margin-left: 0.7rem;
}

.lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, .7);
}

.social-links {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    margin: 0.75rem;
    font-size: 1.5rem;
}

.social-link:first-child {
    margin-left: 0;
}

.social-link:last-child {
    margin-right: 0;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, .25);
}

#pub-list {
    list-style: none;
    padding-left: 0;
}

#pub-list li + li {
    margin-top: 1rem;
}

#publication-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#publication-header-container h1 {
    margin-top: 1rem;
}

#equal-contribution-note {
    font-size: 0.9rem;
    color: rgba(0, 0, 0, .3);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.profile-photo {
    float: right;
    margin: 5px 5px 17px 17px;
    width: 150px;
    border-radius: 10px;
}
@media (min-width: 48em) {
    .profile-photo {
        float: right;
        margin: 5px 12px 20px 20px;
        width: 200px;
        border-radius: 10px;
    }
}
