@font-face {
    font-family: 'AnkhSanctuary';
    src: url('../fonts/ankh-sanctuary-font/AnkhSanctuary-PVK0B.ttf') format('truetype');
}
@font-face {
    font-family: 'Miniver';
    src: url('../fonts/Miniver-Oxanium/Miniver/Miniver-Regular.ttf');
}

body {
    background-color: rgb(38, 32, 75);
    background-image: url(../images/cosmos.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'AnkhSanctuary', 'Courier New', Courier, monospace, sans-serif;
}

header, 
footer, 
a:hover {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    backdrop-filter: blur(5px);
}

/* ===== toMake ===== */
header {
    box-sizing: border-box; 
    height: 3.5rem;
    width: 100%;
    padding: 8px;
}
/* ===== toMake ===== */
.img-header {
    display: flex;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    align-items: center;
}
/* ===== toMake ===== */
.img-header img {
    max-height: 100%;
    height: auto;
    width: auto;
    max-width: 100%;
    background-color: antiquewhite;
    border-radius: 50%;
}

main {
    flex: 1;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    width: 100%;
    text-align: center;
}

h1 {
    font-size: 8rem;
    font-style: italic;
    margin: 0 auto;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
}

.homepage {
    color: honeydew;
}

footer {
    width: 100%;
    height: 2.5rem;
    font-size: 0.8em;
    justify-content: center;
    display: flex;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
}

/* ===== POLAROID ===== */
.projects-collection {
    height: 100%;
    width: 100%;
    flex-wrap: wrap;
}
.polaroid-frame {
    box-sizing: border-box;
    margin: 8px;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
    background-color: honeydew;
    width: 200px;
    height: 240px;
    text-decoration: none;
    justify-content: center;
}
.polaroid-frame img {
    border: 1px solid black;
    width: 85%;
    height: 70%;
    object-fit: contain;
    margin-top: 10px;
    margin-bottom: 0;
    transition: all 0.3s ease;
    padding: 2px;
    background-color: rgba(230, 230, 180, 0.2);
}
.polaroid-caption {
    font-size: 14px;        
    font-family: 'Miniver', cursive;
    margin-top: 8px;
}
.polaroid-date {
    font-family: cursive;
    font-size: 10px;        
    color: #666;
    margin-bottom: 8px;
}
.polaroid-frame:hover {
    transform: translateY(-5px);
    filter: saturate(0.7) contrast(0.9) sepia(0.5);
}
