* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
}
.wrapper {
  max-width: 1920px;
  margin: 0 auto;
  background-color: #ffffff;
}
.phone__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../img/icons/phone.svg");
}
.phone__icon-dark {
  width: 18px;
  height: 18px;
  background-image: url("../img/icons/phone-dark.svg");
}
.email__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../img/icons/email.svg");
}
.email__icon-dark {
  width: 18px;
  height: 18px;
  background-image: url("../img/icons/email-dark.svg");
}
.address__icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../img/icons/address.svg");
}
.logo__naau {
  display: flex;
  max-width: 11em;
  max-height: 3em;
}
/* header for phone*/
.header {
  display: flex;
  justify-content: space-around;
  background-color: #b9d9ec;
  padding: 0 2vw;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}
.header__wrapper__logo {
  max-width: 70%;
  display: flex;
  align-items: center;
  gap: 1em;
}
.header__logo {
  max-width: 30%;
  padding: 2%;
}
.header__top {
  display: none;
}
.header__main {
  display: flex;
  align-items: center;
}
.hamburger-icon {
  display: block;
  width: 2rem;
}
.header__nav {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: #254d8c;
  position: absolute;
  top: 100%;
  right: 0;
  width: 35%;
  padding: 1rem;
  gap: 1.5rem;
  z-index: 999;
  list-style-type: none;
  opacity: 80%;
}
.header__nav-link {
  font-size: 0.9rem;
  color: #ffffff;
  text-align: center;
}
.header__nav.open {
  display: flex;
}
.phone-number {
  color: #ffffff;
}
/*main for phone*/
.main {
  max-width: 1200px;
  margin: 0 auto;
}
.main__title {
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #224f88;
  font-size: 24px;
  margin-top: 2rem;
  padding: 0 10vw;
}
/* about for phone*/
.about {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}
.about__image-wrapper {
  overflow: hidden;
  max-width: 200px;
  align-self: center;
  margin: 0 auto;
  border-radius: 50%;
}
.about__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem;
}
.about__text-top {
  font-family: "Roboto Flex", sans-serif;
  font-size: 1rem;
  color: #254d8c;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
}
.about__text-main {
  background-color: rgba(107, 195, 253, 0.18);
  border-radius: 0.4rem;
  padding: 1rem 1rem 0 1rem;
}
.about__text-main p {
  font-family: "Roboto Flex", sans-serif;
  font-size: 1rem;
  color: #424657;
  text-align: center;
  margin-bottom: 1rem;
}
/*contact for phone*/
.main__contact {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 1.4rem;
  gap: 1rem;
}
.contact__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact__paragraph {
  font-family: "Roboto Flex", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #254d8c;
  padding-top: 10px;
}
.contact__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.contact__buttons {
  display: flex;
  gap: 0.625rem;
}
.contact__button {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 45px;
  max-height: 45px;
  text-decoration: none;
  cursor: pointer;
  background-color: transparent;
  transition: transform 0.3s ease;
}
.contact__button:hover {
  transform: scale(1.1);
}
.contact__icon-telegram,
.contact__icon-viber,
.contact__icon-whatsapp {
  display: inline-block;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.contact__icon-telegram {
  width: 45px;
  height: 45px;
  background-image: url("../img/icons/telegram.svg");
}
.contact__icon-viber {
  width: 50px;
  height: 50px;
  background-image: url("../img/icons/viber.svg");
}
.contact__icon-whatsapp {
  width: 45px;
  height: 45px;
  background-image: url("../img/icons/whatsapp.svg");
}
.phone-number-main {
  display: flex;
  font-family: "Roboto Flex", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #7198c2;
  text-decoration: none;
  margin-top: 1rem;
}
/*services for phone*/
.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 5vw;
}
.main__title--large {
  font-weight: 700;
  font-size: 2rem;
  margin: 1rem 0;
}
.services__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
}
.services__text {
  display: flex;
  font-family: "Roboto Flex", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #254d8c;
}
.services__list {
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: #424657;
  list-style-type: disc;
  margin-top: 30px;
  padding-left: 40px;
}
/*area of law cards for phone*/
.area-law {
  display: flex;
  flex-direction: column;
}
.main__title-small {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
}
.area-law__cards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 2rem;
  padding: 0 4vw;
  gap: 2rem;
}
.area-law__card {
  background: #f5f5f5;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-radius: 0 0 6px 6px;
}
.area-law__card-top {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b9d9ec;
  gap: 1rem;
  border-radius: 7px 7px 0 0;
  padding: 10px 20px;
}
.area-law__icon-civil {
  display: inline-block;
  width: 90px;
  height: 70px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../img/icons/civil-law.svg");
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.25));
}
.area-law__icon-administrative {
  display: inline-block;
  width: 80px;
  height: 70px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("../img/icons/administrative-law.svg");
  filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.25));
}
.area-law__card__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  width: 200px;
  color: #ffffff;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.area-law__content {
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  font-size: 1rem;
  font-weight: 500;
  color: #254d8c;
  padding: 2.5rem;
}
/*footer for phone*/
.footer {
  display: flex;
  flex-direction: column;
  background-image: url("../img/background-footer-phone.jpg");
  padding: 2rem 1rem;
  margin-top: 2rem;
}
.footer__wrapper {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer__contact__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
}
.footer__contact__title {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
}
.footer__contact__info {
  gap: 6px;
}
.footer__contact__info-item {
  display: flex;
  align-items: stretch;
  font-size: 1rem;
  text-align: center;
}
.email {
  color: #ffffff;
}
.address {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #ffffff;
}
/*partners for phone*/
.partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
}
.main__title-small {
  font-size: 1.4rem;
  margin-top: 2rem;
}
.partners__wrapper{
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.partners__content{
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.partners__job-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #254d8c;
}
.partners__name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #424657;
}
.partners__contact__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5px;
}
.partners__phone,
.partners__phone-secondary{
  font-size: 0.8rem;
  color: #254d8c;
}
.partners__email,
.partners__email-secondary{
  font-size: 0.8rem;
  color: #254d8c;
}

