@import url('https://fonts.googleapis.com/css2?family=Dongle&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    margin: 0;
    font-family: Poppins;
    font-size: 16px;
    color: white;
    background-color: #A85CF9;
}

h1 {
    font-size: 80px;
}

h2 {
    font-size: 46px;
}

h3 {
    font-size: 32px;
}

h4 {
    font-size: 24px;
}

p {
    font-size: 20px;
}




nav {
    z-index: 6969;
    background-color: #5634a5c7;
    color: white;
    display: flex;
    align-items: center;
    width: 900px;
    height: 6%;
    position: fixed;
    top: 0px;
    left: 20%;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    transition: 0.1s ease-in-out;
}

nav:hover {
    background-color: #5634a5;
}

nav ul {
    display: flex;
    margin-left: 300px;

}

nav ul li {
    list-style: none;
    padding-left: 40px;
}

nav ul li a {
    text-decoration: none;
    font-weight: 750;
    color: #6FDFDF;
    transition: 0.1s ease-in-out;
}

.nav-logo-title a {
    margin-top: 7px;
}

nav ul li a:hover {
    padding: 5px 10px 5px 10px;
    background-color: #bdade4;
    border-radius: 100px;
    color: #5534A5;
}

.nav-logo-title {
    margin-left: 30px;
}

.nav-logo-title img {
    content: url("https://codecreator.my.id/fotocsswillas/joker-logo-6C9D75CCB5-seeklogo.com%20(1).png");
    margin-top: 4px;
}

.nav-logo-title a {
    font-size: 1.5rem;
    font-weight: 650;
    color: #6FDFDF;
    text-decoration: none;
    position: absolute;
    left: 80px;
    top: 1px;
}

#header {
    margin-left: 100px;
    padding-top: 150px;
    display: flex;
    flex-direction: row;
}

.header-texts {
    display: flex;
    flex-direction: column;
    width: 60%;
    margin-left: 30px;
}

.header-texts h1 {
    color: #5534A5;
    margin-bottom: -20px;
}

.header-texts h3 {
    font-weight: 700;
    margin-left: 5px;
}

.header-texts p {
    margin-left: 5px;
}

