@import url("https://use.typekit.net/vop7byr.css");


body {
  font-family: dinosaur, sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: larger;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}




.container {
  display: flex;
  height: 100vh;
  width: 100vw;
}

.left-div {
  flex: 1;
  background-color: #E94840;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.right-div {
  flex: 1;
  background-color: #95C569;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 80%;
  transition: transform 0.3s;
}

.image:hover {
  transform: scale(1.1);
  cursor: pointer;
}

h1 {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0;
  font-size: 3rem;
}
h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 40px;
  max-width: 80%;
  font-weight: 400;
}

.btnZ, .btnC{
  font-family: inherit;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  padding: 8px 16px 9px 16px;
  border-radius: 100px;
  color: #E94840;
  background-color: white;
  transition: background-color 0.3s, color 0.3s;
}

.btnZ:hover{
  background-color: #95C569;
  color: white;
  cursor: pointer;
}

.btnC:hover{
  background-color: #E94840;
  color: white;
  cursor: pointer;
}

@media only screen and (max-width: 800px) {
  .container {
    display:grid;
    grid-template-rows: 1fr 1fr;
    max-height: 100%;
  }
  .left-div, .right-div {
    flex: none;
    padding: 5% 5% 5% 5%;
    margin: 0;
  }
  .image{
    /*width: clamp(250px, 30%, 400px);*/
    width: clamp(200px, 50%, 100rem);
    height: auto;
  }
  h1 {
  font-size: 2rem;
  margin: 0;
  padding: 0;
  width: 100%;
  line-height: 1;
  }
  h2 {
  font-size: 1rem;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 1px;
  padding: 0;
  }
  .btnZ, .btnC{
  margin: 10px 0 0 0;
  padding: 7px 14px 7px 14px;
}
}

@media only screen and (width: 768px) {
  h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  }
  h2 {
  font-size: 1.5rem;
  max-width: 70%;
  margin-bottom: 0.5rem;
  }
}








