@import 'init';

header {
  position: relative;
}
#nav-wrapper {
  background: linear-gradient(to right, @d-brown 300px, @brown 300px);
}
.navbar {
  padding-top: 0;
  padding-bottom: 0;
}
.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  background-color: @d-brown;
  padding-right: 32px;
  position:relative;
  &:hover span.hidden {
    display:flex;
    top:0;
    left:0;
    color:white;
    font-size:1.5em;
    font-weight:700;
    height:100%;
    width:100%;
    background-color:rgba(0,0,0,.4);
    align-items:center;
    justify-content:center;
    border-radius:15px;
  }
}
.logo {
  width: 320px;
  margin-top: 24px;
  margin-bottom: 24px;
  img {
    width: 100%;
  }
}
.nav-item.active {
  position: relative;
  &:before {
    position: absolute;
    content:'';
    top:36px;
    left:50%;
    transform: translateX(-50%);
    width:50%;
    height: 2px;
    background-color:white;
  }
}
.nav-link {
  color: white;
  text-transform: uppercase;
  &:hover {
    text-decoration: underline;
    color: white;
  }
}
.socials {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 200px;
  margin-left: 10px;
  > a:not(.donatelink) {
    font-size: 30px;
    color: white;
    background-color: @d-brown;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 50px;
    display: inline-flex;
    justify-content: center;
    border-radius: 12px;
    &:hover {
      text-decoration: none;
      color: @brown;
      background-color: white;
    }
  }
}
#nav-wrapper {
  .socials > a:not(.donatelink) {
    background-color:initial;
    width:initial;
    &:hover {
      color:white;
    }
  }
}
.donatelink {
  padding: 8px 12px;
  display:inline-block;
  width:max-content;
  color:white;
  &:hover {
    color:@brown;
  }
}
.dropdown-menu {
  background-color: @d-brown;
  border-bottom: 12px solid @brown;
  border-radius: 25px;
  position: relative;
  padding-top: 24px;
  padding-bottom: 24px;
  &::before {
    content: '';
    position: absolute;
    top:-6px;
    left: 22px;
    border-style: solid;
    border-width: 15px 15px 0 0;
    border-color: transparent @d-brown transparent transparent;
    position: absolute;
    transform: rotate(-135deg);
  }
}
.dropdown-item {
  color: white;
}
.dropdown-item.active, .dropdown-item:active {
  background-color:@brown;
}
footer {
  background-color: black;
  color: white;
  padding-top: 45px;
  padding-bottom: 45px;
  .title {
    font-size: 1em;
  }
  .logo {
    margin-top: 0;
    width: 100%;
  }
  .socials {
    width: 100%;
    margin-left: unset;
  }
  ul {
    margin-bottom: 0;
    padding-inline-start: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }
  .nav-item {
    list-style-type: none;
  }
  
  .nav-item.active:before {
    top:24px;
    left:0;
    transform:unset;
    right:unset;
    bottom:6px;
  }
  .text-brown {
    margin-bottom: 28px;
  }
  .content {
    .fw-5;
    display: flex;
    flex-direction: column;
  }
  a {
    color: white;
    &:hover {
      color: white;
    }
  }
}
.copyright {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid white;
  text-align: center;
  a {
    color: white;
  }
}
.mobile {
  display:none;
}
@media only screen and (max-width:1399px) {
  .logo {
    width: 280px;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 3px;
    padding-right: 3px;
  }
  .socials {
    width: 168px;
    > a:not(.donatelink) {
      font-size: 20px;
      width: 40px;
    }
    .btn {
      font-size: 0.6em;
    }
  }
}
@media only screen and (max-width:1199px) {
  #nav-wrapper {
    background: linear-gradient(to right, @d-brown 250px, @brown 250px);
  }
  .navbar-brand {
    padding-right: 16px;
  }
  .logo {
    width: 185px;
    margin-top:16px;
    margin-bottom:16px;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 3px;
    padding-right: 3px;
  }
  .socials {
    width: 140px;
    > a:not(.donatelink) {
      font-size: 20px;
      width: 40px;
      padding-top: 7px;
      padding-bottom: 7px;
    }
  }
}
@media only screen and (max-width:991px) {
  .mobile {
    display:block;
  }
  .desktop {
    display:none;
  }
  .navbar-collapse {
    text-align:right;
    margin-bottom:1rem;
  }
  .socials {
    margin-left:auto;
    width:160px;
  }
  .nav-item.active:before {
    left:unset;
    right:0;
    width:70px;
    transform:unset;
    top:28px;
  }
  .dropdown-menu {
    text-align: right;
    &::before {
      display:none;
    }
  }
  footer {
    padding-top:16px;
    padding-bottom:16px;
    .col-12:nth-of-type(2) {
      margin-bottom: 1rem;
    }
    .title {
      margin-bottom: 8px;
      display: block;
    }
    .nav-item.active:before {
      top:unset;
      left:0;
      right:unset;
      bottom:6px;
    }
  }
}
@media only screen and (max-width:575px) {
  #nav-wrapper {
    background:@brown;
  }
  .navbar-brand {
    margin-right: 0;
    background-color:@brown;
  }
  .dropdown-item {
    white-space:break-spaces; 
  }
  footer {
    .col-12:not(:last-of-type) {
      margin-bottom: 8px;
    }
  }
  .copyright {
    margin-top: 16px;
    padding-top: 16px;
  }
}