@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 500;
  src: url(Epilogue-Medium.ttf) format('truetype');
}
@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 300;
  src: url(Epilogue-Light.ttf) format('truetype');
}
@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 700;
  src: url(Epilogue-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Epilogue';
  font-style: normal;
  font-weight: 400;
  src: url(Epilogue-Regular.ttf) format('truetype');
}

@keyframes backgroundFade {
  from {opacity: 0; filter:blur(5px)}
  to {opacity: 1; filter:none}
}
@keyframes smallFade {
  from {opacity: 0}
  to {opacity: 1}
}

*{
    padding:0px;
    margin:0px;
    font-family: 'Epilogue', Arial, Helvetica, sans-serif;
    /*border:1px solid red;*/
}
body {
    font-size:2vw;
}
header {
    background-color:#BBB;
    background-image:linear-gradient(65deg,white, transparent), linear-gradient(transparent 90%,#0005), url("../photos/banner.jpeg");
    background-size:cover;
    background-repeat:no-repeat;
    background-position-y: 65%;
    margin:0px;
    height:18vw;
    align-content:center;
    color:#444444;
    animation: backgroundFade 1s;
}
h1 {
    font-weight: 300;
    font-size:5vw;
    letter-spacing:-3.5pt;
    margin-left:4vw;
}
h1 b{
    color:#111111;
    font-weight: 500;
    letter-spacing:normal;
    text-shadow:2px 2px 4px rgba(0,0,0,0.3);
}
nav {
    height:5vw;
    display:flex;
    justify-content: space-evenly;
    
}
nav a {
    text-decoration:none;
    color:#111;
    font-weight: 400;
    font-size:2.9vw;
    text-shadow:-2px 2px 0px #DDD;
    width:16vw;
    align-content:center;
    text-align:center;
    letter-spacing:4pt;
    font-variant:small-caps;
    transition:text-shadow 0.2s, color 0.3s
}
nav a:hover{
    text-shadow:0px 0px 3px #6EF;
}
nav a:active{
    color:#000;
    text-shadow:0px 0px 5px #3DF;
}
h2 {
    text-align:center;
    margin-bottom:2vw;
    width:100%;
}
div {
    animation: smallFade 1.5s;
    padding:2vw 4vw;
    border-top:2px solid black;
    display:flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
img{
    width:100%;
    height:100%;
    object-fit:cover;
}
div a {
    box-shadow: 0px 0px 10px 0px #000D;
    aspect-ratio: 1.33;
    width:25vw;
    height:auto;
    background-color:black;
    color:white;
    text-decoration:none;
    text-align:center;
    padding:2px 2px 3.05vw 2px;
    margin:20px;
    text-shadow:0px 0px 10px #FFF;
    transition: background-color 0.1s, transform 0.1s, text-shadow 0.1s;
}
div a:hover{
    background-color:#222;
    text-shadow:0px 0px 15px #FFF;
    transform:scale(1.03);
}