.section1{
 
  height:100vh;
}

.section1{
  background-color: #9CF59A;
  /*background-image: url("img/back2.jpg");*/
  background-size: cover;
  background-repeat: no-repeat;
  
}

img {
    width: 100%;
    border-radius: 12px;
    height: 214px;
  
    object-fit: cover
  }
  .section1{
  
   
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  .container {
  
    max-width: 300px;
  
    /* Center the container in middle on horizontal axis */
  
  
    /* Add empty space above the container (20% of the view height) */
    margin-top: 10vh;
  }
  .card {
    height: 475px;
    box-shadow: 0px 2px 5px darkgreen;
    /* Change background color */
    background-color: white;
  
    /* Add border */
    border: 1px solid black;
  
    /* Add space between the border and the content */
    padding: 10px;
  
    border-radius: 12px;
  }
  
  
  /* Style div elements that have class equal to tag */
  .tag {
  
    padding: 4px 8px;
    margin-left: 20%;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    color: #788697;
  }
  
  /* Style div elements that have class equal to name */
  .name {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-top: 10px;
    margin-bottom: 5px;
    transition-duration: 0.2s;
    transition-property: all;
    transition-timing-function: ease-in-out;
  }
  .name:hover{
    font-size: 2em;
    text-decoration: underline;
  }
  /* Style p element */
  .para{
    font-size: 14px;
    color: #7f8c9b;
    line-height: 150%;
    text-align: center;
  
    border: 1px solid rgba(0,0,0,0.2);
  
  
    
    transition-duration: 0.3s;
    transition-timing-function:linear;
    transition-property: all;
  }
  .para:hover{
    transform: scale(1.1);
    color: black;
  
  }
  /* Style button element */
  button {
  
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
  
    font-weight: 600;
    color: #0f240d;
    background-color: rgb(99, 133, 30);
  
    /* Button is inline element by default, it need to have block display for margin: 0 auto; to work */
    margin: 25px auto;
    display: block;
    margin-left: 80px;
    text-align: center;
    
    
  
    /* Button is a clickable element, therefore it should have a pointer cursor */
    cursor: pointer;
  
    transition-property: transform;
    transition-timing-function: linear;
    transition-duration: 200ms;
  }
  button:hover{
    transform:rotate(360deg);
  }
 span{
   display: none;
   margin-left:25px;
 }
  .card__details {
    /* Add space around the details */
    padding: 16px 8px 8px 8px;
  }
  .box1{
    display: none;
  }

.btn2{
  margin:10px auto;
}
  @media (max-width:1000px){

    button{
      margin: auto;
      display: inline;
      margin-left:5px;
      
      
    }
span{
  display:inline;
}
  #container2{
    display: none;
  }
  .box1{
    display:block;

  
    margin: 0 auto;
    margin-top: 15px;
    display: block;
    
  }
  a{
    text-decoration: none;
  }
  .btn2{
    color: white;
    background:rgb(99, 133, 30);
    transition-property: transform;
    transition-timing-function: linear;
    transition-duration: 150ms;

  }
  .btn2:hover{
    transform:scale(1.2);
  }
  /*section2*/
  }
  .section2 {
    margin-top: 0;
    height:100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #69ff6e;
  }
  /*card2*/
  .container-card2 {
    
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: aqua; */
  }
  .left {
    width: 50%;
    height: 600px;
    background: url(https://images.unsplash.com/photo-1592843278336-d2c27cbdfb83?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1050&q=80)
      no-repeat center / cover;
    border-radius: 8px;
  }
  .right {
    width: 50%;
    min-height: 400px;
    background-color:rgb(99, 133, 30);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 8px;
    color: white;
    margin-left: -150px;
  }
  .right h1 {
    font-size: 40px;
    font-weight: lighter;
  }
  .right p {
    margin: 20px 0;
    font-weight: 500;
    line-height: 25px;
  }
  .right a {
    text-decoration: none;
    text-transform: uppercase;
    background-color: white;
    color: black;
    padding: 20px 30px;
    display: inline-block;
    letter-spacing: 2px;
  }
  
  @media only screen and (max-width: 768px) {
    .container-card2 {
      flex-direction: column;
      width: 100%;
      margin: 0 20px;
    }
    .left {
      width: 100%;
      height: 400px;
    }
    .right {
      width: 90%;
      margin: 0;
      margin-top: -100px;
    }
  }

  
  @media only screen and (max-height:620px) {

    .section1{
 
      height:100%;
    }
    .section2{
      
      height:100%;
    
    }
    .container-card2 {
    
      width: 100%;
      max-width: 1000px;
      margin: 50px auto;
      display: flex;
      align-items: center;
      justify-content: center;
    }
.left{
  display: none;
}












  }    
