*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
}

body{
    background-color: #cfd4ff;
    padding: 20px;
    font-family: "Annie Use Your Telescope", cursive;
        font-weight: 400;
        font-style: normal;
    text-align: center;
}

h1{
    text-align: center;
    margin-top: 100px;
    font-size: 90px;
    color: #5a64be;
}
h2{
    text-align: center;
    font-size: 50px;
    color: #5a64be;
}

h3{
    font-size: 70px;
    margin-top: 120px;
    text-decoration: underline;
    color:#5a64be;
    text-align: center;
}
h4{
    font-size: 20px;
    margin-top: 110px;
    margin-bottom: -30px;
    text-align: left;
    
}
figcaption{
   color: #454d93;
   font-size: 45px;
   font-display: bold;
}
p{
    font-size: 30px;
    margin: 30px;
    padding: 5px;
}
.link{
    text-align: left;
    margin-left: -4px;
}
a{
    padding-top: -30px;
    font-size: 20px;
    text-align: left;
}
.bubbleimg{
    height: 500px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    border-radius: 380px;
    border: 10px solid #929dff;
    box-shadow: 0px 0px 10px 10px #585e998a ; 
    margin-top: 40px; 
    margin-bottom: 40px;
}
.img{
    z-index: 20;
}

#panel{
   width: 100vw;
   height: 100vh;
   background-color: #5a64be;
   position: fixed;
   top: 0px;
   left: 0px;
   align-content: center;
   color: white;
   font-size: 80px;
   font-weight: bold;
   transition: all 0.7s ease-in;
   z-index: 100;

}

.slide-right{
    transform: translateX(98%)

}

#screenshot{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 50px;
}

.procreate{
    height: 400px;
    width: auto;
    border-radius: 380px;
    border-color: #545db1;
}

.outline{
    height: 400px;
    width: auto;
    border-radius: 380px;
}

.final{
    height: 400px;
    width: auto;
    border-radius: 380px;
    border-color: #545db1;
}

#btn{
    background-color:#929dff;
    padding: 10px 70px;
    margin-top: 130px;
    margin-bottom: 30px;
    border: none;
    border-radius: 100px;
    font-size: 2.2em;
    color: white;
    cursor: pointer;
    box-shadow: 0px 0px 2px 5px #545db1;
    font-family: "Annie Use Your Telescope", cursive;
        font-weight: 400;
        font-style: normal;
}

#btn:hover{
    background-color: #5a64be;
    rotate: 1deg;
}

.wrapper div {
    height: 60px;
    width: 60px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 50px;
    position: absolute;
    top: 10%;
    left: 10%;
    animation: 4s linear infinite;
    z-index: 101;
}

div .dot {
    height: 10px;
    width: 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    top: 20%;
    right: 20%;
}

.wrapper div:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: animate 8s linear infinite;
}

.wrapper div:nth-child(2) {
    top: 60%;
    left: 80%;
    animation: animate 10s linear infinite;
}

.wrapper div:nth-child(3) {
    top: 40%;
    left: 40%;
    animation: animate 3s linear infinite;
}

.wrapper div:nth-child(4) {
    top: 66%;
    left: 30%;
    animation: animate 7s linear infinite;
}

.wrapper div:nth-child(5) {
    top: 90%;
    left: 10%;
    animation: animate 9s linear infinite;
}

.wrapper div:nth-child(6) {
    top: 30%;
    left: 60%;
    animation: animate 5s linear infinite;
}

.wrapper div:nth-child(7) {
    top: 70%;
    left: 20%;
    animation: animate 8s linear infinite;
}

.wrapper div:nth-child(8) {
    top: 75%;
    left: 60%;
    animation: animate 10s linear infinite;
}

.wrapper div:nth-child(9) {
    top: 20%;
    left: 30%;
    animation: animate 6s linear infinite;
}

.wrapper div:nth-child(10) {
    top: 45%;
    left: 20%;
    animation: animate 10s linear infinite;
}

.wrapper div:nth-child(11) {
    top: 10%;
    left: 90%;
    animation: animate 9s linear infinite;
}

.wrapper div:nth-child(12) {
    top: 20%;
    left: 70%;
    animation: animate 7s linear infinite;
}

.wrapper div:nth-child(13) {
    top: 20%;
    left: 20%;
    animation: animate 8s linear infinite;
}

.wrapper div:nth-child(14) {
    top: 60%;
    left: 5%;
    animation: animate 6s linear infinite;
}

.wrapper div:nth-child(15) {
    top: 90%;
    left: 80%;
    animation: animate 9s linear infinite;
}

@keyframes animate {
    0% {
        transform: scale(0) translateY(0) rotate(70deg);
    }

    100% {
        transform: scale(1.3) translateY(-100px) rotate(360deg);
    }
}

@media only screen and (max-width: 768px){
    .bubbleimg{
        scale: 0.8;
        grid-template-columns: 1fr;
    }
    h3{
        text-align: center;
    }
}