/*  ICON FONT  ==========================================================================================================================  */
/*  =====================================================================================================================================  */

@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital@1&display=swap");

@font-face {
  font-family: "IconFont";
  src: url("../fonts/icomoon.eot");
  src: local("?"), url("../fonts/icomoon.woff") format("woff"), url("../fonts/icomoon.otf") format("opentype"), url("../fonts/icomoon.svg#icomoon") format("svg");
}

:root {
  --blue: #2b384b;
  --blue-rgb: 43, 56, 75;
  --tan: #e7deca;
  --tan-rgb: 231, 222, 202;
  --gold: #b49148;
  --gold-rgb: 180, 145, 72;
  --border-radius: 8px;
}

[data-icon] {
  text-decoration: none;
}
[data-icon]:before {
  content: attr(data-icon);
  font-family: "IconFont";
  font-weight: normal;
  font-variant: normal;
  line-height: 1;
  speak: none;
  text-transform: none;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*  =======================================================================  */
/*  CSS RESETS  ===========================================================  */
/*  =======================================================================  */
* {
  box-sizing: border-box;
}
html,
body {
  background-color: var(--tan);
  color: #eeeeee;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  font-weight: 500;
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

/*  FONTS  */
a {
  font-family: "Roboto", sans-serif;
  text-decoration: none;
}
h1,
h2,
h3 {
  font-weight: 700;
  line-height: normal;
  margin: 0;
  padding: 0;
}
h1 {
  font-size: 60px;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 16px;
}

img {
  display: block;
  max-width: 100%;
}

/*  INPUT PLACEHOLDER  */
::-webkit-input-placeholder {
  color: #cccccc;
  opacity: 1;
}
::-moz-placeholder {
  color: #cccccc;
  opacity: 1;
}
:-ms-input-placeholder {
  color: #cccccc;
  opacity: 1;
}
:-moz-placeholder {
  color: #cccccc;
  opacity: 1;
}
input:-moz-placeholder {
  color: #cccccc;
  opacity: 1;
}
input:placeholder {
  color: #cccccc;
  opacity: 1;
}
input {
  border: none;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
}

/*  GENERAL UI  */
ul,
li,
dl,
dt,
dd {
  list-style: none;
  margin: 0px;
  padding: 0px;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: none;
}
button,
.button {
  cursor: pointer;
  transition: all 0.2s;
}
.clear {
  clear: both;
}

/*  =======================================================================  */
/*  GLOBAL VARIABLES  =====================================================  */
/*  =======================================================================  */

/*  =======================================================================  */
/*  HEADER  ===============================================================  */
/*  =======================================================================  */
#header {
  background: var(--blue);
  height: 100px;
  position: relative;
  z-index: 1000;
}

#header .logo {
  background: var(--blue);
  background-image: url(../img/logo-default-medium.png);
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
  box-shadow: 0 0 0 10px #ffffff, 0 13px 20px 0 rgba(0, 0, 0, 0.5);
  height: 400px;
  left: 50%;
  position: relative;
  top: 40px;
  transform: translateX(-50%);
  width: 400px;
}

/*  =======================================================================  */
/*  MAIN CONTENT  =========================================================  */
/*  =======================================================================  */
#main-content {
  position: relative;
  z-index: 500;
}

/*  =======================================================================  */
/*  MAIN CONTENT : DEFINITIONS  ===========================================  */
/*  =======================================================================  */
#main-content .definitions {
  height: 560px;
  position: relative;
}

#main-content .definitions .background {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#main-content .definitions .background-image {
  background-image: url(../img/background-01.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

#main-content .definitions .background-overlay {
  background: var(--tan);
  height: 100%;
  left: 0;
  opacity: 0.6;
  position: absolute;
  top: 0;
  width: 100%;
}

#main-content .coming-soon {
  color: var(--blue);
  font-size: 48px;
  font-weight: 600;
  left: 50%;
  position: absolute;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
  top: 380px;
  transform: translateX(-50%);
  width: calc(100% - 20px);
}

/*  CARDS  ============================================  */
#main-content .definitions .card {
  background: var(--tan);
  border-radius: var(--border-radius);
  box-shadow: 0 0 0 1px var(--blue), 0 6px 16px 0 rgba(0, 0, 0, 0.3);
  color: var(--blue);
  height: 360px;
  left: 50%;
  padding: 20px;
  position: absolute;
  top: 100px;
  width: 360px;
}

#main-content .definitions .card-herb {
  transform: translateX(-620px);
}

#main-content .definitions .card-woodcraft {
  transform: translateX(260px);
}

#main-content .definitions .card .card-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  bottom: 10px;
  left: 50%;
  height: 200px;
  position: absolute;
  transform: translateX(-50%);
  width: 200px;
}

