
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@500;600&family=Open+Sans:wght@400;800&display=swap');

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body{
  font-family: "Open Sans", sans-serif;
}


/* Navbar */


header{
  position: fixed;
  z-index: 10000;
}

#nav-checkbox, .nav-toggle{
  display: none;
}

header{
  background-color: #460895;
  width: 100%;
  display: inline-block;
}

.hero{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1{
  color: #fff;
  font-size: 60px;
  line-height: 1;
}

.hero h3{
  color: #fff;
  font-size: 26px;
  font-weight: normal;
}

.hero a{
 background:#460895;
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: 3px;
  line-height: 1;
  padding: 10px 18px;
}

.hero a:hover{
  background: grey;
}

.content{
  width: 80%;
  margin: auto;
  padding: 50px 0;
}

.content p{
  line-height: 1.6;
  margin-bottom: 25px;
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px 0;
  transition: background-color 0.5s ease;
}

.logo h2{
  color: #fff;
  text-transform: uppercase;
  font-weight: normal;
}

.nav-menu li{
  display: inline-block;
}

.nav-menu li a{
  color: #fff;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0 15px;
}

.nav-menu li a:hover{
  color: grey;
}

@media only screen and (max-width:  1150px){
  header{
    display: block;
  }

  .logo{
    margin-left: 30px;
  }

  .nav-toggle{
    display: block;
    position: absolute;
    cursor: pointer;
    margin: 10px 1rem;
    top: 25px;
    right: 0;
  }

  .nav-toggle img{
    width: 30px;
    }

  .close, input[type='checkbox']{
    display: none;
  }

  #nav-checkbox:Checked ~ .nav-menu{
    background: #460895;
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #fff;
  }

  .nav-menu li{
    display: none;
    margin: 10px 0;
  }

  #nav-checkbox:checked ~ ul.nav-menu li{
    display: block;
  }

  #nav-checkbox:checked ~ label.nav-toggle .open{
    display: none;
  }

  #nav-checkbox:checked ~ label.nav-toggle .close{
    display: block;
  }
}

/* What our users say */

.pimg1{
  width: 50%;
  margin-top: 20px;
  min-height: 500px;
  position: relative;
  opacity: 0.7;
  float: left;
  background-repeat: no-repeat;
  background-attachment: fixed;
  }

.space{
  width: 100%;
  margin-top: 50px;
  margin-bottom: 30px;
  min-height: 600px;
  color:#460895;
}

.ourusers{
  float: right;
  width: 50%;
  margin-top: 10%;
  height: 480px;
  padding: 30px;
  overflow-y: scroll;
}

.ourusers h2{
  font-family: "Josefin Sans";
  text-align: right;
  margin: auto;
  margin-bottom: 30px;
}

.ourusers h5{
  font-family: "Josefin Sans";
  text-align: right;
  margin-left: 30px;
}

.users{
  width: 90%;
  margin: auto;
  padding-bottom: 30px;
}

.card{
  width: 351px;
  border-radius: 0;
  margin-right: 30px;
}

.card img{
width: 350px; 
height: 220px; 
object-fit: cover;
object-position: 80% 80%; 
border-radius: 0;
}

.colorred{
  width: 100%;
  background: linear-gradient(to top, #460895, 75%, white 25%);
}


/* Contact Us */


@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

footer{
  width: 100%;
  height: 680px;
  background:#460895;
  display: block;

}

#feedback-page{
  text-align:center;
}

#text-feedback{
  width: 80%;
  padding-left: 10%;
  padding-right: 10%;
  background-color:white;
  text-align:center;
}

#form-main{
  width:100%;
  margin: auto; 
}

#form-main h1{
  text-align: center;
  margin: auto;
  font-size: 500;
  color: white;
  padding: 30px;
}

#form-div {
  background-color:#3c3c3c;
  padding-left:35px;
  padding-right:35px;
  padding-top:35px;
  padding-bottom:50px;
  width: 450px;
  float: left;
  left: 52.5%;
  position: absolute;
  margin-left: -260px;
}

.feedback-input {
  opacity:0.9;
  color:#0493bd;
  font-family: 'Montserrat', Helvetica, Arial, sans-serif;
  font-weight:400;
  font-size: 18px;
  border-radius: 0;
  line-height: 22px;
  background-color: #fbfbfb;
  border: 3px solid #fbfbfb;
  padding: 13px 13px 13px 54px;
  margin-bottom: 10px;
  width:100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.feedback-input:focus{
  background:#460895;
  box-shadow: 0;
  border: 3px solid #3498db;
   background:white;
  outline: none;
  padding: 13px 13px 13px 54px;
}

.focused{
  color:#30aed6;
  border:#30aed6 solid 3px;
}

textarea {
  width: 100%;
  height: 150px;
  line-height: 150%;
}

input:hover, textarea:hover,
input:focus, textarea:focus {
  background-color:white;
}

#buttoncu{
  float:left;
  width: 100%;
  border: #fbfbfb solid 4px;
  cursor:pointer;
  background:#460895;
  color:white;
  font-size:24px;
  padding-top:22px;
  padding-bottom:22px;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  transition: all 0.3s;
}

#buttoncu:hover{
  background-color: rgba(0,0,0,0);
  background: grey;
}
  
.submit:hover {
   background:white;
}
  
.submit:hover .ease{
  background-color:white;
}

@media only screen and (max-width: 580px) {
  #form-div{
    left: 3%;
    margin-right: 3%;
    width: 88%;
    margin-left: 0;
    padding-left: 3%;
    padding-right: 3%;
  }
}




/* Gallery */


.containergal{
  padding-bottom: 5%;
  padding-left: 18%;
}

.gallerytext h1{
  margin-top: 30px;
  font-family: "Josefin Sans";
  margin-bottom: 30px;
  color: #460895;
  font-weight: 800;
  text-align: center;
  }

.rowgal:after {
  content: "";
  display: table;
  clear: both;
}

.gallerycard{
  width:22%;
  float:left;
  height:200px;
  margin:20px;
  border-radius:3px;
  box-shadow:5px 5px 8px grey;
}

.gallerycard img{
  width:100%;
  height:100%;
  border-radius:3px;
}

.gallerycard:hover{
  transform:scale(1.1);
}

@media screen and (max-width: 580px){
   .gallerycard
  {
    width:50%;
    margin:20px;
  }
}
@media screen and (min-width:580px) and (max-width: 1000px){
   .gallerycard
  {
    width:50%;
    margin:20px;
  }
}


  