* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 100%;
  max-height: 100%;
  opacity: 1;
  background-color: var(--background-clr);
}

:root {
  --background-clr: rgb(58, 58, 58);
  --text-clr: white;
  --hover-clr: rgb(138, 138, 138);

  --ff: Verdana, Geneva, Tahoma, sans-serif;
}

/* ----------------------------------------------Terms and privacy page dark mode styles--------------------------------------------------*/
/*----------------------------------------------------------------------------------------------------------------*/

.terms_nav_bar {
  background-color: var(--background-clr);
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  border-bottom: 1px solid var(--text-clr);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.terms_nav_bar a {
  padding-left: 15px;
  padding-right: 15px;
  font-family: var(--ff);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 2.5rem;
  color: var(--text-clr);
  text-decoration: none;
  padding-top: 10px;
  padding-bottom: 0px;
  margin-bottom: 8px;
  transition: padding-bottom 1s ease;
  transition: margin-bottom 1s ease;
}

.terms_nav_bar a:hover {
  background-color: var(--text-clr);
  color: var(--hover-clr);
  border-radius: 10px;
  padding-bottom: 8px;
  margin-bottom: -8px;
  transition: all 1s;
}

.page {
  display: flex;
}

.terms_container {
  background-color: var(--background-clr);
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 200px;
  margin-inline: auto;
}

.terms_text {
  max-width: 1100px;
  margin: 0px;
  text-align: justify;
}

.terms_text ul li {
  margin-left: -20px;
  list-style: square;
}

.terms_text h2 {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.5rem;
  padding-top: 30px;
  margin-top: 0px;
}

.terms_text ul li {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.5rem;
}

.terms_text p {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 1rem;
  line-height: 1.5rem;
}

#terms_cookie_list a:link {
  color: var(--text-clr);
}

#terms_cookie_list a:visited {
  color: var(--text_hover-clr);
}

#terms_cookie_list a:hover {
  color: var(--hover-clr);
}

.terms_page_footer_bar {
  display: flex;
  flex-wrap: wrap;
  position: fixed;
  bottom: 0;
  background-color: var(--background-clr);
  width: 100%;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0px -2px 15px #3d3d3d;
  z-index: 5;
}

/*-------------------- terms_contact_foot link text---------------- */

#terms_contact_foot {
  padding: 15px 20px 15px 40px;
  transition: padding-bottom 0.6s;
}

#terms_contact_foot:hover {
  padding-bottom: 30px;
}

#terms_contact_foot a {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 0.7rem;
  text-decoration: none;
}

#terms_contact_foot a:hover {
  color: var(--hover-clr);
}

/*----------------- terms_policies link text------------------*/

#terms_policies {
  padding: 15px 20px 15px 40px;
  transition: padding-bottom 0.6s;
}

#terms_policies:hover {
  padding-bottom: 30px;
}

#terms_policies a {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 0.7rem;
  text-decoration: none;
}

#terms_policies a:hover {
  color: var(--hover-clr);
}

/*----------------- priv_terms link text------------------*/

#priv_terms {
  padding: 15px 20px 15px 40px;
  transition: padding-bottom 0.6s;
}

#priv_terms:hover {
  padding-bottom: 30px;
}

#priv_terms a {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 0.7rem;
  text-decoration: none;
}

#priv_terms a:hover {
  color: var(--hover-clr);
}

/* -----------------------terms email link text-------------------------*/

#terms_email_link {
  padding: 15px 20px 15px 40px;
  transition: padding-bottom 0.6s;
}

#terms_email_link:hover {
  padding-bottom: 30px;
}

#terms_email_link a {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 0.7rem;
  text-decoration: none;
}

#terms_email_link a:hover {
  color: var(--hover-clr);
}

/* -----------------------terms twitter link-------------------------*/

#terms_twitter_logo img {
  border-radius: 5px;
  margin: 10px;
}

#terms_twitter_logo img:hover {
  animation: twitlogo 1s ease;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes twitlogo {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

/* -----------------------terms facebook link-------------------------*/

#terms_facebook_logo img {
  border-radius: 5px;
  margin: 10px;
}

