*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Lunasima, sans-serif;
}
body{
    overflow-x: hidden;
}
/* HEADER */
header{
    z-index: 4;
    height: 100px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: transparent;
}
.h-l{
    width: 10%;
    min-width: 70px;
    display: grid;
    place-items: center;
}
.h-r{
    width: 80%;
    min-width: 280px;
    margin: 0 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.h-r a{
    color: #3b3835;
    font-weight: 700;
    text-decoration: none;
    margin: 5px;
    padding: 10px 20px;
    transition: transform 0.1s ease-in-out;
}
.h-r a:hover{
    color: red;
    transform: rotate(-5deg);
    transform-origin: 0 0;
}
.h-r-m {
    display: none;
    position: relative;
}
.header-btn {
    background: url('./assets/h-btn.png') no-repeat center/cover;
    border: none;
    padding: 10px;
    margin: 0 20px;
    height: 40px;
    width: 40px;
    position: relative;
    top: calc(50% - 20px);
    cursor: pointer;
    z-index: 400;
}
.header-dropdown {
    transform: translateX(-400%);
    transition: all 0.5s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    background: #bf4538;
    width: 95vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 2px solid black;
    border-radius: 20px;
    padding: 80px 20px;
}
.header-active{
    transform: translateX(-7.5%) !important;
}
.header-dropdown a {
    color: black;
    padding: 10px;
    font-size: 1rem;
    width: 100%;
    text-decoration: none;
    text-transform: uppercase;
    margin: 20px 0;
}
.buy-token{
    padding: 20px;
    display: grid;
    place-items: center;
    font-weight: 700;
    text-decoration: none;
    color: black !important;
    font-size: 1.3rem;
    width: 206px !important;
    height: 60px;
    padding: 5px;
    margin: 15px 0;
    position: relative;
}
.buy-token p{
    z-index: 10;
}
.buy-token::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: url('./assets/btn1.png') no-repeat center/cover;
    height: 100%;
    width: 100%;
}
.buy-token:hover::after{
    opacity: 0.7;
}
@media all and (max-width:1100px) {
    header{
        width: 90%;
        margin: 10px auto;
        right: 5%;
        border-radius: 20px;
        padding: 10px;
        flex-direction: row-reverse;
    }
    .h-r-m {
        display: block;
    }
    .h-r {
        display: none;
    }
}
p{
    color: #3b3835;
}
h1{
    font-family: 'Mountains of Christmas', sans-serif;
}
/* S1 */
.s1{
    width: 100%;
    min-height: 100vh;
    height: max-content;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background: white;
}
.s1-l, .s1-r{
    width: 50%;
    min-width: 280px;
    display: block;
    padding-top: 100px;
}
.s1-l{
    display: grid;
    place-items: center;
}
.s1-l img{
    width: max(250px, 40vw);
    height: max(250px, 40vw);
    object-fit: cover;
    border-radius: 50%;
    box-shadow: inset 0 0 max(50px, 20vw) max(50px, 20vw) gold, 0 0 10px 2px grey;
}
.s1-r{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.s1-r h1{
    font-family: 'Caveat Brush', sans-serif;
    color: #bf4538;
    font-size: max(60px, 8vw);
    position: relative;
    background: url('./assets/h1-bg.png') no-repeat center/contain;
    animation: s1-anim 1s ease-in-out 0.2s 1 forwards;
    transform: translateY(10%);
    opacity: 0;
}
.s1-r h1::after{
    content: 'WELCOME TO';
    position: absolute;
    top: 2.5%;
    left: -2.5%;
    font-size: max(20px, 2vw);
    color: #3b3835;
    transform: rotate(-20deg);
}
.s1-r h1::before{
    content: 'Unleashing the Memetic Power Inspired by the Movie "Nimona"!';
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 1.3rem;
    width: 100%;
    text-align: center;
    height: 20px;
    color: #3b3835;
}
.s1-r p{
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 150%;
    margin: 40px auto;
    width: 70%;
    min-width: 260px;
    animation: s1-anim 1s ease-in-out 0.2s 1 forwards;
    transform: translateY(10%);
    opacity: 0;
}
@keyframes s1-anim {
    100%{
        transform: translateY(0);
        opacity: 1;
    }
}
.s1-r a{
    background: url('./assets/btn2.png') repeat-x center/100% 100%;
    padding: 20px;
    display: grid;
    place-items: center;
    font-weight: 700;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    width: 206px;
    height: 60px;
    padding: 5px;
    margin: 15px auto;
}
.s1-r a:hover{
    filter: opacity(0.75);
}
@media all and (max-width:1100px) {
    .s1-r{
        width: 70%;
    }
}
@keyframes fadeIn {
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
/* S2 */
.s2{
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
}
.s2-l, .s2-r{
    width: 50%;
    min-width: 280px;
    height: 100%;
    display: grid;
    place-items: center;
}
.s2-l span{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 100%;
    background: url('./assets/s2-bg2.png') no-repeat center/100% 100%;
    padding: 30px;
}
@keyframes slideX {
    0%{
        transform: translateX(-50%);
    }
    40%{
        transform: translateX(30%);
    }
    60%{
        transform: translateX(20%);
    }
    70%{
        transform: translateX(30%);
    }
    80%{
        transform: translateX(25%);
    }
    90%{
        transform: translateX(27%);
    }
    100%{
        transform: translateX(30%);
    }
}
.s2-l span h1{
    font-size: max(30px, 4vw);
    color: black;
    text-align: center;
}
.s2-l span p{
    font-size: 1.2rem;
    text-align: center;
}
.s2-r img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: scaleUp 1s ease-in-out 1 forwards;
    transform: scale(0, 0);
}
@keyframes scaleUp{
    0%{
        transform: scale(0, 0);
    }
    40%{
        transform: scale(1.3, 1.3);
    }
    60%{
        transform: scale(1, 1);
    }
    80%{
        transform: scale(1.1, 1.1);
    }
    100%{
        transform: scale(1, 1);
    }
}
@media all and (max-width:1100px) {
    .s2-l, .s2-r{
        width: 100%;
    }
    .s2-l span{
        animation: none !important;
        width: 100%;
    }
}
/* S3 */
.s3{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    overflow-y: hidden;
}
.s3-s{
    width: 100%;
    min-width: 280px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}
.s3-s img{
    width: 25%;
    object-fit: cover;
    min-width: 280px;
}
.s3-m img{
    width: 80%;
}
.s3-img{
    width: 50%;
    min-height: 280px;
    height: 100%;
    background: url('./assets/a2.jpg') no-repeat center/contain;
    display: block;
    min-height: 80vh;
    animation: changeBg 1s ease-in-out infinite alternate-reverse;
}
@keyframes changeBg {
    0%{
        background: url('./assets/a2.jpg') no-repeat center/contain;
    }
    100%{
        background: url('./assets/a3.jpg') no-repeat center/contain;
    }
}
.s3-s span{
    width: 40%;
    min-width: 280px;
    transform: translateY(10%);
    opacity: 0;
}
.s3-s span h1{
    color: #bf4538;
    font-size: 2rem;
}
.s3-s span p{
    font-size: 1.1rem;
}
/* S4 */
.s4{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    position: relative;
    background-image: repeating-linear-gradient(249deg, transparent 0px, transparent 3px,rgb(255,255,255) 3px, rgb(255,255,255) 32px),repeating-linear-gradient(307deg, transparent 0px, transparent 3px,rgb(255,255,255) 3px, rgb(255,255,255) 32px),linear-gradient(90deg, hsl(191,85%,78%),hsl(242.429,85%,78%),hsl(293.857,85%,78%),hsl(345.286,85%,78%),hsl(36.714,85%,78%),hsl(88.143,85%,78%),hsl(139.571,85%,78%));
    /* Gradeint courtesy of: https://www.gradientmagic.com/ */
}
.s4-l{
    position: relative;
}
.s4-l img{
    width: max(100px, 10vw);
    position: absolute;
}
#d1{
    transform: translateY(-100px);
}
#d2{
    transform: translateY(100px);
}
.s4-r{
    width: 50%;
    display: grid;
    place-items: center;
    padding: 50px 3vw;
    transform: translateY(10%);
    opacity: 0;
}
.s4-r span{
    width: 80%;
    min-width: 280px;
}
.s4-r span h1{
    color: #bf4538;
    font-size: 3rem;
}
.s4-r span p{
    font-size: 1.3rem;
}
@media all and (max-width:1100px) {
    .s4-r{
        width: 100%;
    }
}
.s5{
    width: 100%;
    margin-bottom: -10px;
    background-image: repeating-linear-gradient(249deg, transparent 0px, transparent 3px,rgb(255,255,255) 3px, rgb(255,255,255) 32px),repeating-linear-gradient(307deg, transparent 0px, transparent 3px,rgb(255,255,255) 3px, rgb(255,255,255) 32px),linear-gradient(90deg, hsl(191,85%,78%),hsl(242.429,85%,78%),hsl(293.857,85%,78%),hsl(345.286,85%,78%),hsl(36.714,85%,78%),hsl(88.143,85%,78%),hsl(139.571,85%,78%));
    /* Gradeint courtesy of: https://www.gradientmagic.com/ */
}
.s5 img{
    width: 100%;
}
footer{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: black;
    padding-top: 30px;
    color: white;
}
footer h1{
    width: 100%;
    text-align: center;
    font-family: 'Caveat Brush', sans-serif;
    color: #bf4538;
    font-size: 3rem;
    padding: 20px;
}
footer a{
    text-decoration: none;
    margin: 15px;
    font-size: 1.3rem;
    color: #3b3835;
    font-weight: 500;
}
footer a:hover, footer a:active, footer a:focus{
    color: #bf4538;
}