@import url('variables.css');

@import url('templates/sections/header.css');

@import url('templates/buttons/home.css');
@import url('templates/buttons/hamburger.css');

@import url('templates/sections/footer.css');

@font-face {
  font-family: "Lexa";
  src: url("../fonts/LexendDeca-VariableFont_wght.ttf");
}

/* ------------------------------------------------------------------------- */
/* -------------------------------- MOBILE --------------------------------- */
/* ------------------------------------------------------------------------- */

html {
  height: 100%;
  width: 100%;
}

body {
  width: 100vw;
  height: 100vh;
  margin: 0;

  overflow-x: hidden;
  overflow-y: scroll;

  background-color: var(--background-color);
  color: var(--text-color);

  font-family: "Lexa", "Courier New", Courier, monospace;
  font-size: 1.3rem;
}

ul, h1, h2, h3 {
  margin: 0;
  padding: 0;
  font-family: "Lexa", "Courier New", Courier, monospace;
}

p {
  line-height: 1.6;
}

ul.section-list {
  list-style: disc;
}

ul.section-list li.section-list-item {
  margin-left: 2em;
  display: list-item;
}

ul.section-list li.section-list-item:not(:last-child) {
  margin-bottom: 15px;
}

/* SECTIONS */

.section {
  width: 75vw;
  margin: auto;
  margin-bottom: 75px;
}

#section-intro {
  margin-top: calc(var(--nav-height-mobile) + 5vh);
}

/* SECTION HEADER BARS */

.accent-text {
  color: var(--text-color-accent);
}

.section-header-bars {
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  
  align-items: center;
}

.section-header-bars > hr {
  height: 3px;
  background-color: var(--text-color-accent);
  border: none;
  border-radius: 3px;

  display: inline;
  flex-grow: 1;
}

.left-bar {
  margin-right: 25px;
  visibility: hidden;
}

.right-bar {
  margin-left: 25px;
  visibility: hidden;
}

/* SERVICE SECTION */

.service-sections {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-section {
  margin-top: 25px;
}

.service-section-click-area {
  text-decoration: none !important;
}

.service-section-logo {
  max-width: 150px;
}

.service-section-title {
  margin: 0 auto 0 auto;

  line-height: 0;

  color: var(--secondary-color);
}

.service-section-description {
  max-width: 50vw;

  margin: 15px auto 0 auto;

  font-size: 0.8em;
}

/* SUBSECTION */

.subsection-title {
  position: absolute;
}

/* ------------------------------------------------------------------------- */
/* ------------------------------- DESKTOP --------------------------------- */
/* ------------------------------------------------------------------------- */

@media screen and (orientation: landscape) {
  li {
    margin-left: 1em;
  }

  #section-intro {
    margin-top: var(--nav-height-desktop);
  }

  /* SERVICE SECTION */

  .service-section-description {
    max-width: 500px;
  }

  /* SUBSECTION  */

  .left-bar {
    visibility: visible;
  }

  .subsection-title {
    position: relative;
  }
  
  .right-bar {
    visibility: visible;
  }
}