@charset "UTF-8";
/* CSS Document */

body {
    background-image: url("../img/bg/background.png");
    background-size: cover; 
    background-repeat: no-repeat; 
    background-attachment: fixed;
    background-position: center;
    margin: 0 auto;
    font-family: "Open Sans", sans-serif;
}

header {
    background-image: url("../img/10.jpg");
    background-size: cover;
    background-position: 0%;
}

h1, h2, h3 {
    text-align: center;
    margin: 0 auto;
    color: #FFFFFF;
}

h1 {
    font-size: 80px;
    padding-top: 400px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 30px;
    color: #FFCCF8;
}

a {
  color: #ffffff;
  text-decoration: underline;
}

.text {
    width: 85%;
    margin: 0 auto;
}

.funny-button {
    border: 0;
    background-color: #ffffff;
    padding: 15px 40px 15px 40px;
    margin: 20px auto 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cat-eyes {
  background-image: url("../img/7.jpg");
  height: 450px;
  background-size: cover;
  background-position: 0%;
}

@media only screen and (max-width: 1100px) {
  .cat-eyes {
    height: 300px;
  }
}

@media only screen and (max-width: 700px) {
  .cat-eyes {
    height: 200px;
  }
}

video.cat-video {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
}

@media only screen and (max-width: 540px) {
  video.cat-video {
    width:100vh;
  }
}





/*   FIRST ROW OF GRID ITEMS   */

.cats-container-first {
    display: grid;
    column-gap: 15px;
    row-gap: 15px;
    justify-items: stretch;
    width: 85%;
    grid-template-columns: 50% 17% 16% 17%;
    margin: 50px auto 50px auto;
  }

  @media only screen and (max-width: 1500px) {
    .cats-container-first {
      grid-template-columns: 50% 50%;
    }
  }
  
  @media only screen and (max-width: 750px) {
    .cats-container-first {
      grid-template-columns: 100%;
    }
  }

  .cat-in-tree, .dex-on-fence, .three-siblings, .toby-and-luna, .dex-with-fish, .ollie-and-mom, .kiwi-and-chip, .bossy-cat {
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-clip: border-box;
  }

  .cat-in-tree {
    background-image: url("../img/9.jpg");
  }

  .dex-on-fence {
    background-image: url("../img/2.JPEG");
  }

  .three-siblings {
    background-image: url("../img/6.jpg");
  }

  .toby-and-luna {
    background-image: url("../img/3.jpg");
  }


/*   SECOND ROW OF GRID ITEMS   */

.cats-container-second {
  display: grid;
  column-gap: 15px;
  row-gap: 15px;
  justify-items: stretch;
  width: 85%;
  grid-template-columns: 25% 25% 25% 25%;
  margin: 50px auto 50px auto;
}

@media only screen and (max-width: 1250px) {
  .cats-container-second {
    grid-template-columns: 50% 50%;
  }
}

@media only screen and (max-width: 600px) {
  .cats-container-second {
    grid-template-columns: 100%;
  }
}

.dex-with-fish {
  background-image: url("../img/4.JPG");
}

.ollie-and-mom {
  background-image: url("../img/5.jpg");
}

.kiwi-and-chip {
  background-image: url("../img/1.JPG");
}

.bossy-cat {
  background-image: url("../img/8.jpg");
}

