:root{
    --space800: rgb(0, 12, 35);
    --space800-80a: rgb(0, 12, 35, 0.8);
    --yellow: #FEE500;
    --yellow-80a: rgb(254, 229, 0, 0.8);
    --pink: #FF4753;
    --purple: #9722C9;
    --purple-bold: #493758;
    --pearl: #DFDFDF;
    --pearl-bold: #9A86A9;
}
*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease-in;
}
html{
    scroll-padding-top: 84px;
}
a{
    text-decoration: none;
    cursor: url(assets/pixelcursor-pointer.png), pointer;
}
body{
    background: var(--yellow) url(assets/bg-dots.png) top/50px 50px repeat;
    justify-content: center;
    cursor: url(assets/pixelcursor-def.png), auto;
}
ul{
    list-style: none;
}
main{
    margin: 32px 10%;
}
body h1,
body h3{
    font-family: "Tiny5", sans-serif;
}
body h2,
body p,
body li,
body a,
body small,
body figcaption{
    font-family: "Coustard", serif;
}
/*** NAVBAR ***/
nav{
    z-index: 10;
    display: flex;
    position: sticky;
    padding: 8px 4%;
    justify-content: space-between;
    align-items: center;
    top: 0;
    background-color: var(--yellow-80a);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.logotype{
    height: 56px;
    width: 190px;
    padding: 4px 8px;
}
.back{
    display: flex;
    flex: row;
    align-items: center;
    gap: 8px;
}
.back a{
    background-color: var(--pearl);
    height: 32px;
    width: 32px;
    padding: 4px;
    border-radius: 4px;
    border: 2px solid var(--purple-bold);
    box-shadow: inset;
    box-shadow: 
        inset 0px -2px 4px rgba(0,0,0,0.5),
        inset 0px 2px 4px white;
}
.back a:hover{
    box-shadow: 
        inset 0px 2px 4px rgba(0,0,0,0.5),
        inset 0px -2px 4px white;
}
.back img{
    width: 100%;
}
.back img:hover{
    transform: translateY(1px);
}
/*** HEADER ***/
header{
    background-color: var(--purple);
    display: flex;
    position: relative;
    height: 516px;
    border-radius: 16px;
    border: 8px solid var(--purple-bold);
    overflow: hidden;
    align-items: center;
    padding: 0px 48px;
    margin-bottom: 64px;
}
header video{
    position: absolute;
    z-index: 0;
    width: 500px;
    height: auto;
    top: 0;
}
.hero-title{
    width: 50%;
    z-index: 1;
    margin-left: 50%;
}
.logo-memearcade{
    height: 175px;
}
.hero-title div{
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}
.hero-title h1{
    color: var(--yellow);
    font-size: 4.5rem;
}
.view-btn{
    background-color: var(--yellow);
    border-radius: 50px;
    display: flex;
    flex-direction: row;
    padding: 8px 8px 8px 12px;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 32px;
    color: var(--purple-bold);
}
.arrow{
    background-color: var(--purple);
    height: 24px;
    width: 24px;
    border-radius: 50px;
    padding: 2px;
}
.view-btn:hover{
    transform: translateX(4px);
}
.view-btn:hover .arrow{
    transform: rotate(45deg);
}
.hero-title p{
    color: var(--yellow);
    font-size: 1.2rem;
}
/*** TOOLS ***/
#tools{
    margin-bottom: 64px;
    color: var(--purple-bold);
}
#tools h2{
    text-align: center;
    margin-bottom: 16px;
    font-size: 2rem;
}
#tools ul{
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
#tools li{
    background-color: var(--yellow);
    padding: 8px 24px;
    border-radius: 50px;
    border: 1px solid var(--space800);
}
/*** DETAILS ***/
#details{
    text-align: center;
    justify-content: center;
    color: var(--purple-bold);
}
#details h2{
    font-size: 3rem;
    margin-bottom: 16px;
}
#details p{
    margin: 0px 20%;
    margin-bottom: 24px;
    font-size: 1.5rem;
}
#details video{
    width: 100%;
    height: auto;
    border: 8px solid var(--purple-bold);
    border-radius: 16px;
    margin-bottom: 64px;
}
.ui{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card{
    background-color: var(--pearl-bold);
    width: 540px;
    height: auto;
    border: 8px solid var(--purple-bold);
    border-radius: 16px 16px 48px 48px;
    overflow: hidden;
}
.card h3{
    margin-bottom: 8px;
    font-size: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}
.card h3::before{
    content: '';
    height: 4px;
    width: 100%;
    background-color: var(--pink);
}
.card h3::after{
    content: '';
    height: 4px;
    width: 100%;
    background-color: var(--pink);
}
.card-header{
    margin: 8px 24px 24px 24px;
}
.card img{
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--purple-bold);
}
.card figcaption{
    background-color: var(--pearl);
    border-top: solid 1px var(--purple-bold);
    height: 150px;
    width: 100%;
    justify-content: center;
    align-content: center;
    box-shadow: 
        inset 0px -4px 10px rgba(0,0,0,0.5),
        inset 0px 4px 10px white;
    border-radius: 0px 0px 40px 40px;
    padding: 32px;
}
/*** CONTACT ***/
#contact{
    display: flex;
    flex-direction: row;
    color: yellow;
    background-color: var(--space800-80a);
    align-items: center;
    justify-content: center;
    width: fit-content;
    border-radius: 100px;
    padding: 4px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
}
#contact:hover{
    background-color: var(--space800);
}
#contact h3{
    font-family: "Sora", sans-serif;
    font-size: 1.5rem;
}
#contact p{
    font-family: "Sora", sans-serif;
}
#contact div{
    margin-right: 16px;
}
#contact img{
    height: 80px;
    width: auto;
    border-radius: 50px;
    margin-right: 8px;
}
.contact-spacer{
    height: 112px;
    width: 100%;
}
/*** FOOTER ***/
footer{
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 16px 5%;
    background-color: var(--pearl-bold);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    align-items: center;
    color: var(--purple-bold);
    gap: 16px;
}
footer small{
    font-weight: 200;
}
.socials{
    display: flex;
    gap: 12px;
}
.socials a{
    height: 36px;
    width: 36px;
    padding: 4px;
    border-radius: 4px;
    border: 2px solid var(--purple-bold);
    background-color: var(--pearl);
    box-shadow: 
        inset 0px -2px 4px rgba(0,0,0,0.5),
        inset 0px 2px 4px white;
}
.socials img{
    height: 100%;
}
.socials a:hover{
    box-shadow: 
        inset 0px 2px 4px rgba(0,0,0,0.5),
        inset 0px -2px 4px white;
}
.socials img:hover{
    transform: translateY(1px);
}
/*** TABLET ***/
@media screen and (max-width: 1280px){
    main{
        margin: 32px 4%;
    }
    #details p{
        margin: 0px 10%;
        margin-bottom: 24px;
    }
    .card{
        width: 400px;
    }
}
/***TABLET MINI***/
@media screen and (max-width: 1000px){
    header{
        padding: 0px 32px;
    }
    .hero-title{
        width: 70%;
        z-index: 1;
        margin-left: 30%;
    }
    header video{
        opacity: 0.5;
    }
}
/***MOBILE***/
@media screen and (max-width: 440px){
    .back p{
        display: none;
    }
    header{
        padding: 0 12px;
    }
    header video{
        left: -10%;
        transform: translateX(-10%);
        opacity: 0.2;
    }
    .hero-title{
        width: 100%;
        margin: 0px;
    }
    .hero-title h1{
        font-size: 3rem;
    }
    .logo-memearcade{
        height: 120px;
    }
    #details video{
        margin-bottom: 24px;
    }
    #details p{
        margin: 0px 4%;
        margin-bottom: 24px;
    }
    footer{
        flex-direction: column;
    }
    #contact img{
        height: 64px;
        width: auto;
    }
    #contact p{
        font-size: 0.8rem;
    }
    #contact h3{
        font-size: 1.2rem;
    }
}