@import url('reset.css');

/* reset */
:root {
  --base-font: 16px;
  --white: #fff;
  --black: #000;
}

img {
  vertical-align: top;
}

hr {
  width: 100%;
  border: none;
  height: 1px;
  background: #D0D5DD;
}

/* layout */
.container {
  max-width: 1272px;
  width: 100%;
  margin: 0 auto;
}

/* typography */
/* font-family: "Inter", sans-serif */

body {
  font-family: "Montserrat", sans-serif;
  font-size: var(--base-font);
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* HEADER */
body>header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(0, 0, 0, .8);
  color: var(--white);
  z-index: 100;
}

body>header>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

body>header:after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0;
  background: rgba(0, 0, 0, .5);
  z-index: -1;
  transition: height 0.3s;
}

body>header.active:after {
  height: 40px;
}

.logo {
  padding: 12px 0;
}

.logo a {
  width: 58px;
  height: 84px;
  background: url(../images/logo.png) no-repeat;
  text-indent: -9999em;
  display: block;
}

body>header nav>ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

body>header nav>ul>li {
  position: relative;
}

body>header nav>ul>li:hover ul {
  display: flex;

}

body>header nav>ul>li ul {
  position: absolute;
  top: 100%;
  display: none;
  left: -100%;
  right: -100%;
  justify-content: center;
  gap: 20px;
  line-height: 40px;
}

body>header nav>ul>li>a {
  font-weight: 600;
  font-size: calc(var(--base-font) * 1.25);
  opacity: 0.5;
  transition: 0.3s;
  line-height: 108px;
  display: block;
}

body>header nav ul a:hover,
body>header nav ul a.active {
  opacity: 1;
}

body>header nav>ul>li ul a {
  color: #fff;
}

.main-full-template main {
  padding-top: 0;
  flex: 1;
}

.sub-template main {
  padding-top: 50px;
  flex: 1;
}

/* button & links */
.primary-btn {
  border-radius: 26px;
  padding: 0 64px;
  height: 52px;
  display: flex;
  align-items: center;
  background: #F2F05A;
  color: var(--black);
  text-transform: capitalize;
  font-size: 20px;
  font-weight: 600;
  border: 0px solid var(--white);
  box-sizing: border-box;
  transition: 0.2s ease-out;
  box-shadow: 0 0 0 rgba(0, 0, 0, .5);
}

.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 3px rgba(0, 0, 0, .5);
}

/* footer */
footer {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.90);
  color: var(--white);
}