#footer {
  position: relative !important;
  background: #334857;
  border: none;
  width: 100%;
  position: absolute;
  bottom: 0px;
  overflow: hidden;
  height: 831px;
}
.footer-button:nth-child(2){
  display:none;
}
#footer-logos-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0px;
  margin: auto;
  -moz-transition: opacity 0.3s ease-in-out;
  -o-transition: opacity 0.3s ease-in-out;
  -ms-transition: opacity 0.3s ease-in-out;
  transition: opacity 0.3s ease-in-out;
  position: relative;
  padding-bottom: 24px;
}
.footer-mountain-river-text ul {
  top: -12px;
}
#media-wrapper{
  gap: 12px;
  display: flex;
  position: relative;
}
#media-wrapper a {
  transition: all 0.3s ease-in-out;
}
#media-wrapper a:hover {
  scale: 1.2;
}
.footer-button {
  border-radius: var(--border-radius-md, 4px);
  background:#99C3E1;
  display: flex;
  padding: 0px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #303031;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  list-style-type: none;
}
.footer-button ul{
  padding: 0;
}
.footer-button a{
  text-decoration: none;
  color: #303031!important;
}
.footer-button:hover{
  border-radius: var(--border-radius-md, 4px);
  background:#80B4D9;
}
#footer-social-icons{
  display: flex;
  align-items: center;
  gap: 126px;
}
#footer-lego-container {
  max-width: 1440px;
  margin: 0 auto;
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top:80px;
}
#footer-contact {
  position: relative;
  color: #FAFAFA !important;
  font-weight: 400;
  font-size: 16px;
  display: flex;
  width:100%;
  justify-content: space-between;
  align-items: flex-start;
  list-style-type: none!important;
  padding-top: 40px;
}
.footer-line{
  border: 1px solid #FAFAFA;
  top: -6px;
  position: relative;
}
.footer-treeline-wrapper{
  width:100%;
  text-align: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.footer-address{
text-align: right;
}
.footer-address a{
  color: var(--text-inverse, #FAFAFA)!important;
  font-family: var(--type-font-family-body, Inter);
  font-size: var(--fontsize-body-sm, 12px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--line-height-body-sm, 18px);
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.footer-address a:hover {
  text-decoration: underline;
}
#footer-buttons{
  display: flex;
  gap: 36px;
  justify-content: center;
}
#footer-contact a {
  color: #FAFAFA !important;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
#footer-contact a:hover {
  text-decoration: underline;
}
#footer-contact .footer-contact-title {
  color: #FAFAFA;
  font-size: 16px;
}
.footer-title-address{
  color: var(--text-inverse, #FAFAFA);
  font-family: var(--type-font-family-sub-heading, Inter);
  font-size: var(--fontsize-heading-h6, 18px);
  font-weight: 700;
  line-height: var(--line-height-heading-h6, 24px);
}
#footer-lego-three{
  width:100%;
}
#footer-top p{
  color: var(--text-inverse, #FaFaFa);
  text-align: center;
  font-size: var(--fontsize-heading-h3, 40px);
  font-style: normal;
  font-weight: 600;
  line-height: var(--line-height-heading-h3, 48px);
  padding-bottom: 40px;
  padding-top:40px;
}
.footer-mountain-river-text a {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  width: 350px;
}
.link-wrapper {
  display: flex;
  /* width:43%; */
  /* justify-content: space-between; */
  width:50%;
  justify-content: inherit;
  }

}
#footer-links-2 ul li,
#footer-links ul li,
.footer-contact-title ul li{
  list-style-type: none!important;
}
#footer-links-2 ul,
#footer-contact ul {
  left: -40px;
  position: relative;
  color: var(--text-inverse, #FAFAFA);
  font-family: var(--type-font-family-body, Inter);
  font-size: var(--fontsize-body-md, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}
#footer-links-2 ul {
  white-space: nowrap;
  color: var(--text-inverse, #FAFAFA);
  font-family: var(--type-font-family-body, Inter);
  font-size: var(--fontsize-body-md, 16px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--line-height-body-md, 24px);
}
#footer-links ul a,
#footer-links li a {
  color: #FAFAFA !important;
  text-decoration: none !important;
  transition: all 0.3s ease-in-out;
}
#footer-links ul a:hover,
#footer-links li a:hover {
  text-decoration: underline!important;
}
#footer-links {
  font-style: normal;
  font-size: 16px;
  line-height: 28px;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}
