
*,
*::after,
*::before {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

.html {
  font-size: 62.5%;
}

body {
  font-family: "Poppins", sans-serif;
}

/* ///////////..utility classes../////////// */

.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

.btn {
  display: inline-block;
  padding: 0.5em 1.5em;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  outline: none;
  margin-top: 1em;
  text-transform: uppercase;
  font-weight: small;
}

.btn-primary {
  font-family: 'Jurassic Park', sans-serif;
  font-size: 2.2rem;
  color: #fff;
  background: #a31010;
}

.btn-primary:hover {
  background: #a31010;
  transition: background 0.3s ease-in-out;
}

/* ............/navbar/............ *

/* desktop mode............/// */

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
  display: none;
}

.navbar {
  box-shadow: 0px 5px 10px 0px #aaa;
  position: fixed;
  width: 100%;
  background: #fff;
  color: #000;
  opacity: 0.85;
  height: 50px;
  z-index: 12;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  height: 64px;
  align-items: center;
}

.menu-items {
	order: 2;
	display: flex;
  }
  
  .menu-items li {
	list-style: none;
	margin-left: 1.5rem;
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
  }
  
  .menu-items a {
	text-decoration: none;
	color: #444;
	font-weight: 500;
	transition: color 0.3s ease-in-out;
  }
  
  .menu-items a:hover {
	color: #a31010;
	transition: color 0.3s ease-in-out;
  }
  
  .logo {
	order: 1;
	font-size: 2.3rem;
	margin-bottom: 0.5rem;
  }

/* ............//// Showcase styling ////......... */

.showcase-area {
  height: 50vh;
  background: linear-gradient(
      rgba(240, 240, 240, 0.144),
      rgba(255, 255, 255, 0.336)
    ),
    url("https://th-thumbnailer.cdn-si-edu.com/vLxKCggDjfQ6gaeJ6w63koSnq28=/fit-in/1072x0/https://tf-cmsv2-smithsonianmag-media.s3.amazonaws.com/filer/2f/bb/2fbb043b-e55e-4915-b65d-96ed602dec9c/istock_000014115501_large.jpg");
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
}

.showcase-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.6rem;
}

.main-title {
  text-transform: uppercase;
  margin-top: 1.5em;
}

/* ......//card//...... */
/* general styling */

:root {
  background: #f5f5f7;
  --ff-regular: "Poppins", sans-serif;
  --ff-bold: "Poppins", sans-serif;
  
  --transparent-white: hsla(0, 0%, 100%, 0.75);
  --bright-cyan: hsl(197, 86%, 34%);
  --dark-cyan: hsl(184, 100%, 22%);
  --very-dark-cyan: hsl(179, 100%, 13%);
}
.card-container {
  display: flex;
  justify-content: center;
  font-family: var(--ff-regular);
  font-size: 1rem;
  color: var(--transparent-white);
  background-color: var(--light-gray);
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 22rem;
  padding: 3.25rem;
}

.card {
  display: flex;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  color: var(--transparent-white);
  background-color: var(--light-gray);
  margin: 2rem 0 2rem 0;
  border-radius: 0.6rem;
  overflow: hidden;
  box-shadow: 0.25rem 0.25rem 1.5rem rgba(0 0 0/0.4);
}

.col-one {
  --primary-color: var(--bright-cyan);

  background-color: var(--primary-color);
}

.col-two {
  --primary-color: var(--dark-cyan);

  background-color: var(--primary-color);
}

.col-three {
  --primary-color: var(--very-dark-cyan);

  background-color: var(--primary-color);
}

.col__title {
  margin: 0.5em 0;
  --transparent-white: hsla(0, 0%, 100%, 0.75);
  --light-gray: hsl(0, 0%, 95%);
  color: var(--light-gray);
  font-family: var(--ff-bold);
  font-size: 3rem;
  text-transform: uppercase;
}

.col__desc {
  line-height: 1.8em;
  --transparent-white: hsla(0, 0%, 100%, 0.75);
}

