html {
    width: 100%;
    height: 100%;
    margin: 0;
}

.selected {
    color: #101357;
}

.container {
    position: absolute;
    color: #343940;
}

h1 {
    color: #101357;
}

/************************* landing *****************************************************************/

@media (min-width: 1000px) {

    #landingPage {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

}

@media (max-width: 1000px) {

    #landingPage {
        padding-top: 50px;
        padding-bottom: 200px;
    }

}

/************************* about *****************************************************************/

@media (min-width: 1000px) {

    #aboutPage {
        top: 18vh;
        left: 50%;
        transform: translate(-50%);
    }

}

@media (max-width: 1000px) {

    #aboutPage {
        padding-top: 50px;
        padding-bottom: 200px;
    }

    #aboutPage h1 {
        font-size: 1.8rem;
    }

}

/************************* resume *****************************************************************/

@media (min-width: 1000px) {

    #resumePage {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #resumePage iframe {
        height: 60vh;
    }

}

@media (max-width: 1000px) {

    #resumePage {
        padding-top: 50px;
        padding-bottom: 200px;
    }

    #resumePage iframe {
        height: 80vh;
    }

}

/************************* recent papers *****************************************************************/

@media (min-width: 1000px) {

    .modalLink {
        display: inline;
    }

    .tabLink {
        display: none;
    }

}

@media (max-width: 1000px) {

    .modalLink {
        display: none;
    }

    .tabLink {
        display: inline;
    }

}

.card-deck a {
    color: #7e858c;
    border: solid #e6e6e6 1px;
    padding: 10px;
    border-radius: 10px;
    background: #f8f8f8;
}

.card-deck a:hover {
    color: #7e858c;
    cursor: pointer;
    background: #f2f2f2;
    text-decoration: none;
}

.card {
    overflow: hidden;
    background-color: white;
}

.card-text {
    word-wrap: break-word;
}

/***************************** modal ********************************/

#modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(256, 256, 256, 0.4);
}

#modalContain {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 80vh;
    width: 80%;
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 3rem;
}

#modalContain a {
    color: #101357;
    padding-bottom: 1rem;
}

#modalContain a:hover {
    text-decoration: none;
    color: #262ed1;
    cursor: pointer;
}

#modalContain img {
    width: 30%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.name {
    padding-top: 1em;
    text-align: center;
}

#modalContain iframe {
    width: 100%;
    height: 60vh;
}

/******************************** footer ***************************/

footer {
    width: 100%;
    bottom: 0px;
    position: fixed;
    color: #989b9f;
    background-color: #343940;
    text-align: center;
    padding: 10px;
}

footer .col-md-4 {
    top: 50%;
    transform: translate(0%, 25%);
}