@media (max-width: 360px) {
  .logo__naau {
    max-width: 9em;
  }
  /*contact for phone under 360px*/
  .main__contact {
    margin: 1rem 2rem;
  }
  .contact__paragraph {
    font-size: 12px;
  }
  .contact__button {
    max-width: 35px;
    max-height: 35px;
  }
  .phone-number-main {
    font-size: 14px;
  }
  /*area law under 360px*/
  .area-law__card-top {
    padding: 10px;
  }
  .area-law__card__title {
    font-size: 1.3rem;
    align-items: flex-start;
  }
  .area-law__content {
    font-size: 15px;
    padding: 1.5rem 2.5rem;
  }
  .address {
    font-size: 14px;
  }
}
@media (min-width: 425px) {
  .address {
    font-size: 1rem;
  }
  .about__image-wrapper {
    max-width: 250px;
  }
  .logo__naau {
    max-width: 13em;
  }
}
@media (min-width: 620px) {
  /*header for tablet more than 620px*/
  .hamburger-icon {
    width: 40px;
    height: 40px;
  }
  .logo__naau {
    max-width: 15em;
  }
  /*about for tablet more than 620px*/
  .about {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin: 1rem 2rem;
  }
  .about__text {
    width: 70%;
    padding: 0;
  }
  .about__text-top {
    font-size: 14px;
    text-align: left;
    margin-bottom: 0;
  }
  .about__text-main {
    background: #ffffff;
    padding: 1rem 0 0 1rem;
  }
  .about__text-main p {
    font-size: 13px;
    text-align: left;
    margin-bottom: 0.6rem;
  }
  /*area-law for tablet more than 620px*/
  .area-law {
    display: flex;
    justify-content: center;
  }
  .area-law__card__title {
    width: 180px;
    align-items: flex-start;
    font-size: 1.3rem;
  }
  .area-law__cards {
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  .area-law__card-top {
    max-width: 18rem;
    padding: 1rem 1rem;
  }
  .area-law__content {
    max-width: 18rem;
    font-size: 15px;
    padding: 1rem 2rem;
  }
  .area-law__icon-administrative {
    width: 65px;
  }
}

@media (min-width: 768px) {
  /*header for tablet more than 620px*/
  .header__main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    min-width: 20rem;
    gap: 10px;
  }
  .header__top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: white;
    gap: 0.5rem;
  }
  .phone-number {
    text-decoration: none;
    font-size: 1.1rem;
  }
  .header__nav {
    display: flex;
    flex-direction: row;
    position: static;
    background-color: transparent;
    width: auto;
    padding: 0;
    gap: 2rem;
    opacity: 1;
  }
  .header__nav-link {
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: 500;
    color: #254d8c;
  }
  .header__nav-link:hover {
    color: #ffffff;
  }
  .hamburger-menu {
    display: flex;
  }
  .hamburger-icon {
    display: none;
  }
  /*about for tablet more than 620px*/
  .about__image-wrapper {
    max-width: 300px;
  }
  /*services for tablet more than 620px*/
  .services {
    padding: 0 10vw;
  }
  .services__text {
    max-width: 900px;
  }
  /*area-law for tablet more than 620px*/
  .area-law__card__title {
    align-items: center;
  }
  .area-law__card-top {
    max-width: 22rem;
  }
  .area-law__content {
    max-width: 22rem;
  }
  /*footer for tablet more than 620px*/
  .footer {
    background-repeat: no-repeat;
    background-size: cover;
  }
}
@media (min-width: 930px) {
  /*header for laptop more than 930px*/
  .header {
    justify-content: space-between;
    padding: 0 5vw;
  }
  .logo__naau {
    max-width: 17em;
  }
  .header__logo {
    max-width: 35%;
  }
  .phone-number {
    font-size: 20px;
  }
  .phone-number-main {
    margin-top: 0;
  }
  .header__nav-link {
    font-size: 20px;
  }
  /*about for laptop more than 930px*/
  .about {
    margin: 2rem 2rem;
  }
  .about__image-wrapper {
    max-width: 365px;
  }
  .about__text-top {
    font-size: 18px;
  }
  .main__title {
    font-size: 2.2rem;
  }
  .about__text-main p {
    font-size: 17px;
  }
  /*contact for laptop more than 930px*/
  .contact__paragraph {
    font-size: 1.2rem;
  }
  .contact__button {
    max-width: 65px;
    max-height: 65px;
  }
  /*services for laptop more than 930px*/
  .services__text {
    font-size: 1.3rem;
  }
  .services__list {
    font-size: 1.1rem;
    line-height: 2.5rem;
    font-weight: 700;
  }
  /*area-law for laptop more than 930px*/
  .area-law__cards {
    gap: 3rem;
  }
  .area-law__card {
    max-width: 450px;
  }
  .area-law__card-top {
    max-width: 100%;
    justify-content: space-evenly;
  }
  .area-law__card__title {
    font-size: 1.5rem;
  }
  .area-law__content {
    font-size: 1.1rem;
    font-weight: 600;
    max-width: 30rem;
    padding: 1rem 4rem;
  }
  /*footer for laptop more than 930px*/
  .footer {
    padding: 2rem 5rem;
  }
  .footer__contacts {
    gap: 1rem;
  }
  .footer__contact__title {
    font-size: 2rem;
  }
  .footer__contact__info {
    gap: 10px;
  }
  .footer__contact__info-item {
    font-size: 1.2rem;
  }
  .address {
    font-size: 1.2rem;
  }
  .contact__icon-telegram,
  .contact__icon-whatsapp {
    width: 60px;
    height: 60px;
  }
  .contact__icon-viber {
    width: 65px;
    height: 65px;
  }
  .main__title-small {
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    padding: 0;
  }
  /*partners for laptop more than 930px*/
  .partners {
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }
  .partners__wrapper{
    flex-direction: row;
    justify-content: flex-start;
    gap: 2rem;
  }
  .partners__content{
    gap: 10px;
  }
  .partners__job-title {
    max-width: 300px; 
    font-size: 1rem;
    font-weight: 600;
  }
  .partners__name {
    font-size: 1rem;
    font-weight: 600;
  }
  .partners__contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .partners__phone,
  .partners__phone-secondary{
    font-size: 14px;
  }
  .partners__email,
  .partners__email-secondary{
    font-size: 14px;
  }
}
@media (min-width: 1200px) {
  /*header for laptop more than 1200px*/
  .logo__naau {
    display: flex;
    max-width: 22em;
    max-height: 4em;
  }
  /*about for laptop more than 1200px*/
  .main__title {
    font-size: 2.6rem;
    padding: 0;
  }
  .main__title-small {
    font-size: 1.6rem;
    justify-content: center;
  }
  .about__image-wrapper {
     width: 390px;
  }
  .about__text-top {
    font-size: 19px;
  }
  .about__text-main {
    padding: 2rem 0 0 2.5rem;
  }
  .about__text-main p {
    font-size: 19px;
    margin-bottom: 1rem;
  }
  /*services for laptop more than 1200px*/
  .services__text {
    font-size: 1.5rem;
  }
  .services__list {
    font-size: 1.2rem;
  }
  /*footer for laptop more than 1200px*/
  .footer {
    background-image: url("../img/background-footer.jpg");
    padding: 2rem 7rem;
    margin-top: 2rem;
  }
  .footer__wrapper {
    flex-direction: row;
    gap: 6rem;
  }
  .footer__contacts {
    gap: 30px;
  }
  .footer__contact__info {
    align-items: flex-start;
  }
}
@media (min-width: 1440px) {
  /*desktop for laptop more than 1440px*/
  .header {
    padding: 0 5vw;
  }
  .logo__naau {
    display: flex;
    max-width: 24em;
    max-height: 5em;
  }
  /*desktop for laptop more than 1440px*/
  .footer__wrapper {
    gap: 8rem;
  }
  .footer__contact__info {
    font-size: 1.2rem;
  }
}
@media (min-width: 1600px) {
  /*desktop for laptop more than 1600px*/
  .footer {
    padding: 2rem 13rem;
  }
}
@media (min-width: 1800px) {
  /*desktop for laptop more than 1800px*/
  .footer {
    padding: 2rem 15rem;
  }
}