.footer-link-title,
.footer-link-title-2,
.title {
  color: var(--text-inverse, #FAFAFA);
  font-family: var(--type-font-family-sub-heading, Inter);
  font-size: var(--fontsize-heading-h6, 18px);
  font-weight: 700;
  line-height: var(--line-height-heading-h6, 24px);
}
.title{
  padding-bottom:12px;
}
@media (max-width: 1440px) {
  #footer-lego-container {
    max-width: 1074px;
  }
  .link-wrapper{
    width:50%;
    gap:60px;
  }
}

@media (max-width: 1000px) {
  #footer-lego-container {
    max-width: 696px;
    padding-bottom: 100px;
    padding-top:40px;
  }
  .link-wrapper {
    width: 53%;
    gap:0;
  }
  #footer{
    height: auto !important;
  }
  .footer-address{
    text-align: center;
    adding-top: 64px;
  }
  a #footer-social {
    position: absolute;
    left: 39.5%;
    top: 88px;
  }
  #footer-social-icons{
   margin: auto;
   padding-bottom: 64px;
  }
  #footer-social-icons a:nth-child(2){
    margin-left:auto;
  }
  #footer-links-2 ul, #footer-contact ul, .footer-mountain-river-text a, #footer-contact{
    line-height: 18px;
    font-size:12px;
  }
  .footer-link-title, .footer-link-title-2, .footer-title-address{
    padding-bottom: 4px;
  }
  .title{
    padding-bottom: 16px;
  }
  a #footer-social{
    display: none;
  }
}

@media (max-width: 780px) {
  #footer-lego-container{
    padding-left:24px;
    padding-right:24px;
  }
}

@media (max-width: 743px) {
  #footer-lego-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  #footer-logo {
    height: 108px;
  }
  #footer-contact{
    flex-direction: column;
  }
  #footer-contact .footer-contact-title{
    width:100%;
    text-align: center;
  }
  #footer-buttons{
    display: unset;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-spacing-md,8px);
  }
  .footer-button{
    width:100%;
  }
  #footer-top p{
  font-size: 24px;
  line-height: 28px;
  padding-left: 24px;
  padding-right: 24px;
  font-size: 24px;
  }
  #footer-social-icons{
    flex-direction: column;
    gap: normal;
    gap: 24px;
  }
  a #footer-social{
    left:39%;
    top: 188px;
  }
  img#treeimg{
    width:310px;
  }
  #footer-social-icons a:nth-child(2) {
    margin-left: initial;
  }
  .link-wrapper {
    width: 100%;
    flex-direction: column;
    text-align: center;
  }
  #footer-links-2 ul, #footer-contact ul{
    left:-18px;
  }
  .footer-link-title,
  .footer-link-title-2{
    padding-top: 16px;
  }
  .title{
    padding-top: 24px;
  }
  #footer-contact{
    text-align: center;
  }
  #footer-lego-two{
    width:100%;
  }
  #footer-links{
    padding-bottom:12px;
  }
  .footer-link-title{
    padding-top:24px;
  }
}
@media (max-width: 600px) {
  a #footer-social {
    left: 37%;
  }
}
@media (max-width: 550px) {
  a #footer-social {
    left: 35%;
  }
}
@media (max-width: 500px) {
  a #footer-social{
    left:34%;
  }
}
@media (max-width: 430px) {
  a #footer-social{
    left:30.5%;
  }
}
@media (max-width: 400px) {
  a #footer-social{
    left:27.5%;
  }
}
@media (max-width: 365px) {
  #footer-links li:nth-child(7),
  #footer-links li:nth-child(8),
  #footer-links li:nth-child(9),
  #footer-links li:nth-child(10),
  #footer-links li:nth-child(11) {
    left: 9rem;
  }
}
