@font-face {
    font-family: 'Myriad';
    src: url('MyriadPro-Regular.ttf') format('ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Myriad', sans-serif;
    background-image: url("anothercat.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

header {
    position: relative;
    color: #383838;
    text-shadow: 0 1px 0 #d2d2d2, 1px 0 0 #646464;
    display: flex;
    position: absolute;
    top: 4%;
    right: 4%;
    left: 4%;
    height: 6%;
    align-items: center;
    background-image: linear-gradient(to bottom, 
        #d2d2d2 0%,
        #949494 100%
    );
    overflow: hidden;
    border-radius: 0.2rem;
    justify-content: center;
    text-align: center;
}
header p {
    user-select: none;
    cursor: alias;
    padding-left: 6%;
    transition: color .2s ease-in-out;
}

header p:hover {
    color: #646464;
}

nav {
    flex-grow: 1;
    height: 100%;
}

nav ul {
    display: flex;
    height: 100%;
    margin: 0;
}

nav ul li {
    list-style-type: none;
    display: flex;
    float: left;
    flex: 1;
    position: relative;
    height: 100%;
    border-left: solid #949494;
}
nav ul li a {
    color: #383838;
    text-decoration: none;
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

nav ul li a:hover {
        background-image: linear-gradient(to bottom, 
            #747474 0%,
            #a2a2a2 100%
        );
}

.hero {
    color: #383838;
    text-shadow: 0 1px 0 #9f9f9f, 1px 0 0 #646464;
    position: absolute;
    top: 25%;
    bottom: 25%;
    left: 10%;
    right: 10%;
    padding: 5%;
    background-image: linear-gradient(to bottom,
        rgba(210, 210, 210, 0.5) 0%,
        rgba(148, 148, 148, 0.5) 100%
    );
    border-radius: 0.5rem;
    border: solid #949494;
    transition: transform .1s ease-in-out;
    backdrop-filter: blur(0.2rem);
}

.hero:hover {
    transform: translateY(-5%) scale(1.05);
}

.hero p {
    font-size: 125%;
}