* {
    box-sizing: border-box;
}

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
}

.title {
    display: block;
    position: relative;
    top: 5px;
    padding: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.titlebanner {
    display: block;
    position: relative;
    top: -150px;
    padding: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;

}

.title a {
    text-decoration: none;
    color: black;
}

.titlebanner a {
    text-decoration: none;
    color: black;
}

#searchDiv {
    display: flex;
    justify-content: flex-end;
}

#search {
    margin: 20px;
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.bg-image-full {
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center;
    background-size: cover;
}

.index-1 {
    text-align: justify;
    max-width: 525px;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    padding-top: auto;
    padding-bottom: auto;
}

.index-2 {
    margin: 4px;
    max-width: 525px;
}

.anatomy {
    text-align: justify;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    width: 100px;
    flex-grow: 3;
}

.anatomy-2 {
    text-align: justify;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    width: 100px;
    flex-grow: 1;
}
.anatomy-3 {
    text-align: justify;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    width: 100px;
    flex-grow: 1;
}

.anatomy-img img{
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.behavior-1 {
    text-align: justify;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    padding-top: auto;
    padding-bottom: auto;
}

.behavior-2 img{
    max-width: 100%;
}

.behavior-3 {
    text-align: justify;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    padding-top: auto;
    padding-bottom: auto;
}

.behavior-4 img{
    max-width: 100%;
}

.evolution {
    text-align: justify;
    width: 525px;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    padding-top: auto;
    padding-bottom: auto;
}

.evolution-img img{
    max-width: 100%;
}

.evolution-small {
    width: 525px;
}

.breeds {
    text-align: justify;
    margin: 4px;
    padding: 30px;
    background-color: rgb(230, 230, 230);
    width: 100px;
    flex-grow: 3;
}

footer {
    background-color: rgb(255, 255, 255);
    border-top: solid black 3pt;
    margin-top: 40px;
    padding: 50px;
}

.footer-title {
    padding-left: auto;
    padding-right: auto;
    text-align: center;
}

@media (min-width: 600px) {
    h1 {
        font-size: 2.5em;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif !important;
    }
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 1.2em;
    }
    .anatomy-img img{
        max-width: 70%;
    }

    .main {
        width: 90%;
        margin-right: auto;
        margin-left: auto;
    }
}

@media (min-width: 1000px) {
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.5em;
    }
    h3 {
        font-size: 1.5em;
    }
    .anatomy-img img{
        max-width: 60%;
    }

    .main {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }

    .behavior-1 {
        width: 600px;
        height: 600px;
    }

    .behavior-2 img {
        max-width: 600px;
    }
    
    .behavior-3 {
        width: 600px;
        height: 600px;
        order: 2;
    }

    .behavior-4 img {
        max-width: 600px;
        order: 1;
    }

    .evolution {
        width: 500px;
    }

    .evolution-img img{
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Nav bar */
.topnav {
    background-color: #ffffff;
    overflow: hidden;
  }

  a {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
  }

  .topnav a {
    float: left;
    display: block;
    color: #444444;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
  }
  
  .topnav a:hover {
    background-color: rgb(255, 244, 196);
    color: #444444;
    animation: swing 1s ease;
    animation-iteration-count: 1;
  }

@keyframes swing {
    15% {
    transform: translateX(5px);
    }
    30% {
    transform: translateX(-5px);
    }
    50% {
    transform: translateX(3px);
    }
    65% {
    transform: translateX(-3px);
    }
    80% {
    transform: translateX(2px);
    }
    100% {
    transform: translateX(0);
    }
}
  
.topnav a.active {
background-color: #ffe02d;
color:#444444;
}

.topnav .icon {
display: none;
}

.container img:hover {
    transform: scale(0.8);
}

@media screen and (max-width: 750px) {
    .topnav a:not(:first-child) {display: none;}
    .topnav a.icon {
      float: right;
      display: block;
    }
    .topnav.responsive {position: relative;}
    .topnav.responsive a.icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
  }
/* click() method */
.announcement {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #ffe02d;
}

  /* Slide toggle */
  #slideToggle {
    padding: 50px;
  }

  #panelOne, #flipOne {
    padding: 5px;
    text-align: center;
    background-color: #ececec;
    border: solid 1px #969696;
  }

  #panelTwo, #flipTwo {
    padding: 5px;
    text-align: center;
    background-color: #ececec;
    border: solid 1px #969696;
  }

  #panelThree, #flipThree {
    padding: 5px;
    text-align: center;
    background-color: #ececec;
    border: solid 1px #969696;
  }
  
  #panel {
    padding: 50px;
    display: none;
  }


/* show() method */
.FAQ {
    display: block;
    width: 50%;
    margin: 20px auto;
    text-align: center;
}

/* replaceWith() Method */
.bestBreed {
    display: block;
    text-align: center;
    margin: 10px auto;
    padding: 20px;
    width: 100%;
    background-color: #ffe02d;
}
