@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200&family=Roboto:wght@100;300;400&display=swap");


/* RESET RULES
–––––––––––––––––––––––––––––––––––––––––––––––––– */

:root {
  --white: #fefffd;
  --main-blue: #1b1f40;
  --element: #f5f5f5;
  --focus: #edf4f4;
  --hover: #8691f2;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

.container a {
  color: inherit;
}

.container input,
.container select,
.container textarea,
.container button {
  font-family: inherit;
  font-size: 100%;
}

.container button,
.container label {
  cursor: pointer;
  width: 50%;
}

.container select {
  appearance: none;
}

/* Remove native arrow on IE */
.container select::-ms-expand {
  display: none;
}

/*Remove dotted outline from selected option on Firefox*/
/*https://stackoverflow.com/questions/3773430/remove-outline-from-select-box-in-ff/18853002#18853002*/
/*We use !important to override the color set for the select on line 99*/
.container select:-moz-focusring {
  color: transparent !important;
  text-shadow: 0 0 0 var(--white);
}

.container h1 {
  text-align: center;
}

body {
  font: 12px/1.5 "Montserrat", sans-serif;
  background: var(--main-blue);
  color: var(--white);
  margin: 0;
}

.container {
  width: 800px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.container h1 {
  margin-bottom: 3rem;
}

.container li {
  list-style-type: none;
}

.container input {
  margin-bottom: 1.5rem;

}

.container input,
.container button {
  width: 100%;
  line-height: 1.5;
  padding: 15px 10px;
  border: 2px solid var(--white);
  color: var(--white);
  background: var(--main-blue);
  transition: background-color 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25),
    transform 0.3s cubic-bezier(0.57, 0.21, 0.69, 1.25);
  font-size: 16px;
  list-style-type: none;
}

.container button {
  margin-top: 2.5rem;
}

.container button:hover {
  background: var(--focus);
  border-color: var(--focus);
  color: var(--main-blue);
}

.container #index-navigation {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
}

.container button.navigation {
  width: 300px;
  height: 300px;
  margin: 0;
  transition: background-color 0.4s cubic-bezier(0.57, 0.21, 0.69, 1.25),
    transform 0.4s cubic-bezier(0.57, 0.21, 0.69, 1.25);
}

.container button.navigation:hover {
  transform: scale(1.03);
}

@media screen and (max-width: 1334px) {
  .container button.navigation {
    width: 200px;
    height: 200px;
  }

  .container button.navigation:hover {
    transform: scale(1.04);
  }
}

.container button.navigation.last {
  margin-left: 4rem;
}

@media screen and (max-width: 935px) {
  .container button.navigation.last {
    margin-left: 2rem;
  }
}

@media screen and (max-width: 871px) {
  .container button.navigation.last {
    margin-left: 1rem;
  }
}

.container input::placeholder {
  color: var(--white);
}

.container select:focus,
.container input:focus {
  transform: scale(1.02);
}

.container input[type="text"]:focus {
  background-color: var(--focus);
  border-color: var(--focus);
  color: var(--main-blue);
}

.container input[type="text"]:focus::placeholder {
  color: var(--main-blue);
}

#results {
  font-size: 18px;
}

.color-inputs {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
}

#svg-icons svg {
  display: none;
}



/************************************************************/
/******************** MENU + HAMBURGER **********************/
/************************************************************/

.overlay {
  height: 100%;
  width: 100%;
  position: fixed;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.85);
  overflow-y: hidden;
  transition: .3s;
  -webkit-transition: .3s;
}

#start {
  transition: .3s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: var(--white);
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: var(--hover);
}

.overlay a.active {
  font-size: 62px;
}

.menu-toggle {
  position: absolute;
  top: 4.5%;
  left: 1.5rem;
  transform: translate(0, -50%);
  height: 26px;
  width: 29px;
  z-index: 999999;
  cursor: pointer;

  &,
  &:hover {
    color: var(--hover);
  }
}

.menu-toggle-bar {
  display: block;
  position: absolute;
  top: 50%;
  margin-top: -1px;
  right: 0;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: var(--white);
  transition: all 0.3s ease;

  &.menu-toggle-bar--top {
    transform: translate(0, -8px);
  }

  &.menu-toggle-bar--bottom {
    transform: translate(0, 8px);
  }

  .nav-open & {
    &.menu-toggle-bar--top {
      transform: translate(0, 0) rotate(45deg);
    }

    &.menu-toggle-bar--middle {
      opacity: 0;
    }

    &.menu-toggle-bar--bottom {
      transform: translate(0, 0) rotate(-45deg);
    }
  }
}

.menu-toggle:hover .menu-toggle-bar {
  background-color: #8691f2;
}

@media screen and (max-height: 450px) {
  .overlay {
    overflow-y: auto;
  }

  .overlay a {
    font-size: 20px
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/************************************************************/