/* ==============================
   Imported Fonts
============================== */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&display=swap');

/* ==============================
   Root Variables
============================== */
:root{
    --primary-font: "Josefin Sans", serif;
    --secondary-font: "Cardo", serif;
}

/* opening text */
.opening-text{
    float: left;
    width: 100%;
    text-align: center;
    margin: 90px 0 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.opening-text p{
    width: 80%;
    font-family: var(--primary-font);
    font-size: 12pt;
    color: #000;
}

/* staff container */
.staff-container{
    float: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 50px 0 0 0;
    gap: 30px;
}

.staff-box{
    width: 80%;
    overflow: hidden;
    object-fit: contain;
}

.staff-box img{
    float: left;
    width: 100%;
}

.name-role{
    float: left;
    width: 50%;
    margin: 4px 0 0 4px;
}

.name-role a{
    float: left;
    width: 100%;
    text-decoration: underline;
    font-size: 15pt;
    font-style: italic;
    font-weight: 300;
    color: #000;
}

.name-role a:hover{
    color: #353535;
}

.name-role p{
    float: left;
    width: 100%;
    font-size: 12pt;
    font-style: italic;
    font-weight: 300;
    color: #000;
}

.links{
    float: right;
    width: 20%;
    margin: 8px 4px 0 0;
}

.links img{
    float: right;
    width: 30px;
}

.links img:hover{
    filter: invert(.3);
}

/* text passage */
.text-passage{
    float: left;
    width: 100%;
    text-align: center;
    margin: 30px 0 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.text-passage p{
    width: 80%;
    font-family: var(--primary-font);
    font-size: 12pt;
    color: #000;
}

.text-passage a{
    width: 80%;
    font-family: var(--primary-font);
    font-size: 12pt;
    font-weight: 600;
    color: #000;
    margin: 40px 0;
    text-decoration: none;
}

.text-passage a:hover{
    color: #353535;
}

@media (min-width: 426px){
    .staff-container{
        float: left;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 50px 0 0 0;
        gap: 30px;
        flex-wrap: wrap;
    }

    .staff-box{
        width: 384px;
        overflow: hidden;
        object-fit: contain;
    }
}

@media (min-width: 550px){

    .opening-text p{
        font-size: 14pt;
    }
    
    .text-passage p{
        font-size: 14pt;
    }

    .text-passage a{
        font-size: 14pt;
    }
}

@media (min-width: 769px){

    .opening-text p{
        width: 50%;
        font-size: 16pt;
    }

    .staff-container{
        float: left;
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin: 50px 0 0 0;
        gap: 30px;
        flex-wrap: wrap;
    }

    .staff-box{
        width: 384px;
        overflow: hidden;
        object-fit: contain;
    }

    .text-passage{
        margin: 50px 0 0 0;
    }

    .text-passage p{
        width: 50%;
        font-size: 16pt;
    }
    
    .text-passage a{
        width: 50%;
        font-size: 16pt;
    }
}