@import url('https://fonts.googleapis.com/css?family=Nunito:300,400,600,700&display=swap');
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    cursor: crosshair;
}

.container {
    width: 100%;
    height: 100vh;
}

nav ul {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    justify-self: end;
    z-index: 4;
    list-style: none;
    margin: 0;
    flex-wrap: wrap;
}

nav li {
    /* flex: 1; */
}

nav a {
    display: block;
    /* margin: 0 20px 0 0; */
    padding: 1em 1.6em;
    text-decoration: none;
    font-size: 22px;
    color: #FFF;
    border-radius: 5px;
    transition: 0.3s
}

nav a:hover {
    color: #31AF91;
}

.title {
    grid-column: 1/3;
    grid-row: 2;
    align-self: center;
    font-size: 50px;
    padding: 30px 90px;
    color: #FFF;
    /*NEW */
    z-index: 3;
}

.bgimage1 {
    background: url("../img/1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.bgimage2 {
    background: url("../img/2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.bgimage3 {
    background: url("../img/3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.bgimage4 {
    background: url("../img/4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.bgimage5 {
    background: url("../img/5.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}

.loader {
    font-size: 26px;
    font-weight: 600;
    color: #FFF;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    opacity: 0;
}

.color-wipes-animate {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 0;
    position: fixed;
    top: 100%;
    width: 100%;
    height: 100vh;
    z-index: 5;
}

.color-wipe {
    height: 100vh;
    width: 100%;
    background: #be2829;
    display: none;
}

.color-wipe:nth-child(1) {
    background-color: #99835A;
}

.color-wipe:nth-child(2) {
    background-color: #DC5587;
}

.color-wipe:nth-child(3) {
    background-color: #2EC4B6;
}

.color-wipe:nth-child(4) {
    background-color: #82DCC5;
}

.color-wipe:nth-child(5) {
    background-color: #C8BDBA;
}