@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@500&family=Exo+2:wght@800&family=Ubuntu:wght@500&display=swap');

body {
    font-family: 'Exo 2', sans-serif;
}

.subheader {
    font-family: 'Catamaran', sans-serif;
    padding-top: 2vh;
    text-align: center;
    font-size: 52px;
    z-index: 2;
}

#background {
    height: 100%;
    background-image: url(/static/background.jpeg);
    /* Photo by Mathias P.R. Reding from Pexels
    https://www.pexels.com/photo/shiny-gouache-paints-spilling-on-canvas-4392549*/
    background-color: rgb(2, 94, 130);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    pointer-events: none;
    display: flex;
}

#portfolio {
    height: 100%;
    position: relative;
}

#portfolio h1{
    padding: 8vh;
    margin-bottom: 0;
}

#project-wrapper {
    height: 70vh;
    width: 81vw;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

#button-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
}

.tile-button{
    position: relative;
    display: block;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    background-color: #1e1e1e;
    text-align: center;
    z-index: 5;
}

.tile-button:hover {
    cursor: pointer;
}

.tile-button > img {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    height: 26px;
    top: 17.5%;
    position: relative;
    left: -2.5px;
}

#project-tiles {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: flex;
    position: absolute;
    left: 0.85vw;
    transition: all 1s ease;
}

.tile {
    background-color: #cccccc;
    border-radius: 12px;
    padding: max(5%, 2.7vh) max(5%, 2.7vw);
    box-shadow: 7px 5px 10px #787878;
    min-width: 17vw;
    margin-right: 2vw;
    display: inline-block;
}

.tile h2 {
    text-align: center;
    font-family: 'Catamaran', sans-serif;
    font-size: 1.4vw;
}

.tile p {
    padding: 5% 3% 5% 3%;
    font-family: 'Ubuntu', sans-serif;
    font-size: 0.95vw;
}

.tile a {
    font-size: 1.05vw;
    margin: 0 auto;
    text-align: center;
    display: block;
    color: #2f2f2f;
}

.tile a:visited {
    color: #444444;
}

.tile h2 {
    color: #1e1e1e;
}

.box {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hole{   
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: 50%;
    transform: translate(-50%, -50%);
    width: 330px;
    height: 220px;
    overflow: hidden;
    display: inline-block;
}

#subheading {
    text-align: center;
    height: 0px;
    font-size: 48px;
    transform: translateY(-45vh);
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

#you:hover {
    text-decoration: underline;
    text-decoration-thickness: 5px;
    transition: text-decoration;
}