/**Setup and fonts*/
/*#region*/
@font-face {
  font-family: Roboto;
  src: url(fonts/Roboto-Regular.ttf);
}

/**Setting up stationary page*/
body {
  overflow: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Roboto;
}

/**Variables*/
:root {
  --side-width: 16vw;
  --logo-hight: 11.4vw;
}
/*#endregion*/

/**Nav*/
/*#region*/
/*TODO: Clamp text and logo*/
nav {
  position: absolute;
  top: 0;
  width: 100%;
  height: 10vh;
  background-color: #7a0437;
  display: flex;
  align-items: center;
  overflow: visible;
  z-index: 100;
}

/**Nav logo pos*/
nav .logo-container {
  margin-left: 3.9vw;
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
}

/**Nav logo size*/
.logo-container > img {
  height: var(--logo-hight);
  z-index: 1;
}

/**Nav dates*/
nav .text {
  height: 100%;
  font-size: 1.5vw;
  text-decoration: none;
  color: #fff;
}

/**Nav links*/
nav a {
  font-size: 2vmax;
  padding: 1vw 0;
  text-decoration: none;
  color: #fff;
  position: relative;
}

/**Nav links underline*/
nav a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  top: 80%;
  left: 0;
  background-color: #f7f7f7;
  transform: scaleX(0);
  visibility: hidden;
  transition: all 0.3s ease-in-out 0s;
}

/**Nav links underline activation*/
nav a:hover::after {
  transform: scaleX(1);
  visibility: visible;
}

/**Nav links positioning*/
nav > .nav-links {
  position: absolute;
  right: 0;
  width: 87%;
  display: flex;
  justify-content: space-around;
}

/**Nav bottom line*/
.line {
  height: 0.5vh;
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: #ffd400;
}
/*#endregion*/

/*#region*/
/**Content*/
main {
  position: absolute;
  top: 10vh;
  height: 90vh;
  width: 100vw;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

/**Dropdowns*/
/*#region*/
/**Dropdown positioning, size and background*/
#dropdowns {
  position: absolute;
  top: 0;
  height: 100%;
  width: var(--side-width);
  text-align: center;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
}

#dropdowns #container {
  position: relative;
  top: calc(var(--logo-hight) - 10vh);
  width: 100%;
  height: calc(100vh - var(--logo-hight));
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
}

/**Dropdown menu item*/
.dropdown {
  width: 95%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 800ms ease;
}

/**Dropdown header*/
.dropdown .header {
  color: #fff;
  text-decoration: none;
  width: 100%;
  font-size: 1.7vmax;
  padding-bottom: 1%;
}

.dropdown[data-status="active"] .header {
  background-color: #7a0437;
}

.dropdown:hover .header {
  background-color: #7a0437;
}

/**Inactive dropdown content positioning and hiding*/
.dropdown-content {
  position: relative;
  height: 0;
  display: block;
  color: #fff;
  font-size: 1vmax;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
}

.dropdown-content:hover {
  background-color: #7a0437;
}

/**Active dropdown content positioning and sizing*/
.dropdown[data-status="active"] .dropdown-content {
  padding: 2% 0;
  height: fit-content;
  opacity: 1;
  pointer-events: all;
  transition: all 800ms ease, background-color 1ms;
}
/*#endregion*/

/**Updates*/
/*#region*/
/**Updates container positioning, background and sizing*/
#updates {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 41.4vw;
  height: 41.4vw;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  overflow: hidden;
}

/** Updates footer  */
#updates .footer {
  width: 80%;
  height: 20%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  left: 50%;
  transform: translate(-50%, -50%);
}

/** Updates footer sub sections */
#updates .footer > div {
  width: 49.5%;
  height: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: clamp(0.4rem, 1vmax, 1.2rem);
}

#updates .footer a {
  color: #fff;
  text-decoration: none;
}

/**Updates header*/
#updates h1 {
  position: relative;
  left: 50%;
  top: 7%;
  transform: translate(-50%, -50%);
  text-decoration: underline;
  font-size: clamp(1.1rem, 2vmax, 3rem);
}

/**Update links container positing and sizing*/
.update-links {
  position: relative;
  height: 31vw;
  top: 9%;
}

/**Update links coloring and sizing*/
.update-links a {
  display: inline-block;
  margin: 0.5vw 0;
  color: #fff;
  width: 30vw;
  font-size: clamp(0.6rem, 1.3vmax, 1.5rem);
  text-decoration: none;
}

