@import url('https://use.typekit.net/fxq6zzl.css');

html {
  scroll-behavior: smooth;
}

* {
  font-family: tgn-soft-round, sans-serif;
  font-weight: 700;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.home {
  background: #0e49b5;
  color: #fff;
}

.title {
  display: flex;
  width: 80%;
  margin: auto;
  padding-top: 50px;
}

.logo-box {
  width: 40%;
  display: flex;
}

.logo {
  width: 300px;
  margin: auto;
}

.title-box {
  width: 60%;
  font-size: 1.9em;
}

.title-desc {
  padding: 0 5%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

.search {
  display: flex;
  margin: auto;
  padding: 80px 0 60px 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.search-element {
  display: inline-block;
}

.search-title {
  font-size: 1.8em;
  color: #fff;
  margin-bottom: 10px;
}

.form-entry {
  -webkit-appearance: none;
  border: 3px solid #fff;
  background: #0e49b5;
  padding: 10px;
  font-size: 1.5em;
  color: #fff;
  border-radius: 10px;
  margin: 0 50px;
  text-align: center;
}

.form-entry:focus {
  border: 3px solid #bfff43;
  color: #bfff43;
}

.form-entry:focus .search-title {
  color: #bfff43;
}

.search-btn {
  background: #0e49b5;
  border: 3px solid #fff;
  padding: 10px 70px;
  font-size: 1.5em;
  color: #fff;
  border-radius: 10px;
  margin: 0 50px;
  transition: 0.35s;
}

.search-btn:hover {
  color: #0e49b5;
  background: #fff;
}

/* <!-------------------------------- RESULTS SECTION ----------------------------------->
<!----------------------------------- RESULTS SECTION -----------------------------------> */

.results-container {
  margin: auto;
  margin-top: 40px;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.results-text {
  color: #0e49b5;
  font-size: 2em;
  text-align: left;
}

.results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  margin-top: 20px;
}

.dog-result {
  cursor: pointer;
  width: 300px;
  height: 300px;
  text-align: center;
  margin-bottom: 180px;
}

.thumb-photo-box {
  height: 300px;
  overflow: hidden;
  border: 4px solid #0e49b5;
  border-radius: 20px;
  z-index: 2;
  transition: all 0.35s ease-in-out;
  background: #fff;
  position: relative;
  justify-content: center;
  align-items: center;
  display: block;
}

.thumbnail-result {
  background: #fff;
  min-height: 300px;
  min-width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dog-result:hover .thumb-photo-box {
  border: 4px solid #bfff43;
}

.info-result {
  width: 100%;
  color: #fff;
  background: #0e49b5;
  border: 4px solid #0e49b5;
  border-radius: 20px;
  padding: 60px 10px 10px 10px;
  margin-top: -50px;
  z-index: 1;
  position: relative;
  transition: all 0.25s ease-in-out;
}

.dog-result:hover .info-result {
  color: #bfff43;
}

.info-result:hover {
  color: #bfff43;
}

.info-result > p {
  margin-bottom: 10px;
}

.result-name {
  font-size: 1.65em;
}

.result-other-info {
  font-size: 1.25em;
}

/* <!-------------------------------- INDIVIDUAL DOG PROFILE ----------------------------------->
<!----------------------------------- INDIVIDUAL DOG PROFILE -----------------------------------> */

.dog-profile-intro {
  display: flex;
  margin: auto;
  padding: 80px 0 80px 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 70%;
}

/* .dog-photo-section {
  width: 50%;
} */

/* .profile-flex {
  display: flex;
  margin: auto;
  padding: 80px 0 60px 0;
  align-items: center;
  justify-content: center;
  text-align: center;
} */

.photo-container {
  position: relative;
  padding: 0 50px;
}

.profile-photo {
  border: 6px solid #0e49b5;
  padding: 35px 35px;
  max-width: 800px;
}

.photo-container img {
  max-height: 600px;
}

.left-arrow {
  height: 40px;
  position: absolute;
  top: 47%;
  transform: translateX(-50%);
  left: 98px;
  transition: all 0.25s ease-in-out;
}

.left-arrow:hover {
  left: 93px;
}

.right-arrow {
  height: 40px;
  transform: scaleX(-1);
  position: absolute;
  top: 47%;
  right: 85px;
  transition: all 0.25s ease-in-out;
}

.right-arrow:hover {
  right: 80px;
}

.full-images {
  height: 40px;
  position: absolute;
  position: absolute;
  bottom: 20px;
  right: 78px;
}

.profile-info-section {
  width: 50%;
  text-align: center;
  margin-left: 20px;
  color: #0e49b5;
}

.profile-name {
  font-size: 2em;
  color: #bfff43;
  background: #0e49b5;
  border-radius: 10px;
  padding: 5px 30px;
  display: inline-block;
  margin-bottom: 20px;
}

.breed-icon {
  height: 25px;
  display: inline-block;
}

.location-icon {
  height: 25px;
  display: inline-block;
}

.attributes {
  display: inline-block;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.attr-addt {
  display: block;
}

.characteristics {
  font-size: 1.5em;
  margin-bottom: 5px;
}

.about-info-section {
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: space-evenly;
  background: #0e49b5;
  margin-bottom: 80px;
  padding: 80px 0;
}

.about-info {
  background: #fff;
  border-radius: 15px;
  width: 40%;
  padding: 40px 0;
  color: #0e49b5;
  font-size: 1.5em;
  text-align: center;
}

.personality-icon {
  height: 30px;
  display: inline-block;
}

.health-icon {
  height: 28px;
  display: inline-block;
}

.about-title {
  margin-bottom: 5px;
  margin-right: 5px;
  display: inline-block;
}

.contact-title {
  margin-bottom: 5px;
  margin-right: 5px;
  display: inline-block;
}

.house-icon {
  height: 28px;
  display: inline-block;
}

.contact-info {
  background: #fff;
  border-radius: 15px;
  width: 40%;
  padding: 40px 0;
  color: #0e49b5;
  font-size: 1.5em;
  text-align: center;
}

.contact-text {
  margin-bottom: 5px;
}

.single-btn-container {
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 80px;
}

.return-search {
  background: #fff;
  border: 3px solid #0e49b5;
  padding: 10px 70px;
  font-size: 1.5em;
  color: #0e49b5;
  border-radius: 10px;
  transition: 0.35s;
}

.return-search:hover {
  color: #fff;
  background: #0e49b5;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */
/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */
/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */

@media (max-width: 1520px) {
  .title {
    width: 90%;
    padding-top: 50px;
  }

  .logo-box {
    width: 40%;
  }

  .logo {
    width: 225px;
  }

  .title-box {
    width: 60%;
    font-size: 1.5em;
  }

  .title-desc {
    padding: 0 5%;
  }

  .search-title {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 10px;
  }

  .form-entry {
    -webkit-appearance: none;
    border: 3px solid #fff;
    background: #0e49b5;
    padding: 10px 0;
    font-size: 1.3em;
    color: #fff;
    border-radius: 10px;
    margin: 0 50px;
    text-align: center;
  }

  .form-entry:focus {
    border: 3px solid #bfff43;
    color: #bfff43;
  }

  .form-entry:focus .search-title {
    color: #bfff43;
  }

  .search-btn {
    background: #0e49b5;
    border: 3px solid #fff;
    padding: 8px 70px;
    font-size: 1.5em;
    color: #fff;
    border-radius: 10px;
    margin: 0 50px;
    transition: 0.35s;
  }

  .photo-container {
    margin-bottom: 40px;
  }

  .dog-profile-intro {
    flex-direction: column;
    padding: 80px 0 80px 0;
  }

  .about-info {
    width: 40%;
    margin-bottom: 40px;
    font-size: 1.4em;
  }

  .contact-info {
    width: 40%;
    font-size: 1.4em;
  }
}

/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */

@media (max-width: 1325px) {
  .title {
    padding-top: 20px;
  }

  .logo-box {
    width: 40%;
  }

  .logo {
    width: 175px;
  }

  .title-box {
    width: 60%;
    font-size: 1.1em;
  }

  .title-desc {
    padding: 5% 15% 5% 5%;
  }

  .search-title {
    font-size: 1.4em;
    color: #fff;
    margin-bottom: 10px;
  }

  .form-entry {
    -webkit-appearance: none;
    border: 3px solid #fff;
    background: #0e49b5;
    padding: 10px 0;
    font-size: 1.3em;
    color: #fff;
    border-radius: 10px;
    margin: 0 50px;
    text-align: center;
  }

  .search-btn {
    background: #0e49b5;
    border: 3px solid #fff;
    padding: 8px 70px;
    font-size: 1.5em;
    color: #fff;
    border-radius: 10px;
    margin: 0 50px;
    transition: 0.35s;
  }

  .search-element {
    margin-bottom: 40px;
  }

  .results {
    grid-template-columns: repeat(3, 1fr);
  }

  .profile-info-section {
    text-align: center;
  }

  .photo-container {
    margin-left: 0;
    margin-bottom: 40px;
    padding: 0;
  }

  .left-arrow {
    height: 40px;
    top: 47%;
    left: 45px;
  }

  .left-arrow:hover {
    left: 40px;
  }

  .right-arrow {
    height: 40px;
    top: 47%;
    right: 37px;
  }

  .right-arrow:hover {
    right: 32px;
  }

  .full-images {
    height: 40px;
    bottom: 20px;
    right: 28px;
  }

  .about-info {
    width: 45%;
    font-size: 1.3em;
  }

  .contact-info {
    width: 45%;
    font-size: 1.3em;
  }
}

/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */

@media (max-width: 1075px) {
  .results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
  }

  .about-info-section {
    flex-direction: column;
  }

  .about-info {
    width: 60%;
  }

  .contact-info {
    width: 60%;
  }
}

/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */

@media (max-width: 1000px) {
  .results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
  }

  .logo-box {
    width: 40%;
  }

  .logo {
    width: 175px;
  }

  .title-box {
    width: 60%;
    font-size: 1.1em;
  }

  .title-desc {
    padding: 5%;
  }

  .results-text {
    font-size: 1.8em;
  }

  .profile-info-section {
    width: 80%;
    text-align: center;
    margin-left: 0;
  }

  .dog-profile-intro {
    display: flex;
    margin: auto;
    padding: 60px 0 60px 0;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .profile-name {
    font-size: 1.5em;
    border-radius: 10px;
    padding: 5px 30px;
    margin-bottom: 20px;
  }

  .breed-icon {
    height: 20px;
  }

  .location-icon {
    height: 20px;
  }

  .attributes {
    font-size: 1.2em;
    margin-bottom: 5px;
  }

  .profile-photo {
    border: 4px solid #0e49b5;
    /* padding: 35px 85px; */
    width: 600px;
  }

  .about-info {
    font-size: 1.2em;
  }

  .contact-info {
    font-size: 1.2em;
  }

  .personality-icon {
    height: 25px;
  }

  .health-icon {
    height: 20px;
  }
  .house-icon {
    height: 23px;
  }
}

/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */

@media (max-width: 800px) {
  .title {
    flex-direction: column;
    width: 80%;
    padding-top: 25px;
  }

  .logo-box {
    width: 100%;
  }

  .logo {
    width: 200px;
  }

  .title-box {
    width: 100%;
    font-size: 0.9em;
  }

  .title-desc {
    padding: 10%;
  }

  .search {
    padding: 30px 0 30px 0;
  }

  .results-text {
    font-size: 1.5em;
  }

  .profile-photo {
    border: 3px solid #0e49b5;
    padding: 15px 15px;
    /* padding: 15px 35px; */
    width: 325px;
  }

  .left-arrow {
    height: 20px;
    top: 47%;
    left: 20px;
  }

  .left-arrow:hover {
    left: 17px;
  }

  .right-arrow {
    height: 20px;
    top: 47%;
    right: 14px;
  }

  .right-arrow:hover {
    right: 11px;
  }

  .full-images {
    height: 20px;
    bottom: 20px;
    right: 10px;
  }

  .profile-name {
    font-size: 1.3em;
    border-radius: 8px;
    padding: 5px 20px;
    margin-bottom: 20px;
  }

  .about-info {
    width: 75%;
    padding: 30px 0;
  }

  .contact-info {
    width: 75%;
    padding: 30px 0;
  }
}

/* <!-------------------------------- MEDIA QUERIES ----------------------------------->
<!----------------------------------- MEDIA QUERIES -----------------------------------> */

@media (max-width: 680px) {
  .results {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
  }

  .search-btn {
    margin: 30px 50px 0 50px;
  }

  .about-info {
    font-size: 1em;
  }

  .contact-info {
    font-size: 1em;
  }

  .personality-icon {
    height: 20px;
  }

  .health-icon {
    height: 16px;
  }
  .house-icon {
    height: 18px;
  }
}
