@font-face {
  font-family: 'Uni Sans Heavy';
  src: url('../fonts/Uni%20Sans%20Heavy.otf');
  font-weight: bold;
}

@font-face {
  font-family: 'Panton';
  src: url('../fonts/Panton-LightCaps.otf');
  font-weight: light;
}
.cf {
  clear: all;
  display: block;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Lato';
}

a {
  text-decoration: none;
}
/* 
a:hover {
  color: #b7467a;
} */  

a.inv {
  color: white;
}

a.inv:hover {
  text-decoration: underline;
}

.exc-active-menu {
  font-weight: 800;
  text-decoration: underline;
}

button.inv {
  color: white;
}

button.inv:hover {
  color: darkgray;
}

button.inv:active {
  /* TODO */
}

h1,
h2 {
  margin: 0;
  transform: scaleX(1.1);
}

h1 {
  font-family: 'Archivo', 'Uni Sans Heavy', sans-serif;
  font-size: 3rem;
  font-weight: bold;
  letter-spacing: -0.15rem;
  text-shadow: 0.2rem 0.25rem 0 rgba(183, 70, 122, 0.7);
  white-space: nowrap;
}

h2 {
  font-family: 'Panton';
  letter-spacing: 0.25rem;
}

#hero-wrap {
  position: fixed;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
}

#menu:target {
  width: 14rem;
  max-width: 90%;
  box-shadow: 0px 0 10px rgb(0 0 0 / 80%);
}

#content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 100%;
}

#page-wrap {
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  float: right;
}

#resources {
  width: 90%;
  max-width: 40rem;
  margin: auto;
}

/* #resources.wide>.resource {
  display: flex;
  justify-content: space-between;
} */
#resources.wide>div>.resource {
  display: flex;
  justify-content: space-between;
}
#about {
  max-width: 40rem;
  margin: auto;
  /*text-align: center;*/
}

.menu {
  width: 0;
  height: auto;
  left: 0;
  padding-bottom: 20px;
  overflow-x: hidden;
  position: fixed;
  transition: width 0.3s ease;
  background: #b7467a;
  z-index: 99;
  border-radius: 0 0 10px 0;
}

.nav {
  display: flex;
  flex-direction: column;
  margin: 20px 0 15px 0;
}

.nav-item {
  font-size: 1.4rem;
  padding: 15px 20px;
}

.flipped {
  letter-spacing: 0.5rem;
  color: rgba(183, 70, 122, 1);
  display: inline-block;
  transform: rotate(180deg);
  text-shadow: -0.2rem -0.25rem 0 rgba(255, 255, 255, 0.7),
               -0.4rem -0.5rem 0 rgba(255, 255, 255, 0.4);
}

.resource {
  padding: 0.5rem 0;
  font-size: 1.2rem;
  border-bottom: 1px solid #333;
  height: fit-content;
}

.resource>a {
  display: flex;
}

.resource>div {
  padding: 0 0.5rem;
  flex: 0 0 auto;
}

.thumb {
  width: 160px;
  height: 90px;
  border-radius: 15px;
  margin-right: 20px;
  float: left;
}

.btn {
  background-color: white;
  border: none;
  color: #000000;
  padding: 10px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 4px 2px;
  cursor: pointer;
}

.btn:hover {
  background-color: #484748;
  color: #e6e6e7;
}

.btn:active {
  background-color: #313131;
  color: #c7c7c8;
}

.btn-flat {
  appearance: none;
  border: none;
  background: none;
  font-size: 1.5rem;
  outline: none;
  padding: 0;
}

.btn-flat:hover {
  color: #818181;
}

.btn-flat:active {
  color: #c7c7c8;
}

.pull-right {
  float: right;
  text-align: right;
}

.video-overlay {
  position: absolute;
  width: 58px;
  height: 36px;
  background: #0004;
  color: #fffc;
  border: 2px solid #fffa;
  /*border: 18.5px solid #fff8;*/
  /*box-shadow: 0 0 4px black;*/
  margin: 27px 51px;
  box-sizing: border-box;
  border-radius: 10px;
  text-align: center;
  line-height: 34px;
}
button.exc-menu-btn {
  background: none;
  border: none;
  margin: 10px;
  font-size: 22px;
  font-family: 'lato';
  color: #454545;
}
button.exc-menu-btn:hover {
}
button.exc-close-btn {
  background: none;
  border: none;
  float: right;
  margin: 12px 9px;
  filter: brightness(100);
  cursor: pointer;
}
button.exc-close-btn:hover {
  filter: brightness(1.8);
}
.exc-sections {
  margin-bottom: 70px;
}
h3.exc-titles {
  font-size: 34px;
  font-weight: 100;
  color: #b7467a;
  margin-bottom: 20px;
}
button.btn-flat {
  background: #b7467a;
  border-radius: 8px;
  margin-top: 10px;
  transition: .5s ease;
}
.exc-btn-txt {
  margin: 0;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  font-family: 'Lato';
  font-weight: 800;
  display: block;
}
button.btn-flat:hover {
  background: darkmagenta;
  transition: .5s ease;
}
.resource h6 {
  text-decoration: none;
  color: #454545;
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}
.resource-img {
  display: block;
  width: 30%;
  height: 100px;
  float: left;
  margin: 0;
  padding: 0!important;
}
.resource-cont {
  width: 70%;
  float: left;
  margin: 0;
  padding: 0!important;
}
button.btn-flat-home {
  background: white;
  border-radius: 8px;
  margin-top: 10px;
  transition: .5s ease;
  box-shadow: 0 2px 8px rgb(65 19 66 / 85%);
  color: darkmagenta;
  border: solid 2px white;
  cursor: pointer;
  margin-bottom: 30px;
}
.exc-btn-txt-home {
  margin: 0;
  padding: 8px 12px;
  font-size: 16px;
  font-family: 'Lato';
  font-weight: 800;
  display: block;
}
button.btn-flat-home:hover {
  color: #b7467a;
  border: solid 2px #b7467a;
}
.exc-home-title {
  font-size: 28px;
}
.exc-home-logos {
  margin-bottom: 40px;
}
button.btn-flat-home a {
  color: darkmagenta;
}
button.btn-flat-home a:hover {
  color: #b7467a;
}
.sp-nowrap {
white-space: nowrap;
}
@media only screen and (max-width: 670px) {
  .resource-img {
    width: 50%;
}
.resource-cont {
  width: 50%;
}
}