/* media queries */
@media (min-width: 800px) {
  body {
    align-items: center;
    min-height: 100vh;
  }

  .card {
    display: flex;
  }
}
@media (max-width: 1010px) {
  body {
    align-items: center;
    min-height: 100vh;
  }

  .card {
    display: flex;
    width: 85%; 
  }

  .card-container .btn{
    font-size: 1.4rem;
  }
  .col__title {
    font-size: 1.6rem;
  }
  .col__desc {
    font-size: 1rem;
  }
}

/* ......//about us//...... */

#about {
  background: #f5f5f7;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
}

#about h2 {
  font-size: 2.3rem;
}

#about p {
  font-size: 1.2rem;
  color: #555;
}

#about .container {
  background: #f5f5f7;
}

#about .small {
  font-family: 'Jurassic Park', sans-serif;
  text-align: center;
  font-size: 4rem;
  color: #666;
}

.about-img {
  flex: 1 1 400px;
  padding: 30px;
  transform: translateX(150%);
  animation: about-img-animation 1s ease-in-out forwards;
  max-width: 100%;
  height: auto;
}

@keyframes about-img-animation {
  100% {
    transform: translate(0);
  }
}

.about-text {
  flex: 1 1 400px;
  padding: 30px;
  margin: auto;
  transform: translate(-150%);
  animation: about-text-animation 1s ease-in-out forwards;
}

@keyframes about-text-animation {
  100% {
    transform: translate(0);
  }
}

.about-img img {
  display: block;
  height: 400px;
  max-width: 100%;
  margin: auto;
  object-fit: cover;
  object-position: right;
}

/* ..........////Park///........... */

#park {
  padding: 2rem 0 10rem 0;
  background: #f5f5f7;
}

#park h2 {
  font-family: 'Jurassic Park', sans-serif;
  text-align: center;
  font-size: 4rem;
  font-weight: 400;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #555;
}

.park-container {
  display: flex;
  justify-content: space-between;
}

.park-container img {
  display: block;
  width: 100%;
  margin: auto;
  max-height: 350px;
  object-fit: cover;
  object-position: center;
}

.img-container {
  margin: 0 1rem;
  position: relative;
}

.img-content {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 2;
  text-align: center;
  transition: all 0.3s ease-in-out 0.1s;
}

.img-content h3 {
  color: #fff;
  font-size: 2.2rem;
}

.img-content a {
  font-size: 1.1rem;
}

.img-container::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.871);
  opacity: 0;
  z-index: 1;

  transform: scaleY(0);
  transform-origin: 100% 100%;
  transition: all 0.3s ease-in-out;
}

.img-container:hover::after {
  opacity: 1;
  transform: scaleY(1);
}

.img-container:hover .img-content {
  opacity: 1;
  top: 50%;
}

/* .........../Dinos/............ */

#dinos {
	background: #f5f5f7;
}

.dinos-heading {
  font-family: 'Jurassic Park', sans-serif;
  text-align: center;
  font-size: 4rem;
  font-weight: 400;
  color: #666;
}

.dinos-container {
  display: flex;
  flex-wrap: wrap;
  padding: 50px 0px 30px 0px;
}

.dinos-container img {
  display: block;
  width: 250px;
  height: 250px;
  border-radius: 10%;
  object-fit: contain;
  object-position: center;
}

.dinos-item {
  display: flex;
  flex: 1 1 600px;
  justify-content: left;
  margin-bottom: 3rem;
}

.dinos-description {
  margin: auto 1.5rem;
}

.font-title {
  font-size: 1.8rem;
  font-weight: 400;
  color: #444;
}

.dinos-description p {
  font-size: 1.4rem;
  color: #555;
  font-weight: 500;
}

.dinos-description .dinos-size {
  color: #117964;
  font-weight: 700;
}

/* ........./ Doctors /.......... */

#doctors {
  padding: 2rem 0;
  background: #f5f5f7;
}

.doctors-title {
  font-family: 'Jurassic Park', sans-serif;
  text-align: center;
  font-size: 4rem;
  font-weight: 400;
  color: #555;
}

.doctors-container {
  display: flex;
  justify-content: space-between;
  font-size: 1.4rem;
  padding: 2rem;
}

