@font-face {
    font-family: "DrawingSet";
    url("font/Super Brush.otf") format("otf");
}

@font-face {    
    font-family: "ExtraLight";
    url("font/extralight.otf") format("otf");
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto Mono', monospace;
}

#content {
    display: flex;
    flex-direction: row;
}

h2 {
    font-family: 'DrawingSet', cursive;
}

#title-img {
    width: 80%;
    height: 50vh;
    background-color: yellow;
    margin: 0 0 2% 2%;

    background-image: url("../../img/physics.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#projects {
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#projects .title {
    height: 15vh;
    margin: 0 0 1% 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

#projects .title h2 {
    font-size: 2vw;
    margin: 0 0 0.5% 0;
}

#projects .title hr {
    width: 70%;
    height: 2px;
    background-color: black;
}

#projects iframe {
    width: 50%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 2% 0;
}

#projects p:not(.contribution-text p) {
    margin: 0 0 0 3%;
    text-align: center;
    width: 80%;
}

#contributions-list {
    width: 80%;
    height: auto;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40%, 1fr));
    gap: 1rem;
}

.contribution {
    height: 60vh;
}

.contribution-img {
    width: 100%;
    height: 35vh;
    background-image: url("../../img/missing.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.contribution-text {
    display: flex;
    flex-direction: column;
    margin: 2% 0 0 0;
}

.contribution-text h3 {
    font-size: 1.25vw;
}

.contribution-text p {
    font-size: 1vw;
    margin: 1% 0 0 0;
}

#batching {
    background-image: url("../../img/batching.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#quadtree {
    background-image: url("../../img/quadtree.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#regionalization {
    background-image: url("../../img/regionalization.gif");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
