@import url('https://fonts.googleapis.com/css2?family=Cal+Sans&family=Fuzzy+Bubbles:wght@700&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Overpass:ital,wght@0,100..900;1,100..900&family=Pixelify+Sans:wght@400..700&family=Public+Sans:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
}

body{
    font-family: 'Cal Sans';
    letter-spacing: 0.15rem;
}

h1{
    background-color: #115740;
    color: white;
    border-radius:0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top:1rem;
    padding-bottom:1rem;
}

.website-description{
    font-size: 0.9rem;
    margin:1rem;
}

a{
    text-decoration: none;
}

a:hover{
    color: white;
}

.department-buttons{
    width:100%;
    display: flex;
    gap: 1rem;
    margin-top:1rem;
    margin-bottom: 1rem;
}

.department-buttons a{
    font-size:1rem;
    border-radius: 0.5rem;
    background-color: #115740;
    color: white;
    padding: 0.5rem;
    flex: 1;
}

.department-buttons a:hover{
    cursor: pointer;
    background-color: #B9975B;
    border-color: #B9975B;
    color: white;
}

.department-buttons a.active{
    background-color: #B9975B;
    border-color: #B9975B;
    color: white;
}

button{
    font-size:1rem;
    border-radius: 0.5rem;
    background-color: #115740;
    color: white;
    padding: 0.5rem;
    flex: 1;
}

button:hover{
    cursor: pointer;
    background-color: #B9975B;
    border-color: #B9975B;
    color: white;
}

.research-cards{
    margin-top:1rem;
    letter-spacing: 0.05rem;
    margin-bottom:1rem;
    width:100%;
    display: flex;
    gap: 1rem;
    display: flex;
    flex-direction: column;
}

.card{
    padding:0.5rem 1rem 1rem 1rem;
    background-color: #e2e2e2;
    border-radius:0.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: black;
    border:none;
    text-align: left;
}

.card:hover{
    background-color: #3a3a3a;
}

.card-one{
    background-color: #fffaeb;
}

.card-two{
    background-color: #e9ffea;
}

.card-three{
    background-color: #efe6ff;
}

.card-four{
    background-color: #ffe7fe;
}

.card-five{
    background-color: #ffeee2;
}

.card-description{
    margin-top: 0.5rem;
    font-size:0.75rem;
}

@media (max-width:480px){
    h1{
        background-color: #115740;
        color: white;
        border-radius:0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding:1rem;
    }

    .website-description{
        font-size: 0.9rem;
        margin:1rem;
    }
    
    a{
        text-decoration: none;
    }
    
    a:hover{
        color: white;
    }
    
    .department-buttons{
        width:100%;
        display: flex;
        flex-direction: row;
        gap: 0.25rem;
        margin-top:1rem;
        margin-bottom: 1rem;
    }
    
    .department-buttons a{
        flex: 1 1 0;
        text-align: center;
        font-size:1rem;
        border-radius: 0.5rem;
        background-color: #115740;
        color: white;
        padding: 0.5rem;
        font-size:0.75rem;
        flex: 1;
    }
    
    .department-buttons a:hover{
        cursor: pointer;
        background-color: #B9975B;
        border-color: #B9975B;
        color: white;
    }
    
    .department-buttons a.active{
        background-color: #B9975B;
        border-color: #B9975B;
        color: white;
    }
    
    button{
        font-size:1rem;
        border-radius: 0.5rem;
        background-color: #115740;
        color: white;
        padding: 0.5rem;
        flex: 1;
    }
    
    button:hover{
        cursor: pointer;
        background-color: #B9975B;
        border-color: #B9975B;
        color: white;
    }
    
    .research-cards{
        margin-top:1rem;
        letter-spacing: 0.05rem;
        margin-bottom:1rem;
        width:100%;
        display: flex;
        gap: 1rem;
        display: flex;
        flex-direction: column;
    }
    
    .card{
        padding:0.5rem 1rem 1rem 1rem;
        background-color: #e2e2e2;
        border-radius:0.5rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        color: black;
        border:none;
        text-align: left;
    }
    
    .card:hover{
        background-color: #3a3a3a;
    }
    
    .card-one{
        background-color: #fffaeb;
    }
    
    .card-two{
        background-color: #e9ffea;
    }
    
    .card-three{
        background-color: #efe6ff;
    }
    
    .card-four{
        background-color: #ffe7fe;
    }
    
    .card-five{
        background-color: #ffeee2;
    }
    
    .card-description{
        margin-top: 0.5rem;
        font-size:0.75rem;
    }
    
}