@font-face {
    font-family: ancientmoderntales; /* set name */
    src: url(Ancient\ Modern\ Tales.otf); /* url of the font */
}
*{
    margin: 0;
    padding: 0;
}
body{
    background-image: url("images/moonana website base.png");
    background-repeat: no-repeat;
    background-size: 100%;
    align-items: center;
}
.header{
    
    width: 100%;
    
}
.flex-container {
    display: flex;
    flex-direction: row;
    background-image: url("images/logo.png");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 25%;
    width: 100%;
    padding-bottom: 12%;
}

.flex-item {
    text-align: center;
    font-size: 5vw;
    width: 16.6%;
    margin-top: 2%;
}

.newsletter {
    display: flex;
    flex-direction: row;
    align-items: center;

    height: 100%;
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    margin-bottom: 57%;
    justify-content: center;
    color: white;
}
.newsletter2 {
    display: flex;
    flex-direction: row;
    align-items: center;

    height: 100%;
    width: 100%;
    padding-top: 1%;
    padding-bottom: 1%;
    margin-top: 8%;
    margin-bottom: 8%;
    justify-content: center;
    color: white;
}
.copyright {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 3vw;
    height: 100%;
    width: 100%;

    justify-content: center;
    color: white;
}
.newsletter-item-center:hover {
    background-image: url("images/newsletter-red3.png");
    
}
.newsletter-item-center {
    text-align: center;
    background-image: url("images/newsletter.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    font-family: ancientmoderntales;
    font-size: 3vw;
    width: 50%;
    padding-top: 1%;
    padding-bottom: 1%;
    transition: background-image 0.1s ease;
}
.newsletter-item-sides{
    width: 25%;
}
.next-release{
    text-align: center;
    color: white;
    font-family: ancientmoderntales;
    font-size: 6vw;
    width: 100%;
    padding-bottom: 4%;
    background-image: url("images/divider.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}
.steam-widget{
    align-items: center;
    justify-content: center;
    text-align: center;
}
.games{
    text-align: center;
    color: white;
    font-family: ancientmoderntales;
    font-size: 6vw;
    width: 100%;
    padding-bottom: 4%;
    background-image: url("images/divider.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 60%;
}
.games-large{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    
}

.games-large-item{
    margin-left: 0.5%;
    margin-right: 0.5%;
    width: 40%;
    object-fit: contain;
    
}
.games-large-item img{
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.games-large-item img:hover{
    opacity: 1;
}
.games-small{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-top: 1%;

}
.games-small-item{
    margin-left: 0.5%;
    margin-right: 0.5%;
    width: 30%;
    object-fit: contain;
}
.games-small-item img{
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.games-small-item img:hover{
    opacity: 1;
}

nav{
    color: white;
    font-family: ancientmoderntales;
    display: flex;
    
    
    align-items: center;
}
nav img{
    width: 150 px;
}
nav a{
    color:white;
    text-decoration: none;
    transition: color 0.2s ease;
}
nav a:hover{
    color: #931416;
}
.newsletter a{
    color:white;
    text-decoration: none;
}
.newsletter2 a{
    color:white;
    text-decoration: none;
}