@font-face {
    font-family: 'Hammersmith';
    src: url('../assets/fonts/Hammersmith.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Germania';
    src: url('../assets/fonts/GermaniaOne-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@media (width >= 1024px) {
    main {
        margin: 0 50px 20px;
    }

    #director-photos {
        gap: 20px;
    }
}

@media (width < 1024px) {
    #photos-and-director-list {
        flex-direction: column;
    }
}

@media (width < 1024px) and (width >= 768px) {
    main {
        margin: 0 20px 20px;
    }

    #past-directors {
        align-self: center;
        width: 50%;
    }
}

@media (width < 1024px) and (width >= 500px) {
    #director-photos {
        gap: 50px;
    }
}

@media (width >= 900px) {
    #current-director {
        gap: 50px;
    }
    
    #director-img {
        flex: 1;
    }

    #director-img img {
        width: 100%;
    }

    #director-text {
        flex: 2;
    }
}

@media (width < 900px) {
    #current-director {
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }

    #director-img {
        width: 100%;
    }
}

@media (width < 900px) and (width >= 768px) {
    #director-img img {
        width: 50%;
    }
}

@media (width >= 768px) {
    #current-director {
        justify-content: space-around;
    }
    
    #director-text p {
        padding: 0 20px 20px;
    }
}

@media (width < 768px) {
    main {
        margin: 0 10px 10px;
    }

    #director-text p {
        padding: 0 10px 20px;
    }

    #past-directors {
        align-self: center;
    }
}

@media (width < 768px) and (width >= 500px) {
    #director-img img {
        width: 50%;
    }

    #past-directors {
        width: 50%;
    }
}

@media (width < 500px) {
    #director-img img {
        width: 100%;
    }

    #director-photos {
        flex-direction: column;
        gap: 20px;
    }

    #past-directors {
        width: 100%;
    }
}

body {
    text-align: center;
    font-family: 'Hammersmith';
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    color: #EDB634;
    /* heading border */
    -webkit-text-stroke: 0.5px #4A321B;
    font-family: 'Germania';
    font-size: 2.5em;
}

#text-minus-h1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

h2 {
    font-family: 'Hammersmith';
    padding: 20px;
    margin: 0px;
}

#current-director {
    display: flex;
    align-items: center;
}

#current-director img {
    border-radius: 30px;
    object-fit: cover;
}

#director-text {
    background-color: #D5C5B8;
    color: #2C2440;
    border-radius: 30px;
}

#director-text h2 {
    color: #4A2B11;
}

#director-text p {
    margin: 0;
}

#photos-and-director-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

#director-photos {
    display: flex;
    flex: 2;
}

.extra-photo {
    flex: 1;
}

#director-photos img {
    width: 100%;
    height: 100%;
    border-radius: 30px;
}

#past-directors {
    background-color: #967860;
    color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    border-radius: 30px;
}

#past-directors h2 {
    color: #2C2440;
}

#past-directors ul {
    list-style-type: none;
    margin: 0;
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}