.doctors-box .checked {
  color: #ff9529;
  white-space: nowrap;
}

.doctors-box .doctors-text {
  margin: 1rem 0;
  color: #444;
}

.doctors-box {
  text-align: center;
  padding: 1rem;
}

.doctors-photo img {
  display: block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center;
  border-radius: 40%;
  margin: auto;
}

.test:hover {
  font-size: 0;
}

.test:hover:before {
  font-size: 20px;
  content: attr(data-hover);
}

/* ........ Terminal........... */

#terminal {
  padding: 2rem 0;
  background: #f5f5f7;
}

.terminal-container {
  display: flex;
  background: #fff;
}

.terminal-img {
  width: 50%;
}

.terminal-img img {
  display: block;
  height: 400px;
  width: 90%;
  object-position: center;
  object-fit: cover;
}

.form-container h2{
  font-family: 'Jurassic Park', sans-serif;
  font-size: 4rem;
}

.form-container {
  padding: 1rem;
  width: 50%;
  margin: auto;
}

.form-container input {
  display: block;
  width: 80%;
  border: none;
  border-bottom: 2px solid #ddd;
  padding: 1rem 0;
  box-shadow: none;
  outline: none;
  margin-bottom: 1rem;
  color: #444;
  font-weight: 500;
}

.form-container textarea {
  display: block;
  width: 80%;
  border: none;
  border-bottom: 2px solid #ddd;
  color: #444;
  outline: none;
  padding: 1rem 0;
  resize: none;
}

.form-container h2 {
  font-size: 2.7rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 1rem;
  margin-top: -1.2rem;
}

.form-container a {
  font-size: 1.3rem;
}

#footer h2 {
  
  text-align: center;
  font-size: 1.8rem;
  padding: 2.6rem;
  font-weight: 500;
  color: #fff;
  background: rgb(65, 65, 65);
}

/* ......../ media query /.......... */

@media (max-width: 768px) {
  .navbar {
    opacity: 0.95;
  }

  .navbar-container input[type="checkbox"],
  .navbar-container .hamburger-lines {
    display: block;
  }

  .navbar-container {
    display: block;
    position: relative;
    height: 64px;
  }

  .navbar-container input[type="checkbox"] {
    position: absolute;
    display: block;
    height: 32px;
    width: 30px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
  }

  .navbar-container .hamburger-lines {
    display: block;
    height: 23px;
    width: 35px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .navbar-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #333;
  }

  .navbar-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }

  .navbar-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }

  .navbar .menu-items {
    padding-top: 100px;
    background: #fff;
    height: 100vh;
    max-width: 300px;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    box-shadow: 5px 0px 10px 0px #aaa;
  }

  .navbar .menu-items li {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
  }

  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 2rem;
  }

  .navbar-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(35deg);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }

  .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-35deg);
  }

  /* ......./ park /......... */

  .park-container {
    flex-direction: column;
    align-items: stretch;
  }

  .park-type:not(:last-child) {
    margin-bottom: 3rem;
  }

  .park-type {
    box-shadow: 5px 5px 10px 0 #aaa;
  }

  .img-container {
    margin: 0;
  }
}

@media (max-width: 720px) {
  html {
    font-size: 65%;
  }

  .navbar .menu-items li{
      font-size: 1.6rem;
  }

  .doctors-container {
    flex-direction: column;
    text-align: center;
  }

  .dinos-container img {
    margin: auto;
  }

  .dinos-item {
    flex-direction: column;
    text-align: center;
  }

  .form-container {
    width: 90%;
  }

  .terminal-container {
    display: flex;
    flex-direction: column;
  }

  .terminal-img {
    width: 90%;
    margin: 3rem auto;
  }

  .logo {
    position: absolute;
    top: 06px;
    right: 15px;
    font-size: 3rem;
  }

  .navbar .menu-items li {
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
    font-weight: 500;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  .img-container h3 {
    font-size: 1.5rem;
  }

  .img-container .btn {
    font-size: 0.7rem;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .showcase-area {
    height: 50vmax;
  }
}
