 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap');

/* mobile view */

body {
   display: flex;
   flex-direction: column;
   justify-content: center;
   text-align: center; 
   font-family: Montserrat;
}

h1{
    font-size: 2rem;
    width: 70%;
    color: rgb(240, 184, 116);
    line-height: 2.2rem;
}

button {
    background: none;
    font-family: Montserrat;
    font-size: 1rem;
    font-weight: bold;
    width: 30%;
    padding: 3px 10px;
    align-self: flex-end;
    margin-right: 1rem;
    cursor: pointer;
    border-top-right-radius: 20%;
    }

    .panel{
        position: relative;
        background: lightgray;
        bottom: 0;
        top:0;
        padding-top: 0;
        margin: 1rem;
        transform: scaleY(0);
        transform-origin: center;
    }
    .panel img {
        margin-top: 20%;
        width:80%;
        opacity: 0;
        border: 3px solid rgb(255, 255, 255);
                transform: translateY(-200px);

    }
    .panel p {
        font-size: 1rem;
        padding: 1rem;
        opacity: 0;
      
    }

    .panel .box {
        /* display: none; */
        position:absolute;
        border: 3px solid rgb(231, 219, 219);
        opacity: 0;
        width: 103%;
        height: 10%;
        top: 75%;
        left: -2%;
        z-index: -1;
        transform: scaleX(0);

    }

    @media only screen and (min-width:768px){
  
        body {
            display: inline;
  font-family: 'Montserrat';
  padding: 9em;
    }

h1 {
    margin: 1rem;
  font-size: 5em;
  width: 25%;
    color: rgb(240, 184, 116);
  line-height: 1em;
}

button {
  background: none;
  font-family: 'Montserrat';
  font-weight: bold;
  font-size: 1.7em;
  padding: .5em 1em;
  cursor: pointer;
  margin-left: 1rem;
}

.panel {
  position: absolute;
  width: 55%;
  bottom: 0;
  right: 0;
  background: #EAEAEA;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 15% 7%;
  -webkit-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transform-origin: bottom;
          transform-origin: bottom;
}

.panel img {
  width: 150px;
  float: left;
  margin-right: 40px;
  opacity: 0;
  -webkit-transform: translateY(-200px);
          transform: translateY(-200px);
}

.panel p {
    clear: both;
    padding: 0;
    text-align: left;
  font-size: 1.9em;
  width: 80%;
  opacity: 0;
}

.panel .box {
  border: 5px solid lightgray;
  height: 40%;
  position: absolute;
  left: -7%;
  top: 15%;
  z-index: -1;
  opacity: 0;
  -webkit-transform: scale(0);
          transform: scale(0);

}
footer{
    margin-top: 50%;
    text-align: left;
}

    }