.header-filler {
    display: flex;
    flex-direction: row;
    margin-left: 200px;
    content: url(https://codecreator.my.id/fotocsswillas/giphy.gif);
}

.content-aside {
    display: flex;
    margin-left: 100px;
    padding-top: 100px;
}

.content-first,
.content-second {
    width: 80%;
}

.content-first h2,
.content-second h2 {
    text-align: center;
}

.content-second h4 {
    text-align: center;
}

.content-first p,
.content-second p {
    text-align: justify;
}

aside {
    max-width: 500px;
    width: 100%;
    height: fit-content;
    background-color: #A85CF9;
    border: #5534A5 solid;
    padding: 30px;
    padding-right: 80px;
    display: flex;
    flex-direction: column;
    margin-right: 100px;
    margin-top: 150px;
    border-radius: 40px;
}

aside h2 {
    font-size: 32px;
    margin-left: 40px;
}

aside ul {
    width: 200px;
    margin-left: 60px;
    margin-bottom: 20px;
    list-style-image: url("https://codecreator.my.id/fotocsswillas/jokercardiconcssnew-removebg-preview%20(1).png");
}

aside ul li {
    font-weight: 600;
    font-size: 18px;
    padding: 10px;
}

aside ul li a {
    position: relative;
    top: -15px;
    text-decoration: none;
    color: white;
    transition: 0.1s ease-out;
}

aside ul li a:hover {
    padding: 10px;
    border-radius: 10px;
    background-color: white;
    color: #112f6e;
    text-decoration: none;
}

aside h2 {
    width: 210px;
}

table {
    border-spacing: 50px;

}

.articles {
    padding-top: 100px;
}

.article {
    border-radius: 40px;
    width: 400px;
    height: 800px;
    border: 3px #5534A5 solid;
    background-color: #4b7ce541;
}

.article table {
    width: 80%;
}

.article img {
    z-index: 0;
    position: relative;
    top: 0;
    margin-left: 30%;
    border-radius: 20px;
}

.article:nth-child(1) img {
    content: url(https://source.unsplash.com/160x160?joker);
}

.article:nth-child(2) img {
    content: url(https://source.unsplash.com/random/160x160?joker);
}

.article:nth-child(3) img {
    content: url(https://source.unsplash.com/featured/160x160?joker);
}

.articles h3,
.articles p {
    text-align: center;
}

.articles a {
    position: relative;
    bottom: 0;
    left: 40%;
    background-color: #5534A5;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    color: white;
    transition: 0.1s ease-out;
}

.articles a:hover{
    position: relative;
    bottom: 0;
    left: 38%;
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    color: #5534A5;
}

.article-long {
    background-color: #4b7ce541;
    border: 3px #5534A5 solid;
    padding: 20px;
    border-radius: 25px 100px 25px 100px;
}


.row-second img {
    content: url(https://codecreator.my.id/fotocsswillas/jokergif02.gif);
    width: 300px;

    border-radius: 10px;
}

.row-first td {
    padding: 20px;
}

.creativity {

    position: relative;
    top: 0;
    border-radius: 50px 50px 50px 50px;
    padding-bottom: 0px;
}

.mini-content {
    border-radius: 30px;
    padding: 25px;
    width: 70%;
    height: 30%;
    
}

.mini-content h2 {
    font-size: 28px;
    text-align: center;
    color: #FFFFFF;
}

.mini-content p {
    font-size: 20px;
    text-align: center;
    color: #FFFFFF;
}

.mini-one img {
    position: relative;
    top: 320px;
    left: 900px;
    animation: animate 50s infinite;
    content: url(https://source.unsplash.com/250x250?joker);
    border-radius: 200px;
    animation: animate 40s infinite reverse linear;
    animation-fill-mode: backwards;

}

.mini-one {
    width: 70%;
    margin-top: -200px;
    margin-left: 20%;
}

.mini-two img {
    position: relative;
    top: 310px;
    right: 300px;
    content: url(https://source.unsplash.com/250x250?joker);
    border-radius: 200px;
    animation-fill-mode: backwards;

}

.mini-two {
    margin-left: 20%;
    margin-top: -200px;
    animation-fill-mode: backwards;
}

.mini-three img {
    animation: animate 40s infinite alternate-reverse linear;
    animation-fill-mode: backwards;
    position: relative;
    top: 320px;
    left: 900px;
    content: url(https://source.unsplash.com/250x250?joker);
    border-radius: 200px;

}

.mini-three {
    animation: animate 50s infinite reverse linear;
    animation-fill-mode: backwards;
    width: 70%;
    margin-top: -250px;
    margin-left: 20%;
}

.mini-four img {
    animation: animate 40s infinite alternate linear;
    animation-fill-mode: backwards;
    position: relative;
    top: 310px;
    right: 300px;
    content: url(https://source.unsplash.com/250x250?joker);
    border-radius: 200px;

}

.mini-four {
    animation: animate 50s infinite linear;
    animation-fill-mode: backwards;
    margin-top: -250px;
    margin-bottom: 200px;
    margin-left: 20%;
}


footer {
    display: flex;
    height: 500px;
    background-color: #112f6e;
    justify-content: space-between;
    padding: 20px;
    border-top: #000000;
}

.footer-logo h3 {
    font-size: 30px;
    padding-top: 50px;
    margin-bottom: -30px;
}

.footer-logo {
    padding: 100px;
}

.footer-credit h3
{
    font-size: 24px;
    font-weight: 700;
    padding: 10px;
    margin-bottom: -30px;
}

.footer-credit {
    padding-top: 140px;
    padding-left: 100px;
}

.footer-form{
    width: 30%;
    border-left: 3px #6FDFDF solid;
    border-right: 3px #6FDFDF solid;
    padding-left: 50px;
    padding-right: 150px;
}

.footer-form label{
    font-weight: 700;
}

.footer-form input[type="text"]{
    border-radius: 10px;
    padding: 5px;
    width: 200px;
    margin-bottom: 20px;
}

.footer-form select{
    border-radius: 10px;
    padding: 5px;
    width: 215px;
}

.footer-form button{
    margin-top: 20px;
    color: #6FDFDF;
    font-size: 30px;
    font-weight: 700;
    padding: 5px;
    width: 200px;
    border: none;
    border-radius: 20px;
    background-color: #A85CF9;
}


/* responsive */

@media screen and (max-width: 500px){

    page-wrapper{
        max-width: 500px;
        width: 100%;
    }
    
    h1 {
        font-size: 60px;
    }
    
    h2 {
        font-size: 38px;
    }

    nav {
        z-index: 6969;
        background-color: #5634a5c7;
        color: white;
        display: flex;
        align-items: center;
        max-width: 500px;
        width: 94%;
        height: 100px;
        position: fixed;
        top: 0px;
        left: 3%;
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
        transition: 0.1s ease-in-out;
    }

    nav:hover {
        background-color: #5634a5;
    }
    
    nav ul {
        position: absolute;
        right: 7%;
        display: flex;
        margin-top: -20px;
        margin-left: 0;
    
    }
    
    nav ul li {
        list-style: none;
        padding-left: 10px;
    }
    
    nav ul li a {
        text-decoration: none;
        font-weight: 750;
        color: #6FDFDF;
        transition: 0.1s ease-in-out;
    }
    
    .nav-logo-title a {
        margin-top: 50px;
    }
    
    nav ul li a:hover {
        padding: 5px 10px 5px 10px;
        background-color: #bdade4;
        border-radius: 100px;
        color: #5534A5;
    }
    
    .nav-logo-title {
        margin-left: 30px;
    }
    
    .nav-logo-title img {
        content: url("https://codecreator.my.id/fotocsswillas/joker-logo-6C9D75CCB5-seeklogo.com%20(1).png");
        margin-top: 40px;
    }
    
    .nav-logo-title a {
        font-size: 1.5rem;
        font-weight: 650;
        color: #6FDFDF;
        text-decoration: none;
        position: absolute;
        left: 80px;
        top: 1px;
    }

    #header {
        margin-left: 20px;
        padding-top: 150px;
        display: block;
        flex-direction: row;
    }
    
    .header-texts {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-left: 0;
    }
    
    .header-texts h1 {
        color: #5534A5;
        margin-bottom: -20px;
    }
    
    .header-texts h3 {
        font-weight: 700;
        margin-left: 0;
    }
    
    .header-texts p {
        margin-left: 0;
    }
    
    .header-filler {
        max-width: 500px;
        width: 70%;
        display: flex;
        flex-direction: row;
        margin-left: 20px;
        content: url(https://codecreator.my.id/fotocsswillas/giphy.gif);
    }

    .content-aside {
        display: block;
        margin-left: 10%;
        margin-right: 0%;
        padding-top: 100px;
    }
    
    .content-first,
    .content-second {
        display: block;
        width: 100%;
    }
    
    .content-first h2,
    .content-second h2 {
        text-align: center;
    }
    
    .content-second h4 {
        text-align: center;
    }
    
    .content-first p,
    .content-second p {
        text-align: justify;
    }
    
    aside {
        max-width: 500px;
        width: 90%;
        height: fit-content;
        background-color: #A85CF9;
        border: #5534A5 solid;
        padding: 1%;
        padding-right: 2%;
        display: flex;
        flex-direction: column;
        margin-right: 3%;
        margin-top: 150px;
        border-radius: 40px;
    }
    
    aside h2 {
        font-size: 32px;
        margin-left: 40px;
    }
    
    aside ul {
        width: 200px;
        margin-left: 60px;
        margin-bottom: 20px;
        list-style-image: url("https://codecreator.my.id/fotocsswillas/jokercardiconcssnew-removebg-preview%20(1).png");
    }
    
    aside ul li {
        font-weight: 600;
        font-size: 18px;
        padding: 10px;
    }
    
    aside ul li a {
        position: relative;
        top: -15px;
        text-decoration: none;
        color: white;
        transition: 0.1s ease-out;
    }
    
    aside ul li a:hover {
        padding: 10px;
        border-radius: 10px;
        background-color: white;
        color: #112f6e;
        text-decoration: none;
    }
    
    aside h2 {
        width: 210px;
    }

    table {
        border-spacing: 5px;
    }

    .article, .row-first, .row-second, tr td{
        display: block;
    }
    
    .articles {
        padding-top: 100px;
    }
    
    .article {
        max-width: 500px;
        border-radius: 40px;
        width: 80%;
        height: fit-content;
        border: 3px #5534A5 solid;
        background-color: #4b7ce541;
        margin-left: 20px;
    }
    
    .article table {
        max-width: 500px;
        width: 100%;
    }
    
    .article img {
        z-index: 0;
        position: relative;
        top: 0;
        margin-left: 25%;
        border-radius: 20px;
    }
    
    .article:nth-child(1) img {
        content: url(https://source.unsplash.com/160x160?joker);
    }
    
    .article:nth-child(2) img {
        content: url(https://source.unsplash.com/random/160x160?joker);
    }
    
    .article:nth-child(3) img {
        content: url(https://source.unsplash.com/featured/160x160?joker);
    }
    
    .articles h3,
    .articles p {
        text-align: center;
    }
    
    .articles a {
        position: relative;
        bottom: 0;
        left: 35%;
        background-color: #5534A5;
        border-radius: 10px;
        padding: 10px;
        text-decoration: none;
        color: white;
        transition: 0.1s ease-out;
    }
    
    .articles a:hover{
        position: relative;
        bottom: 0;
        left: 38%;
        background-color: white;
        border-radius: 10px;
        padding: 15px;
        text-decoration: none;
        color: #5534A5;
    }
    
    .article-long {
        margin-top: 20px;
        margin-left: 20px;
        max-width: 500px;
        width: 80%;
        background-color: #4b7ce541;
        border: 3px #5534A5 solid;
        padding: 20px;
        border-radius: 25px 100px 25px 100px;
    }
    
    
    .row-second img {
        display: block;
        margin-left: 15%;
        margin-top: 20px;
        max-width: 500px;
        content: url(https://codecreator.my.id/fotocsswillas/jokergif02.gif);
        width: 80%;
    
        border-radius: 10px;
    }
    
    .row-first td {
        margin-top: 50px;
        padding: 20px;
    }

    .creativity {
        display: flex;
        flex-direction: row;
        align-content: center;
        max-width: 500px;
        width: 100%;
        position: relative;
        top: -100px;
        border-radius: 50px 50px 50px 50px;
        padding-bottom: 150px;
        margin-left: 7%;
    }
    
    .mini-content {
        display:flex;
        flex-direction: column;
        justify-content: center;
        max-width: 500px;
        border-radius: 30px;
        padding: 25px;
        width: 90%;
        height: 50%;
    }
    
    .mini-content h2 {
        padding: 10px;
        border-radius: 1000px;
        border: 3px #5534A5 solid;
        text-align: center;
        font-size: 26px;
    }
    
    .mini-content p {
        text-align: center;
        font-size: 20px;
    }
    
    .mini-one {
        margin-top: 50%;
        width: 90%;
        padding-left:0;
        margin-left: 0;
    }
    
    .mini-one img {
        display: block;
        width: 80%;
        position: relative;
        top:0;
        left: 0;
        content: url(https://source.unsplash.com/featured/300x300?joker);
        border-radius: 1000px;
        padding: 0;
        margin-left: 12%;
    
    }
    
    .mini-two {
        width: 90%;
        margin-top: 0px;
        margin-left: 0;
    }
    
    .mini-two img {
        display: block;
        width: 80%;
        position: relative;
        top:0;
        left: 0;
        content: url(https://source.unsplash.com/featured/300x300?joker);
        border-radius: 1000px;
        margin-left: 12%;
    
    }
    
    .mini-three {
        position: relative;
        top: 250px;
        width: 90%;
        padding-left: 0;
        margin-left: 0;
    }
    
    .mini-three img {
        padding: 0;
        display: block;
        width: 80%;
        position: relative;
        top: 0;
        left: 0;
        content: url(https://source.unsplash.com/featured/300x300?joker);
        border-radius: 1000px;
        margin-left: 12%;
    
    }
    
    .mini-four {
        width: 90%;
        margin-top: 250px;
        margin-left: 0;
    }
    
    .mini-four img {
        display: block;
        width: 80%;
        position: relative;
        top:0;
        left: 0;
        content: url(https://source.unsplash.com/featured/300x300?joker);
        border-radius: 1000px;
        margin-left: 12%;
    }

    footer {
        position: relative;
        bottom: 0;
        left: 0;
        max-width: 500px;
        width: 100%;
        display: flex;
        height: fit-content;
        background-color: #112f6e;
        justify-content: center;
        flex-direction: column;
        padding: 20px;
        border-top: #000000;
    }

    .footer-credit {
        padding-top: 0px;
        padding-left: 10px;
        padding-bottom: 50px;
    }
    
    .footer-form{
        width: 100%;
        border-left: 3px transparent solid;
        border-right: 3px transparent solid;
        padding-left: 10px;
        padding-right: 10px;
    }

    .footer-logo {
        padding: 10px;
    }
    
}