#main-content .definitions .card-herb .card-image {
  background-image: url(../img/herb_large.png);
  height: 203px;
  width: 192px;
}

#main-content .definitions .card-woodcraft .card-image {
  background-image: url(../img/woodcraft_large.png);
  height: 206px;
  width: 283px;
}

#main-content .definitions .card .properties {
  margin-bottom: 14px;
}

#main-content .definitions .card .properties .word {
  display: inline-block;
  font-size: 38px;
  font-weight: 600;
  vertical-align: baseline;
}

#main-content .definitions .card .properties .word-type {
  display: inline-block;
  font-size: 20px;
  font-style: italic;
  vertical-align: baseline;
}

#main-content .definitions .card .properties .pronunciation {
  font-size: 14px;
}
#main-content .definitions .card .definition {
  border-top: 1px solid rgba(var(--blue-rgb), 0.3);
  font-size: 16px;
  padding-top: 10px;
  position: relative;
}

/*  =======================================================================  */
/*  MAIN CONTENT : ABOUT  =================================================  */
/*  =======================================================================  */

#main-content .about .about-text {
  color: var(--blue);
  font-size: 22px;
  line-height: 1.5;
  margin: auto;
  padding: 20px;
  max-width: 1200px;
  width: 100%;
}

/*  =======================================================================  */
/*  FOOTER  ===============================================================  */
/*  =======================================================================  */
#footer {
}

/*  =======================================================================  */
/*  BELOW 1280  ===========================================================  */
/*  =======================================================================  */

@media screen and (max-width: 1280px) {
  #header .logo {
    background-size: 50%;
    box-shadow: 0 0 0 6px #ffffff, 0 13px 20px 0 rgba(0, 0, 0, 0.5);
    height: 200px;
    top: 20px;
    width: 200px;
  }

  #main-content .definitions {
    height: 610px;
  }

  #main-content .definitions .card {
    top: 130px;
  }
  #main-content .definitions .card-herb {
    transform: translateX(-440px);
  }
  #main-content .definitions .card-woodcraft {
    transform: translateX(80px);
  }

  #main-content .coming-soon {
    top: 520px;
  }
}

/*  =======================================================================  */
/*  BELOW 900  ============================================================  */
/*  =======================================================================  */

@media screen and (max-width: 900px) {
  #main-content .definitions {
    height: 750px;
  }

  #main-content .coming-soon {
    top: 674px;
    font-size: 40px;
  }

  #main-content .definitions .card {
    height: 240px;
    width: 500px;
  }

  #main-content .definitions .card .card-image {
    bottom: unset;
    left: unset;
    right: 20px;
    top: 20px;
    transform: unset;
  }
  #main-content .definitions .card .properties {
    margin-top: 30px;
    margin-bottom: 50px;
  }

  /* HERB ========== */
  #main-content .definitions .card-herb {
    top: 140px;
    transform: translateX(-50%);
  }

  #main-content .definitions .card-herb .card-image {
    height: 113px;
    width: 202px;
  }

  /* WOODCRAFT ===== */
  #main-content .definitions .card-woodcraft {
    top: 400px;
    transform: translateX(-50%);
  }
  #main-content .definitions .card-woodcraft .card-image {
    height: 136px;
    width: 183px;
  }
}

/*  =======================================================================  */
/*  BELOW 550  ============================================================  */
/*  =======================================================================  */
@media screen and (max-width: 550px) {
  #main-content .definitions {
    height: 750px;
  }

  #main-content .coming-soon {
    top: 675px;
    font-size: 32px;
  }

  #main-content .definitions .card {
    height: 240px;
    width: calc(100% - 20px);
  }
}

/*  =======================================================================  */
/*  BELOW 460  ============================================================  */
/*  =======================================================================  */
@media screen and (max-width: 460px) {
  #main-content .definitions .card {
    height: 250px;
    width: calc(100% - 20px);
  }

  #main-content .definitions .card .card-image {
    bottom: unset;
    left: 50%;
    right: unset;
    top: 10px;
    transform: translateX(-50%);
  }
  #main-content .definitions .card .properties {
    margin-top: 100px;
    margin-bottom: 0;
  }

  /* HERB ========== */
  #main-content .definitions .card-herb {
    top: 140px;
    transform: translateX(-50%);
  }

  #main-content .definitions .card-herb .card-image {
    height: 123px;
    width: 200px;
  }

  /* WOODCRAFT ===== */
  #main-content .definitions .card-woodcraft {
    top: 400px;
    transform: translateX(-50%);
  }
  #main-content .definitions .card-woodcraft .card-image {
    height: 115px;
    width: 165px;
  }
}
