@import url('https://fonts.googleapis.com/css?family=Google Sans');

@media screen and (max-width: 768px) {
	.nodisplay {
        backface-visibility: hidden;
        visibility: hidden;
        overflow: hidden;
	    background-image: url(../images/transitions/animolsketch04.jpg),
        url(../images/transitions/animolsketch07.jpg),
        url(../images/transitions/animolsketch09.jpg),
        url(../images/transitions/animolsketch10.jpg),
        url(../images/transitions/animolsketch11.jpg);
	}
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
main{
    font-family: "Montserrat", sans-serif;
}

.landing{
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    background-image: url("../images/transitions/animolsketch04.jpg");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: right;
    padding: 0rem 5rem;
    transition: background-image .1s ease-in-out 0s;
    animation-name: fade;
    animation-direction: normal;
    animation-duration: 40s;
    animation-delay: 9s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-play-state: running;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
    -webkit-animation-fill-mode: forwards;    
    -webkit-animation-name: fade;
    -webkit-animation-duration: 40s;
    -webkit-animation-iteration-count: infinite;
    -webkit-transition: background-image;
    /*animation: fade 40s infinite 0s;
    animation-timing-function: cubic-bezier(0, 1, 0, 1);
    animation-delay: 7s;*/
}
.landingwidth {
    width: 100%;
	}
.landingheight {
	height: 100%;
    max-height: 100vh;
    }
    
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 10vh;
}
.nav-links{
    display: flex;
    list-style: none;
    text-decoration: none;
    color: black;
}
.nav-links li{
    padding-left: 10rem;
    font-size: 1.2rem;
}
footer{
    position: fixed;
    display: table-footer-group;
    background-color: transparent;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    text-align: right;
    padding-right: 10rem;
    justify-content: space-between;
    min-height: 10vh;
    bottom: 0; 
}

#logo{
    font-family: "Montserrat", sans-serif;
    font-weight: bolder;
    font-size: 2rem;
    letter-spacing: -.1rem;
}
#logo::first-letter{
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: bolder;
    font-size: 2rem;    
}

.big-text{
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    font-size: 9rem;
    font-family: "Lobster", cursive;
    color: rgb(242,126,129);
    text-decoration: none;
}
.light-text{
    font-size: 1rem;
    font-family: "Montserrat", sans-serif;
    font-weight: lighter;   
}
.intro{
    background: black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.slider{
    background: rgb(242,126,129);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(100%);
}
.intro-text{
    color: rgb(233, 233, 233);
    font-family: "Roboto", sans-serif;
    font-size: 3rem;
}

.hide{
    background: black;
    overflow: hidden;
}

.hide span{
    transform: translateY(100%);
    display: inline-block;
}

.clickable-background {
    font-size: 0;
}
.clickable-background:hover ::after, .clickable-background ::after {
	content: '';
	display: inline-table;
	/*display:inline-block;*/
	width: 32px;
    height: 32px;
    background: url("../images/instagramicon/instathumbblk.png");
    padding-bottom: .5rem;
}
  /* Every image needs to have its own rule defined. */
.insta-icon ::after{
    background: url("../images/instagramicon/instathumbblk.png");
}
.insta-icon:hover ::after {
    background: url("../images/instagramicon/instathumbgry.png");
}
.clickable-background:hover ::after, .clickable-background ::after{
    background-repeat: no-repeat;
    background-size: contain;
	background-position: 1.5% 0%;
}

@keyframes fade{
    0%{
        background-image: url(../images/transitions/animolsketch04.jpg);
    }
    20%{
        background-image: url(../images/transitions/animolsketch07.jpg);
    }
    40%{
        background-image: url(../images/transitions/animolsketch09.jpg);
    }
    60%{
        background-image: url(../images/transitions/animolsketch10.jpg);
    }
    80%{
        background-image: url(../images/transitions/animolsketch11.jpg);
    }
}

@-webkit-keyframes fade {
    from { -webkit-transform: translateX(100%); }
    99% { -webkit-transform: translateX(0); }
    to {} /* equals `100% {}` Leave it empty to fix the flicker */
}

@media screen and (max-width: 768px) {
    .landing{
        background-size: 100%;
        padding: 0rem 1rem;
    }
	.nav-links li {
		font-size: 85%;
    }
    .nav-links{
        display: list-item;
    }
    footer{
        text-align: center;
        padding-right: 2rem;
        bottom: 1rem; 
    }
    #logo{
        font-size: 110%;
    }
    #logo::first-letter{
        font-size: 100%;    
    }
    .light-text{
        font-size: 90%;
    }
    .intro-text {
		font-size: 250%;
	}
	.clickable-background:hover ::after, .clickable-background ::after {
		width: 35px;
		height: 35px;
	}
}