/*
Theme Name: BYS_theme
Author: Romain Adler
Version: 1.2
*/

@font-face {
  font-family: "TradeGothicLTBold";
  src: url("./css/fonts/TradeGothicLT-Bold.woff") format("woff");
}

@font-face {
  font-family: "TradeGothicLTBoldCondensed";
  src: url("./css/fonts/TradeGothicLT-Bold-Condensed.woff") format("woff");
}

@font-face {
  font-family: "TradeGothicLTRegularCondensed";
  src: url("./css/fonts/TradeGothicLT-RegularCondensed.woff") format("woff");
}

@font-face {
  font-family: "TradeGothicLTLite";
  src: url("./css/fonts/TradeGothicLT-Light.woff") format("woff");
}

@font-face {
  font-family: "RobotoBold";
  src: url("./css/fonts/Roboto-Bold.woff") format("woff");
}

@font-face {
  font-family: "RobotoRegular";
  src: url("./css/fonts/Roboto-Regular.woff") format("woff");
}

@font-face {
  font-family: "RobotoLight";
  src: url("./css/fonts/Roboto-Light.woff") format("woff");
}

body {
  margin: 0;
  background-color: #04031d;
  color: white;
}

nav {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

.nav-logo {
  display: flex;
  width: 10vw;
  height: 8vw;
  margin-left: 45vw;
  filter: drop-shadow(0 0 1vw rgb(114, 114, 114));
}

.nav-logo > img {
  width: 100%;
  margin: auto;
}

.nav-buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 40.5vw;
  padding-right: 4.5vw;
}

.nav-links {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  display: flex;
  list-style-type: none;
  white-space: nowrap;
}

.nav-links > li > a {
  color: white;
  text-shadow: 0 0 1.7vw rgb(114 114 114);
  text-decoration: none;
  margin-right: 1.6vw;
  border-bottom: 0 solid;
  transition: border-bottom linear 100ms;
  font-family: "TradeGothicLTBoldCondensed", sans-serif;
  font-size: 1.2vw;
  line-height: 1.7vw;
  cursor: pointer;
}

.nav-links > li:nth-child(1n) > a:hover,
.current-menu-item:nth-child(1n) > a {
  border-bottom: 0.3vw #ee3355 solid;
}

.nav-links > li:nth-child(2n) > a:hover,
.current-menu-item:nth-child(2n) > a {
  border-bottom: 0.3vw #fcdf2b solid;
}

.nav-links > li:nth-child(3n) > a:hover,
.current-menu-item:nth-child(3n) > a {
  border-bottom: 0.3vw #00bac0 solid;
}

.nav-links > li:nth-child(4n) > a:hover,
.current-menu-item:nth-child(4n) > a {
  border-bottom: 0.3vw #ffffff solid;
}

.nav-social {
  display: flex;
}

.nav-social > a:not(:last-child) {
  margin-right: 0.5vw;
}

.nav-social > a > img {
  width: 2vw;
}

.deco-container {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  overflow: hidden;
}

#modal-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: 1;
  cursor: pointer;
  background-color: #00000096;
  z-index: 100;
  transition: all linear 300ms;
}

.hidden-modal {
  opacity: 0 !important;
}

.modal-window {
  position: relative;
  display: flex;
  color: black;
  background-color: #eee;
  border-radius: 2px;
  padding: 2vw 2vw 2vw 6vw;
  width: 75vw;
  height: 70vh;
  cursor: initial;
}

.modal-window > p {
  margin: 0;
  padding-right: 1vw;
  font-family: "RobotoRegular";
  font-size: 1.5vw;
  overflow-y: scroll;
}

.modal-window > p > strong {
  font-family: "RobotoBold";
  font-size: 1.7vw;
}

.modal-close {
  width: 1.5vw;
  height: 1.5vw;
  margin-left: 2vw;
  cursor: pointer;
}

.modal-close:hover {
  transform: scale(1.1);
}

.modal-close:active {
  transform: scale(1);
}

footer {
  display: flex;
  justify-content: center;
  width: 100vw;
  margin-top: 20vw;
  margin-bottom: 4.6vw;
  z-index: 6;
}

footer > span,
footer > a {
  color: white;
  font-family: "RobotoBold", sans-serif;
  font-size: 1vw;
  z-index: inherit;
  text-decoration: none;
}

footer > span:not(:last-child) {
  margin-right: 1.2vw;
}

footer > #legal-notice {
  cursor: pointer;
}

footer > #legal-notice:hover,
footer > a:hover {
  text-decoration: underline white;
}

footer > #legal-notice:active {
  color: lightgray;
}
