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

@font-face {
    font-family: 'Josefin';
    src: url('../assets/fonts/Josefin.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) {
    #docs-and-img {
        gap: 50px;
    }
}

@media (width < 1024px) {
    #docs-and-img {
        flex-direction: column;
        gap: 20px;
    }
}

@media (width < 1024px) and (width >= 768px) {
    #documents, #docs-photo {
        width: 75%;
        align-self: center;
    }
}

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

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

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

h1 {
    color: #edb634;
    /* heading border */
    -webkit-text-stroke: 0.5px #4A321B;
    font-family: 'Germania';
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
}

#docs-and-img {
    display: flex;
    justify-content: center;
}

#documents, #docs-photo {
    flex: 1;
}

#documents {
    background-color: #D5C5B8;
    font-family: 'Hammersmith';
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 30px;
}

#documents a {
    color: #2C2440;
}

#docs-photo {
    display: flex;
    justify-content: center;
}

#docs-photo img {
    width: 100%;
    border-radius: 30px;
}