/* Kayla Perez, ITWP 1050, Homework 5- based on my absolute favorite characters (and my mains in the game) :) */

/* Sets the margins t0 20px on each side*/
* {
    margin: 20px; 
    background-color: #c1f0ff;
    text-align: center;
  }

  /* Sets the margins to 40px and creates a box shadow around the image */
.gif {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 20px rgb(16, 147, 255);
    display: block;
    margin: 40px auto;
    transition: transform 0.3s ease;
  }


  /* Default body bont size */
body {
    font-size: 18px;
}


  /* Changes body font size when the viewport is 800px or less */
@media (max-width: 800px) {
    body {
    font-size: 16px;
}
  h1 {
    font-size: 4rem;
}
}

/* Changes body font size when the viewport is 600px or less */
@media (max-width: 600px) {
    body {
        background-color: rgb(144, 76, 255);
}
}

/* Changes the max width and sets the height of an image */
img {
    max-width: 25%;
    height: auto;
    display: block;
}


/* Creates a container for more pictures */
.container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  background: rgba(134, 200, 255, 0.3);
  padding: 0.25rem 2rem;
}

/* sets the background color to blue, aligns the text, and adds padding */
.item {
  background: rgb(16, 147, 255);
  color: rgb(0, 0, 0);
  text-align: center;
  margin: 0.5rem;
  font-size: 1.25rem;
  padding: 1rem;
  flex: 1 1 600px;
  box-sizing: border-box;
  border-radius: 10px;
  max-width: 600px; 
}

/* changes the size of the pictures in the container */
.img2 {
  width: 90%;
  height: auto;
  margin: 10px auto 0 auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Changes the size of the container heading */
.container-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
  text-align: center;
}

.container-heading::before {
  content: " ⋅•⋅⊰∙∘☽ ";  /* Adds the symbol to the left*/
  font-size: 1.5rem;
}

.container-heading::after {
  content: " ☾∘∙⊱⋅•⋅ "; /* Adds the symbol to the right*/
  font-size: 1.5rem;
}

/* Changes the width of the boxes within the container */
.wide {
    width: 400px;
}

/* Changes font size of h2 */
h2 {
  font-size: large;
}

  /* footer elements */
footer {
  text-align: center;
}