* {
    padding: 0;
    margin: 0;
    line-height: 27px;
    font-size: 19px;
}
body {
    min-width: 300px;
    font-family: 'Muli', sans-serif;
    color: #545454;
}
img {
    border: none;
}
p {
    margin: 10px 0 10px 0;
}
a {
    color: inherit;
    text-decoration: underline;
    text-decoration-style: dotted;
}
a:hover {
    opacity: 0.6;
}
h1, h2, h3, h4{
  font-family: 'Yantramanav', sans-serif;
  font-weight: lighter;
  color: #670D11;
}
h2{
  font-size: 39px;
  line-height: 45px;
  text-align: center;
}
h1, h4 {
  font-size: 49px;
  line-height: 55px;
}
h3 {
  font-size: 39px;
  line-height: 45px;
}
h4 {
  color: white;
  position: absolute;
  right: 6%;
  bottom: 18%;
}
main {
  max-width: 1200px;
  margin: 0 auto 0 auto;
  padding: 0 10px 0 10px;
}
header {
  height: 50px;
  position: relative;
  padding: 10px;
}
header img{
  height: 100%;
  vertical-align: middle;
  width: auto;
}
header a{
  display: block;
  line-height: 50px;
  height: 100%;
  float: left;
  text-decoration: none;
  font-size: 25px;
}
header nav{
  float: right;
}
header nav a{
  display: inline-block;
  margin-left: 20px;
  font-size: 19px;
}
section {
  margin: 110px 0 110px 0;
  box-sizing: border-box;
  position: relative;
}
section::after{
  content: "";
  display: block;
  position: absolute;
  bottom: -63px;
  left: 50%;
  width: 100px;
  margin-left: -50px;
  height: 8px;
  background-color: #670D11;
  z-index: 600;
  border-radius: 2px;
}
#title {
  height: 60vh;
  box-shadow: rgba(0, 0, 0, 0.3) -6px -3px 8px -5px, rgba(0, 0, 0, 0.3) 8px 8px 8px -5px;
  background-image: url(/images/title.jpg);
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  margin-top: 0
}
#welcome {
  display: flex;
  align-items: center;
}
#welcome h1{
  flex: 1 1;
  padding-right: 20px;
}
#welcome>div {
  flex: 2 2;
  column-count: 2;
  column-gap: 40px;
  text-align: justify;
}
.about>div {
  display: flex;
  align-items: center;
  margin: 70px 0 70px 0;
}
.about>div:nth-child(even):hover>div:nth-child(2) {
  margin-left: 20px;
  margin-right: -20px;
  transition: all ease-out 0.5s;
}
.about>div:nth-child(odd):hover>div:nth-child(2) {
  margin-right: 20px;
  margin-left: -20px;
  transition: all ease-out 0.5s;
}
.about>div>div {
  flex: 1 1;
  position: relative;
}
.about>div>div:first-child {
  flex: 2 2;
  padding: 60px;
}
.about>div>div:nth-child(2){
  text-align: center;
  padding: 0 20px 0 20px;
  transition: all ease-out 0.5s;
}
.about>div>div img{
  max-width: 80%;
  height: auto;
}
.about>div:nth-child(even) {
  flex-direction: row-reverse;
}
.boxes {
  display: flex;
}
.boxes div {
  flex: 1;
  margin-left: 20px;
  position: relative;
}
.boxes div:first-child {
  margin-left: 0;
}
.boxes div img{
  width: 100%;
  height: auto;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.3) -6px -3px 8px -5px, rgba(0, 0, 0, 0.3) 8px 8px 8px -5px;
  border-radius: 2px;
}
@media only screen and (max-width: 800px) {

  #welcome {
    flex-direction: column;
  }
  #welcome>div {
    column-count: 1;
    text-align: left;
  }
  .about>div,.about>div:nth-child(even) {
    flex-direction: column-reverse;
  }
  .about>div>div:first-child {
    padding: 20px;
  }
  .boxes {
    flex-direction: column;
  }
  .boxes div{
    margin-left: 0;
  }
}
