@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,500&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;900&display=swap");

* {
	box-sizing: border-box;
}
html {
  font-family: "Montserrat", sans-serif;
  font-size: 100%;
}
body {
	background-color: #9b59b6;
	font-family: 'Open Sans', sans-serif;
	display: flex;
	align-items: center;
	justify-content: left;
	min-height: 100vh;
	margin: 0;
}

img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
section {
  min-height: 100vh;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  overflow: hidden;
  flex-direction: column;
}
.container1 {
  background-color: white;
  width: 100%;
  margin: 50 auto;
  box-shadow: 0px 0px 61px 7px #5e849c40;
  padding: 50px 20px;
  border-radius: 20px;
  
}
.header1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.header1 h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -2px;
}

.gallery {
  width: 100%;
  display: flex;
  margin-top: auto;
  flex-direction:column;
}
.item {
  width: 100%;
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: 0.3s ease box-shadow;
}

.item:hover {
  box-shadow: 0px 0px 20px 3px #00000042;
}
.item:nth-last-child(1) {
  margin-bottom: 0;
}
.item h3 {
  width: 100%;
  padding: 20px;
  position: absolute;
  background-color: #000000e0;
  color: aliceblue;
  bottom: -100px;
  font-weight: 300;
  transition: 0.3s ease-in-out bottom;
}
.item:hover h3 {
  bottom: 0;
}

.item h2 {
  width: 100%;
  padding: 20px;
  position: absolute;
  background-color: #000000e0;
  color: aliceblue;
  top: -100px;
  font-weight: 300;
  transition: 0.3s ease-in-out top;
}
.item:hover h2 {
  top: 0;
}

.gallery button {
	background-color: #8e44ad;
	border: 2px solid #8e44ad;
	border-radius: 4px;
	color: #fff;
	display: block;
	font-family: inherit;
	font-size: 16px;
	padding: 10px;
	width: 100%;
  margin-top: -2%;
}

.container {
	background-color: white;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0px 0px 61px 7px #5e849c40;
  padding: 50px 20px;
  border-radius: 20px;
}

@media only screen and (min-width: 900px) {
  .container {
    max-width: 800px;
  }
  .container1 {
    max-width: 800px;
    padding: 50px;
  }
  .header1 {
    flex-direction: row;
    justify-content: space-between;
  }
  .header1 h1 {
    font-size: 50px;
  }
  .header1 ion-icon {
    font-size: 24px;
  }
  .gallery {
    gap: 30px;
  }
}



.header {
	border-bottom: 1px solid #f0f0f0;
	background-color: #f7f7f7;
	padding: 20px 40px;
}

.header h2 {
	margin: 0;
}

.form {
	padding: 30px 40px;	
  
}

.form-control {
	margin-bottom: 10px;
	padding-bottom: 20px;
	position: relative;
}

.form-control label {
	display: inline-block;
	margin-bottom: 5px;
}

.form-control input {
	border: 2px solid #f0f0f0;
	border-radius: 4px;
	display: block;
	font-family: inherit;
	font-size: 14px;
	padding: 10px;
	width: 100%;
}

.form-control input:focus {
	outline: 0;
	border-color: #777;
}

.form-control.success input {
	border-color: #2ecc71;
}

.form-control.error input {
	border-color: #e74c3c;
}

.form-control i {
	visibility: hidden;
	position: absolute;
	top: 40px;
	right: 10px;
}

.form-control.success i.fa-check-circle {
	color: #2ecc71;
	visibility: visible;
}

.form-control.error i.fa-exclamation-circle {
	color: #e74c3c;
	visibility: visible;
}

.form-control small {
	color: #e74c3c;
	position: absolute;
	bottom: 0;
	left: 0;
	visibility: hidden;
}

.form-control.error small {
	visibility: visible;
}

.form button {
	background-color: #8e44ad;
	border: 2px solid #8e44ad;
	border-radius: 4px;
	color: #fff;
	display: block;
	font-family: inherit;
	font-size: 16px;
	padding: 10px;
	margin-top: 20px;
	width: 100%;
}

.container2 {
	background-color: white;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0px 0px 61px 7px #5e849c40;
  padding: 50px 20px;
  border-radius: 20px;
  position: relative;
}

.bg {
  width: 100%;
  height: 100%;
  display: flex;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  position:fixed;
  top:0;
  display: none;
}

.close {
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 42px;
  transform: rotate(45deg);
  cursor: pointer;
}