
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');

body{
    background-color:#f3f3f3;
    font-family: 'Staatliches', cursive;
}
.carousel-item{
    height: 600px;
}
.carousel-item> img{
    height: min-content;
    position: relative;
    top: -150px;
}
.container p{
    text-align:justify;
    width:400px;
}
.carousel-caption{
    bottom:50%;
    left:0;
    right:0;
    background-color:rgba(255, 255, 255, 0.453);
    color:black;
}

  
  #contact input[type="text"],
  #contact input[type="email"],
  #contact input[type="tel"],
  #contact input[type="url"],
  #contact textarea,
  #contact button[type="submit"] {
    font: 400 12px/16px "Roboto", Helvetica, Arial, sans-serif;
  }
  
  #contact {
    background: #F9F9F9;
    padding: 25px;
    margin: 80px 0;
    box-shadow: -20px 18px 20px 0px rgb(0 0 0 / 20%), -1px 2px 20px 0px rgb(0 0 0 / 24%);
    width: 50%;
    height: 360px;
  }
  #contactImg{
    box-shadow: 20px -12px 20px 0px rgb(0 0 0 / 20%);
  }
  
  #contact h3 {
    display: block;
    font-size: 30px;
    font-weight: 300;
    margin-bottom: 10px;
  }
  
  #contact h4 {
    margin: 5px 0 15px;
    display: block;
    font-size: 13px;
    font-weight: 400;
  }
  
  fieldset {
    border: medium none !important;
    margin: 0 0 10px;
    min-width: 100%;
    padding: 0;
    width: 100%;
  }
  
  #contact input[type="text"],
  #contact input[type="email"],
  #contact input[type="tel"],
  #contact input[type="url"],
  #contact textarea {
    width: 100%;
    border: 1px solid #ccc;
    background: #FFF;
    margin: 0 0 5px;
    padding: 10px;
  }
  
  #contact input[type="text"]:hover,
  #contact input[type="email"]:hover,
  #contact input[type="tel"]:hover,
  #contact input[type="url"]:hover,
  #contact textarea:hover {
    -webkit-transition: border-color 0.3s ease-in-out;
    -moz-transition: border-color 0.3s ease-in-out;
    transition: border-color 0.3s ease-in-out;
    border: 1px solid #aaa;
  }
  
  #contact textarea {
    height: 100px;
    max-width: 100%;
    resize: none;
  }
  
  #contact button[type="submit"] {
    cursor: pointer;
    width: 100%;
    border: none;
    background: #212529;
    color: #FFF;
    margin: 0 0 5px;
    padding: 10px;
    font-size: 15px;
  }
  
  #contact button[type="submit"]:hover {
    background: #527597;
    -webkit-transition: background 0.3s ease-in-out;
    -moz-transition: background 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
  }
  
  #contact button[type="submit"]:active {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  
  #contact input:focus,
  #contact textarea:focus {
    outline: 0;
    border: 1px solid #aaa;
  }

  @media (max-width:767px){
    .carousel-item {
        height: 200px;
    }
    .carousel-item> img{
        top:0;
    }
    body > div.container.my-5 > div > div{
        flex-direction: column;
    }
    body > div.container-fluid.my-5.bg-white > div > div{
        flex-direction: column;
    }
    body > div.container-fluid.my-5.bg-white > div > div > div:nth-child(2){
        align-items: center;
    }
    .container p {
        text-align: justify;
        width: 310px;
    }
    body > div:nth-child(5) > div{
        flex-direction: column;
    }
    #contact{
        width:110%;
    }
    #contactImg{
        width:100%;
    }
  }