@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&family=Concert+One&display=swap');

* {
    box-sizing: border-box;
}

body{
    background-image: url('images/aaaaaaaw.png');
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100vh;

}

header{
    display: flex;
    flex-direction: column;
    margin-left: 10%;
}

h1, h2{
    font-family: "Concert One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #060124;
}

h1{
    font-size: 2.5rem;
}

h2{
    font-size: 2rem;
}

li, p, form, a{
    font-family: "Comfortaa", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    color: rgb(6, 1, 36);

    
}

.section{
    margin-left:10%; 
    display: flex;
    flex-direction:row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10%;
}

.section img{
    width: 20%;
    /* min-width: 200px; */
    border-radius: 50%;
    border: 2px solid #060124;
    animation:rotate 5s linear infinite;
}



ul{
    list-style-type: none;
}
li{
    margin: 20px;
    font-size: 1.2rem;
}
.left a, .right a{
    text-decoration: none;
}

.left a:hover, .right a:hover{
    text-decoration: none;
    font-weight: 600;
    color: orange;
}


.ranimg{
    position: absolute;
    display: flex;
    flex-direction: column;
    margin: 1rem;
    bottom: 0;
    display: flex;
    justify-content: end;
    align-items: flex-end;

    overflow: hidden;
}

.ranimg img, .ranimg h2{
    width: 20%;
    border-radius: 10%;
    
    animation: shake 0.5s;
    animation-iteration-count: infinite;
}
@keyframes rotate {
    to { transform:rotate(360deg); }
  }

  @keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

  @media only screen and (max-width: 768px) {
    body{
        background-size: fill;
    
    }

    h1{
        font-size: 2rem;
    }

    h2{
        font-size: 1.5rem;
    }

    li{
        font-size: 1rem;
    }

    .section{
        margin-left:5%; 
        flex-direction:column;
    }

    .ranimg img, .ranimg h2{
        width: 50%;
    }
  }