/* add your styling here */

header > h1{
text-align: center;
font-size: 24px;
text-transform: uppercase;
letter-spacing: 10px;
color: yellow;
background-color: rgb(119, 11, 11);
border: 2px solid yellow;
border-radius: 10px;
padding-top: 5%;
padding-bottom: 5%;
width: 70%;
height: 2rem;
margin-left: auto;
margin-right: auto;
}
header >h2{
    text-align: center;
    size: 2em;
    text-decoration: underline;
}
body{
    margin-left: 5%;
    margin-right: 5%;
}
h3.subject {
    text-align: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 32px;
    color: red;
    margin-top: 2em;
    letter-spacing: 3px;
    background: linear-gradient(90deg, rgb(255, 0, 0), rgb(0, 0, 0), rgb(255, 0, 0));
    background-repeat: no-repeat;
    background-size: 80%;
    animation: animate 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);

}
@keyframes animate {
    0% {
      background-position: -300%;
    }
    100% {
      background-position: 300%;
    }
  }
ul {
    display: flex;
   text-align: center;
    list-style: none;
    flex-wrap: wrap;
    justify-content: space-around;
    grid-gap: 20px 50px;
    padding: 2%;
    box-shadow: 3px 3px 3px 3px rgb(252, 0, 0);
}

 h1 {
    color: blue;
    font-family: 'Courier New', Courier, monospace;
}

img {
    height: 20rem;
    width: 15rem;
}
img:hover{
    transform: scale(1.05);
}


@media screen and (max-width:480px) {
    header >h1 {
        font-size: 10px;
        letter-spacing: 5px;
        width: 80%;
    }
    header >h2 {
        font-size: 1em;
    }
    h3.subject {
       font-size: 16px;
    }

    img {
height: 10rem;
width: 7.5rem;
    }
    h1 {
        font-size: 20px;
    }
   
}
/* .....For tablets.....*/
@media screen and (min-width: 481px) and (max-width:768px) {
    header >h1 {
        font-size: 16px;
        letter-spacing: 10px;
        width: 80%;
    }
    header >h2 {
        font-size: 1.5em;
    }
    h3.subject {
       font-size: 22px;
    }

    img {
height: 15rem;
width: 10rem;
    }
    h1 {
        font-size: 28px;
    }
}

