/* Header */

header {
    padding: 1rem;
    background-color: black; /* Don't delete: Must be set for z-index */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center; /* Centers vertically only */
    max-width: 75rem;
    margin: 0 auto; 
}

.logo {
    width: 3.5rem;
    border-radius: 1.75rem;
}

.home-btn {
    background-color: transparent;
    font-size: 2.5rem;
}

.home-icon {
    color: white;
}


/* Main */

main{
    padding-top: 8.5rem; 
    min-height: 100vh;
}

.developer-card-section{
    padding: 1rem;
    margin: 1rem;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    border-radius: 28px;
}

.photo-and-name-section{
    display: grid;
    grid-template-columns: auto 1fr;
}

.name-and-title-div{
    display: flex;           /* Enables flex layout */
    flex-direction: column;  /* Align items vertically */
    justify-content: center; /* Centers items vertically */
    padding-left: 1rem;
}

.photo{
    height: 5rem;
    width: 5rem;
    border-radius: 2.5rem;
    object-fit: cover;
    object-position: top;
}

.name{
    font-weight: 500;
    font-size: 1.25rem;
}

.title{
    color: gray;
    font-size: 0.875rem;
}

.about-par{
    text-align: center;
}

.images-par{
    padding-top: 0.5rem;
    text-align: center;
}

.whatsapp-link, .phone-call-link, .gmail-link{
    margin-right: 0.5rem;
}

.whatsapp-image, .phone-call-image, .gmail-image{
    width: 1.25rem;
}

@media (min-width: 320px){ 
    .developer-card-section{
        width: 19rem;
        margin: 0.5rem auto;
    }
}