@font-face {
    font-family: "EB Garamond";
    src: url("fonts/EBGaramond-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "EB Garamond";
    src: url("fonts/EBGaramond-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 700;
    font-style: italic;
    font-display: swap;
}

body {
    font-size: 112.5%;
    font-family: "EB Garamond", "Garamond", Georgia, serif;
    font-weight: 400;
    background-image: url("images/snow.gif");
    background-size: cover;
    background-position: center;
    text-align: center;
    cursor: url('images/eye-cursor.png') 16 16, auto;
}

a {
    color: black;
}

ul {
    list-style-type: none;
    padding: 0;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 50%,
    transparent 100%
    );
    margin: clamp(2rem, 5vw, 3rem) 0;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-bottom: 20px;
    color: #A52A2A;
}

header .header-gif {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 2px rgba(0,0,0,0.3));
}

header h1,
header p {
    margin: 0;
}

header h1 {
    font-size: 2.5rem;
}

header p {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

footer {
    margin-top: 40px;
}

main {
    background: snow;
    padding: 30px;
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
    border: 4px solid #333;
    border-radius: 20px;
    box-shadow:
        inset 0 0 0 2px #555,
        0 0 0 6px #222,
        0 0 15px rgba(0,0,0,0.2);
}

/*for people who use cell phones*/
@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    main {
        margin: 1rem;
        padding: 1rem;
    }
}

#drop-cap::first-letter {
    float: left;
    font-size: 3rem;
    line-height: 1;
    padding-top: 0.05em;
}

#email-name {
    display: none;
}

.return-button {
    font-weight: bold;
    margin-top: 40px;
}

.return-button img {
    max-width: 75px;
}

.code-images {
    width: 100%;
    max-width: 800px;
    height: auto;
}

pre {
    white-space: pre-wrap;
}