#terms_facebook_logo img:hover {
  animation: twitlogo 1s ease;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes twitlogo {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

/*-------------------- light mode link text---------------- */

#light_link {
  padding: 15px 20px 15px 40px;
  transition: padding-bottom 0.6s;
}

#light_link:hover {
  padding-bottom: 30px;
}

#light_link a {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 0.7rem;
  text-decoration: none;
}

#light_link a:hover {
  color: var(--hover-clr);
}

/* ------------------------terms copyright info-----------------------*/

#terms_copyright_text {
  color: var(--text-clr);
  font-family: var(--ff);
  font-size: 0.6rem;
  text-decoration: none;
  padding: 18px 20px;
  margin-left: auto;
  transition: padding-bottom 0.6s;
}

#terms_copyright_text:hover {
  padding-bottom: 32px;
}

#terms_copyright_text a {
  padding-right: 10px;
  color: var(--text-clr);
  text-decoration: none;
}

#terms_copyright_text a:hover {
  color: var(--hover-clr);
}

/*------------------ terms mobile styles-------------------------*/

@media (max-width: 500px) {
  .terms_nav_bar {
    padding-bottom: 3px;
    margin-left: 5px;
    margin-right: 5px;
    margin-bottom: 3px;
  }

  .terms_nav_bar a {
    padding-left: 4px;
    padding-right: 4px;
    margin-left: 5px;
    margin-right: 5px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 2.5rem;
  }

  .terms_container {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 18px;
    padding-bottom: 50px;
    margin-bottom: 3px;
  }

  .terms_text h2 {
    font-size: 1rem;
    line-height: 1.4rem;
  }

  .terms_text ul li {
    font-size: 0.9rem;
    line-height: 1.4rem;
  }

  .terms_text {
    max-width: 500px;
    margin-left: 15px;
    margin-right: 18px;
    padding-bottom: 50px;
  }

  .terms_page_footer_bar {
    position: unset;
  }

  /*------------------ terms contact link ----------------*/

  #terms_contact_foot {
    padding: 15px 10px 10px 20px;
  }

  #terms_contact_foot:hover {
    padding-bottom: 10px;
  }

  #terms_contact_foot a {
    font-size: 0.6rem;
  }

  /*------------------ terms policies link ----------------*/

  #terms_policies {
    padding: 15px 10px 10px 20px;
  }

  #terms_policies:hover {
    padding-bottom: 10px;
  }

  #terms_policies a {
    font-size: 0.6rem;
  }

  /*---------------------- terms link text----------------------*/

  #terms_email_link {
    padding: 15px 10px 10px 20px;
  }

  #terms_email_link:hover {
    padding-bottom: 10px;
  }

  #terms_email_link a {
    font-size: 0.6rem;
  }

  /* ----------------------- terms twitter link-------------------------*/

  #terms_twitter_logo img:hover {
    animation: unset;
  }

  /* -----------------------terms facebook  link-------------------------*/

  #terms_facebook_logo img:hover {
    animation: unset;
  }

  /*-------------------- light mode link text---------------- */

  #light_link {
    padding: 15px 10px 10px 20px;
  }

  #light_link:hover {
    padding-bottom: 10px;
  }

  #light_link a {
    font-size: 0.6rem;
  }

  /*------------------- terms copyright info---------------------*/

  #terms_copyright_text {
    font-size: 0.5rem;
  }
}

/*=====================================================================*/
/*============================= Landscape =============================*/
/*=====================================================================*/

@media (max-height: 450px) {
  .header {
    position: unset;
  }

  .nav_bar {
    margin-top: 50px;
  }

  .design_intro p {
    max-width: 500px;
  }

  #contact_container {
    margin-block: 0px;
  }

  .contact_text {
    margin-top: 50px;
  }

  .form_container {
    margin-block: 30px;
  }

  #slide_testimonials {
    margin-top: 100px;
    margin-bottom: 20px;
  }

  .index_footer_bar {
    position: unset;
  }

  .design_page_footer_bar {
    position: unset;
  }

  .hosting_footer_bar {
    position: unset;
  }

  .package_page_footer_bar {
    position: unset;
  }

  .contact_footer_bar {
    position: unset;
  }

  .priv_page_footer_bar {
    position: unset;
  }

  .terms_page_footer_bar {
    position: unset;
  }
}
