*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.fredoka {
  font-family: "Fredoka", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.background{
    height: 100vh;
    width: 100%;
    background: radial-gradient(circle at center, #5de0e6, #004aad);      
    display: flex;
    flex-direction: column;
    overflow-y: scroll;    
}

h1{
    font-family: fantasy;
    color: white;
    font-size: 60px;
    padding: 20px;
    text-align: center;
    position: fixed;
    left: 40%;
}

.art{
    height: 550px;
    width: 450px;
    background-color: white;
    margin: 35%;
    margin-top: 14%;
    position: sticky;
    border: 4px double rgb(0, 30, 91);
    top:25%;
}

img{
    margin: 50px;
    width: 350px;
    height: 450px;
    border: 2px solid #caf0f8;
}



.art:nth-child(1){
    transform: rotate(-16deg);
    top:0px;
}
.art:nth-child(2){
    transform: rotate(-12deg);
}
.art:nth-child(3){
    transform: rotate(-8deg);
}
.art:nth-child(4){
    transform: rotate(-4deg);
}
.art:nth-child(5){
    transform: rotate(0deg);
}
.art:nth-child(6){
    transform: rotate(4deg);
}
.art:nth-child(7){
    transform: rotate(8deg);
}
.art:nth-child(8){
    transform: rotate(12deg);
}
.art:nth-child(9){
    transform: rotate(16deg);
}

p{
    color: white;
    font-style: fredoka;
    font-size: 30px;
    position: fixed;
    bottom: 20px;
    right: 25px;
}

i{
    font-size: 20px;
    color: white;
    padding: 10px;
}


@media (max-width: 1024px) {
    h1 {
        font-size: 40px;
        left: 30%;
        padding: 15px;
    }

    .art {
        height: 400px;
        width: 320px;
        margin: 25% 35%;
        margin-top: 12%;
        top: 20%;
    }

    img {
        margin: 30px;
        width: 260px;
        height: 340px;
    }

    .art:nth-of-type(1) { transform: rotate(-12deg); }
    .art:nth-of-type(2) { transform: rotate(-9deg); }
    .art:nth-of-type(3) { transform: rotate(-6deg); }
    .art:nth-of-type(4) { transform: rotate(-3deg); }
    .art:nth-of-type(5) { transform: rotate(0deg); }
    .art:nth-of-type(6) { transform: rotate(3deg); }
    .art:nth-of-type(7) { transform: rotate(6deg); }
    .art:nth-of-type(8) { transform: rotate(9deg); }

    p {
        font-size: 24px;
        right: 15px;
        bottom: 15px;
    }

    i {
        font-size: 16px;
        padding: 8px;
    }
}


@media (max-width: 480px) {
    h1 {
        font-size: 28px;
        left: 20%;
        padding: 10px;
    }

    .art {
        height: 300px;
        width: 240px;
        margin: 15% 30%;
        margin-top: 10%;
        top: 15%;
    }

    img {
        margin: 20px;
        width: 200px;
        height: 260px;
    }

    .art:nth-of-type(1) { transform: rotate(-8deg); }
    .art:nth-of-type(2) { transform: rotate(-6deg); }
    .art:nth-of-type(3) { transform: rotate(-4deg); }
    .art:nth-of-type(4) { transform: rotate(-2deg); }
    .art:nth-of-type(5) { transform: rotate(0deg); }
    .art:nth-of-type(6) { transform: rotate(2deg); }
    .art:nth-of-type(7) { transform: rotate(4deg); }
    .art:nth-of-type(8) { transform: rotate(6deg); }

    p {
        font-size: 18px;
        right: 10px;
        bottom: 10px;
    }

    i {
        font-size: 14px;
        padding: 6px;
    }
}