/* Typography and Layout */

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Georgia', serif;
  background-color: #334455;
  color: black;
  font-size: 18px;

  overflow-x: hidden;
}

a {
  color: #997700;
  text-decoration: none;
}

a:hover {
  color: #BB9922; /* light brown */
}

@media (max-width: 900px) {
  body {
    font-size: 20px;
  }
}

.languages {
	font-size: 16px;
 }

/* Header */
.site-header {
  background-color: #001122;
  text-align: center;
  padding: 20px 10px;
  color: #997700;
}

.site-header h1 {
  font-family: 'Georgia', serif;
  font-size: 36px;
  margin: 0;
}

.site-header h2 {
  font-family: 'Georgia', serif;
  font-size: 20px;
  margin: 0 0 5px 0;
}

@media (max-width: 900px) {
  .site-header h1 {
    font-size: 8vw;
  }
  .site-header h2 {
    font-size: 5vw;
  }
}

.twodivscenter {
  width: 50%;
  padding: 10px;
  color: #997700;
  text-align: left;
  justify-content: left;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .twodivscenter {
    width: 100%;
    text-align: center !important;
	justify-content: center !important;
  }
}

.right-or-center {
  text-align: right;
  justify-content: right;
}

.left-or-center {
  text-align: left;
  justify-content: left;
}

.languagediv{
  display: flex;
  align-items: center;
  width: 90%;
  text-align: left;
}

@media (max-width: 900px) {
  .right-or-center {
    text-align: center !important;
	justify-content: center !important;
  }
  .left-or-center {
    text-align: center !important;
	justify-content: center !important;
  }
  .languagediv {
    text-align: center !important;
	justify-content: center !important;
  }
}


/* Footer */
.site-footer {
  background-color: #001122;
  text-align: center;
  padding: 10px;
  color: #997700;
}

/* Fullstrip */
.fullstrip {
  width: 100%;
  background-color: #001122;
  color: white;
  padding: 20px;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
  text-align: center;
  box-sizing: border-box;
}

/* Main Container */
.maincontainer {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  box-sizing: border-box;
  padding: 0 10px;
}

@media (max-width: 900px) {
  .maincontainer {
    padding: 5px;
    width: 100%;
	flex: 1;
  }
}

/* Xcells */
.xcell1, .xcell2 {
  box-sizing: border-box;
  padding: 10px;
  flex: 1 1 0;
}

.xcell1 {
  background-color: #ffffff; !important;
  color: #001122;
  border-left: 5px solid white;
  border-right: 5px solid white;
}

.xcell2 {
  background-color: #eeeeee; !important;
  color: #001122;
  border-left: 5px solid white;
  border-right: 5px solid white;
  flex-direction: row;
}

.widecell {
  max-width: 65%;
  width: 65%;
}

.narrowcell {
  max-width: 35%;
  width: 35%;
}

@media (max-width: 900px) {
  .xcell1, .xcell2, .widecell, .narrowcell {
    width: 100%;
    max-width: 100%;
    border: none;
    flex-direction: column;
	box-sizing: border-box;
	padding: 10px;
	flex: 1 1 100%;
  }
}

/* Xcell Horizontal Rule */
.xcellhr {
  width: 100%;
  height: 5px;
  background-color: #eeeeee;
  padding: 0;
  margin: 0;
}

@media (max-width: 900px) {
  .xcellhr {
    height: 0;
    background: none;
  }
}

.h400 {
		height: 400px;
		width: auto;
}
.h300 {
		height: 300px;
		width: auto;
}

@media (max-width: 900px) {
  .h400, .h300 {
    height: auto;
    width: 95%;
  }
}


.background-image-div {
  background-image: url('images/mountain.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fadeinleft, .fadeinright {
  opacity: 0;
  transform: translateX(0);
  transition: none;
}

.fadeinleft.animate {
  animation: fadeInLeft 3s ease forwards;
}

.fadeinright.animate {
  animation: fadeInRight 3s ease forwards;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
