/* Table of Contents
/* ------------------------------------------------------------

This is a development CSS file which is built to a minified
production stylesheet in assets/built/style.css

1.  Imports
2.  Global Styles
3.  Header Styles
4.  Footer Styles
5.  Index Styles
6.  Home Styles
7.  Post Card Styles
8.  Contact From Styles
9.  Toast Styles

*/

/* 1. Imports - Get some things
/* ---------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500&display=swap");

/* 2. Global - Set up the things
/* ---------------------------------------------------------- */
html {
  background-color: #fff;
  font-family: "Rubik", sans-serif;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

html.loaded {
  opacity: 1;
}

.site-wrapper {
  overflow-x: hidden;
  max-width: 100%;
}

h2 {
  color: #3d5383;
  font-weight: 300;
}

a {
  color: inherit;
}

a:hover {
  color: rgba(61, 83, 131);
}

section .container {
  padding: 7em 0;
}

section:nth-child(even) {
  background-color: #f3ffff;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* 3. Header - Customise header and navigation
/* ---------------------------------------------------------- */

header {
  position: fixed;
  padding-top: 25px;
  width: 100vw;
  z-index: 1000;
  font-weight: 300;
  background-color: transparent;
  transition: background-color 0.25s ease-in-out, padding-top 0.25s ease-in-out;
}

header.scrolled {
  padding-top: 0;
  background-color: rgba(61, 83, 131, 0.8);
}

nav {
  background-color: transparent;
}

nav .brand-logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-logo {
  height: 50px;
  padding-left: 10px;
}

.nav-ul {
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-li-a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: normal;
}

.nav-li-a:hover {
  background-color: transparent;
  color: rgba(255, 255, 255, 0.8);
}

.nav-li-a hr {
  border-color: transparent;
  width: 0;
  transition: width 0.25s ease-in-out;
}

.nav-li-a:hover hr {
  border-color: rgba(255, 255, 255, 0.8);
  width: 100%;
}

.nav-li-a.active hr {
  border-color: white;
  width: 100%;
}

#drawer {
  background-color: rgba(61, 83, 131, 0.95);
}

#drawer .site-logo {
  text-align: center;
}

#drawer li a {
  color: white;
  line-height: normal;
}

/* 5. Footer - Customise footer
/* ---------------------------------------------------------- */
footer {
  padding: 7em 0;
  background-color: #e3f2fd;
}

.footer-section .heading {
  font-weight: 500;
  font-size: 18px;
}

.footer-section .sub-text {
  color: rgba(0, 0, 0, 0.75);
  font-size: 16px;
  font-weight: 300;
}

.footer-section .sub-text.justify {
  text-align: justify;
}

.footer-section img {
  max-width: 150px;
  padding: 0px 25px;
}

.social-icon {
  margin: 0 10px;
}

/* 5. Index - Customise index
/* ---------------------------------------------------------- */
.background-image {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
}

.overlay {
  height: 100vh;
  width: 100%;
  background-color: rgba(61, 83, 131, 0.75);
  position: absolute;
}

.hero {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.hero h1 {
  font-weight: 300;
  font-size: 50px;
}

.hero h5 {
  font-size: 20px;
  font-weight: 300;
  text-align: justify;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991.98px) {
  .hero h1 {
    font-size: 37px;
  }
}

.hero a {
  color: white;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(255, 255, 255, 0.8);
  padding: 16px 24px;
  margin-top: 10px;
  font-weight: 400;
  font-size: 16px;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out,
    border-color 0.25s ease-in-out;
}

.hero a:hover {
  background-color: white;
  border-color: white;
  color: rgba(61, 83, 131);
}

/* 6. Home - Customise home
/* ---------------------------------------------------------- */
.media-header {
  font-size: 32px;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
}

.media {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin-bottom: 30px;
}

.media .icon {
  font-size: 50px;
  display: block;
  color: #000;
  margin-right: 30px;
}

.media .icon span:before {
  font-size: 50px;
}

.media .icon span.bg-after:after {
  position: absolute;
  content: "";
  left: 10px;
  top: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #3d5383;
  z-index: -1;
}

.media-body {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.media-body .heading {
  font-size: 20px;
}

.media-body p {
  text-align: justify;
  font-size: 16px;
}

/* 7. Post Card - Customise Post Cards
/* ---------------------------------------------------------- */

.post-card {
  margin: 0;
}

.post-card h4 {
  color: #3d5383;
}

.post-card .order-2 {
  float: right;
}

.post-card .image-container {
  padding: 0;
  height: 100%;
}

.image-container .card .card-image img {
  height: 50%%;
  object-fit: cover;
}

.image-container .card {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0;
  margin: 0;
  box-shadow: none;
  background-color: inherit;
}

.order-2 .card {
  align-items: flex-start;
}

.image-container .card-content {
  width: 75%;
  background-color: rgba(61, 83, 131, 1);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: flex-start;
}

.order-2 .card-content {
  align-items: flex-end;
}

.image-container .card-content a {
  color: white;
  border-width: 1px;
  border-style: solid;
  border-color: rgb(255, 255, 255, 0.8);
  padding: 16px 24px;
  margin: 50px;
  font-weight: 400;
  font-size: 16px;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out,
    border-color 0.25s ease-in-out;
}

.image-container .small .card-content a {
  margin: 0;
}

.image-container .card-content a:hover {
  background-color: white;
  border-color: white;
  color: rgba(61, 83, 131);
}

/* 8. Contact Form - Customise Contact Form
/* ---------------------------------------------------------- */

.contact li {
  display: flex;
  align-items: center;
}

.contact p {
  font-weight: 300;
}

.google-disclaimer {
  font-weight: 300;
  color: rgba(0, 0, 0, 0.5);
}

.contact-input:focus {
  border-bottom: 1px solid #3d5383 !important;
  -webkit-box-shadow: 0 1px 0 0 #3d5383 !important;
  box-shadow: 0 1px 0 0 #3d5383 !important;
}

.contact-input:focus + label {
  color: #3d5383 !important;
}

.contact-btn {
  cursor: pointer;
  width: 100%;
  color: rgba(61, 83, 131);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(61, 83, 131);
  background-color: white;
  padding: 16px 24px;
  margin-top: 10px;
  font-weight: 400;
  font-size: 16px;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out,
    border-color 0.25s ease-in-out;
}

.contact-btn:hover {
  background-color: rgba(61, 83, 131);
  border-color: rgba(61, 83, 131);
  color: white;
}

.contact-btn:focus {
  background-color: white;
  border-color: rgba(61, 83, 131);
  color: rgba(61, 83, 131);
}

/* 8. Toast Styles - Customise Materialize Toasts
/* ---------------------------------------------------------- */
#toast-container {
  min-width: 10%;
  top: 90vh;
  right: 50%;
  transform: translateX(50%) translateY(50%);
}