.update-links a:hover {
  color: rgb(192, 192, 192);
}
/*#endregion*/

/**Houses*/
/*#region*/
/**Houses container positioning and sizing*/
#houses {
  position: relative;
  margin-left: auto;
  height: 100%;
  width: var(--side-width);
  color: #fff;
}

/**Houses text sizing*/
#houses p {
  font-size: clamp(0.46rem, 1vmax, 1rem);
  width: 100%;
  padding: 1% 2%;
  text-align: center;
}

/**Houses header sizing*/
#houses .name {
  font-size: clamp(0.7rem, 1.5vmax, 2rem);
}

/**Houses points sizing*/
#houses .points {
  font-size: clamp(0.65rem, 1.25vmax, 1.1rem);
}

/**Houses instagram link sizing*/
#houses a {
  font-size: clamp(0.65rem, 1.25vmax, 1.1rem);
  text-align: center;
  color: #fff;
}

/**Houses sections*/
#houses div {
  height: 25%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

/**Houses background*/
#houses #Aubert {
  background-image: url("images/Aubert.jpg");
  box-shadow: inset 0 0 0 1000px rgba(61, 72, 105, 0.8);
}

#houses #Barbier {
  background-image: url("images/Barbier.jpg");
  box-shadow: inset 0 0 0 1000px rgba(44, 132, 83, 0.8);
}

#houses #McAuley {
  background-image: url("images/McAuley.jpg");
  box-shadow: inset 0 0 0 1000px rgba(184, 15, 10, 0.8);
}

#houses #MacKillop {
  background-image: url("images/MacKillop.jpg");
  box-shadow: inset 0 0 0 1000px rgba(176, 146, 26, 0.8);
}
/*#endregion*/
/*#endregion*/

/**600px responsive*/
@media only screen and (max-width: 600px) {
  /**Remove stationary page*/
  body {
    overflow: auto;
  }

  /**Variables*/
  :root {
    --side-width: 100%;
  }

  /**Nav*/
  /*#region*/
  /**Remove logo*/
  nav .logo-container {
    display: none;
  }

  /**Expand nav links space*/
  nav > .nav-links {
    width: 100%;
  }

  /**Change nav links sizing*/
  nav a {
    font-size: 1.8vmax;
  }

  nav .text {
    font-size: 1.4vmax;
  }
  /*#endregion*/

  /**Main content size*/
  main {
    height: 280vh;
  }

  /**Dropdowns*/
  /*#region*/
  /**Full size dropdowns article*/
  #dropdowns {
    background-color: #000;
    z-index: 100;
    height: 90vh;
  }

  #dropdowns #container {
    position: absolute;
    top: 0;
    height: 100%;
  }

  /**Change dropdown text sizing*/
  .dropdown .header {
    font-size: 3vmax;
  }

  .dropdown-content {
    font-size: 1.8vmax;
  }

  .dropdown[data-status="active"] .dropdown-content {
    padding: 5% 0;
  }

  /*#endregion*/

  /**Updates*/
  /*#region*/
  /**Full size updates article*/
  #updates {
    width: var(--side-width);
    height: 100vh;
    border-radius: 0;
    background-image: url("images/garin.jpg");
    background-position: center;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
  }

  /** Updates Footer bottom pos  */
  #updates .footer {
    position: absolute;
    bottom: 0;
  }

  /**Change update text sizes*/
  #updates .footer > div {
    font-size: clamp(0.8rem, 2vmax, 1.5rem);
  }

  #updates h1 {
    font-size: clamp(2rem, 6vmax, 3rem);
  }

  .update-links a {
    font-size: clamp(0.8rem, 3vmax, 2.5rem);
    width: fit-content;
    padding-bottom: 4.5%;
  }
  /*#endregion*/

  /**Houses*/
  /*#region*/
  /**Full size houses article*/
  #houses {
    height: 100vh;
    margin-top: auto;
  }

  /**Change houses text sizes*/
  #houses p {
    font-size: clamp(0.7rem, 1.5vmax, 1.2rem);
    padding: 0 5%;
  }

  #houses .name {
    font-size: clamp(1.5rem, 3vmax, 2.2rem);
  }

  #houses .points {
    font-size: clamp(1.2rem, 2vmax, 1.5rem);
  }

  #houses a {
    font-size: clamp(1.2rem, 2vmax, 1.5rem);
  }
  /*#endregion*/
}
