* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.head {
  text-align: center;
}
h1 {
  font-size: 4rem;
}
h2 {
  font-size: 3rem;
}
a{
  text-decoration: none;
}
button{
  background: rgba(15, 132, 148, 0.308);
  border: 3px solid gray;
}
.container {
  margin: 05px 3% 0 3%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  align-items: center;
}
section {
  margin: 10% 0px 0px 0px;
  text-align: center;
}

.box {
  width: 40%;
  min-height: 60vh;
  height: auto;
  margin: 3%;
  text-align: left;
  box-shadow: inset 5px 5px 2px rgba(8, 8, 8, 0.527),
    inset -5px -5px 15px rgba(255, 255, 255, 0.1),
    5px 5px 15px rgba(0, 0, 0, 0.37), -5px -5px 15px rgba(255, 255, 255, 0.1);
  position: relative;
}
.card {
  position: absolute;
  top: 5px;
  left: 5px;
  bottom: 5px;
  right: 5px;
  background: #f3f0f0;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.527);
  transition: all 0.5s linear;
  box-sizing: border-box;
  backdrop-filter: blur(2px);
}
.image {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0ms linear;
  box-shadow: inset 2px 3px 3px black, 0 20px 30px rgba(0, 0, 0, 0.527);
}
.image:hover {
  transform: translate3d(-6px , -6px, 0px) rotate(-3deg);
  transform-origin: bottom left;
}
.txt {
  text-align: left;
  margin-top: 5px;
  padding-top: 7%;
  margin-left: 2%;
  font-family: 'caveat', cursive;
  color: black;
  font-weight: bold;
  padding-bottom: 3%;
}
.txt h3:hover, .txt p:hover{
  color: gray;
}
.image img {
  width: 99%;
  padding-top: 1%;
}

@media screen and (max-width: 800px) {
  .box {
    width: 100%;
    min-height: 50vh;
    margin: 12px 0;
  }
}
