@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Nunito+Sans:wght@300&family=Righteous&family=Roboto+Slab:wght@100;200;300;400&display=swap");
/*
h1-h2 {
  font-family: 'Righteous', cursive;
  font-family: 'Roboto Slab', serif;
}
about-me {
  font-family: 'Dancing Script', cursive;
}
standart {
  font-family: 'Nunito Sans', sans-serif;
}
*/
html {
  font-size: 10px;
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
h1,
h2 {
  font-family: "Righteous", cursive;
  /* font-family: 'Roboto Slab', serif; */
  font-weight: 400;
}
li {
  font-family: "Nunito Sans", sans-serif;
}
.p__uppercase {
  font-family: "Dancing Script", cursive;
  font-size: 2.2rem;
}
.wrapper {
  max-width: 1024px;
  margin: 0 auto;
  box-shadow: 0 0 5px 5px rgba(221, 221, 221, 1);
}
.header {
  height: 30px;
  background-color: rgb(200, 200, 252);
}
.main {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
}
.info {
  background-color: #4682b4;
  /* background-color: #1E90FF; */
  min-width: 32rem;
  /* height: 75rem; */
  padding: 8rem 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 7.5rem 0.5rem 17.5rem 3.5rem;
  border-top-right-radius: 0;
}
.info__foto {
  width: 22rem;
  /* border: 1px solid black; */
  border-radius: 6rem 0.5rem 14rem 0.5rem;
  align-self: center;
  border-radius: 7.5rem 0.5rem 17.5rem 0.5rem;
}
.info__block {
  padding: 0 3rem 3rem 0;
  margin-top: 2.5rem;
  color: #fff;
  width: 22rem;
  border-right: 0.3rem solid #fff;
  border-bottom: 0.1rem solid #fff;
  border-radius: 0 0 9.4rem 0;
  align-self: center;
}
.info__title {
  font-size: 2.8rem;
  padding: 0 1rem 1rem 0;
}
.info__text {
  font-size: 1.4rem;
  list-style-type: none;
  margin-bottom: 0.5rem;
}
.info__text:hover {
  transform: scale(1.2);
}

.info__icon {
  margin: 0.5rem;
  font-size: 1.8rem;
}
.info__block-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
}
.desc {
  /* background-color: rgb(55, 234, 247); */
  /* height: 75rem; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.desc__title {
  color: #4682b4;
  width: 100%;
  padding: 2rem;
  font-size: 2.8rem;
  /* border: .1rem solid #fff; */
  border-radius: 8rem 3.5rem 14rem 2.5rem;
  background: linear-gradient(45deg, rgb(171, 171, 171), #fff);
  position: relative;
  z-index: 3;
}
.desc__header {
  width: 100%;
  background-color: #4682b4;
  border-radius: 0 3.5rem 14rem 0;
  position: relative;
}
.desc__header::after {
  position: absolute;
  top: 10.3rem;
  left: 0;
  content: "";
  width: 0;
  height: 0;
  border-top: 5rem solid #4682b4;
  border-right: 5rem solid transparent;
  z-index: 0;
}
.desc__header-title {
  padding: 3rem 2rem 0 2rem;
  font-size: 3.6rem;
}
.desc__header-text {
  margin-left: 18rem;
  font-size: 3.2rem;
  padding-bottom: 1rem;
}
.desc__block {
  background: linear-gradient(45deg, rgb(225, 225, 225), rgb(212, 235, 245));
  padding: 2rem;
  border-radius: 3rem;
  margin: 1rem 2rem;
}
.desc__text {
  font-size: 2rem;
  list-style-type: none;
  margin-bottom: 0.5rem;
}
.desc__text-strong {
  margin: 2rem;
}
.desc__link {
  text-decoration: none;
  color: #000;
  font-weight: 400;
}
.desc__link:hover {
  text-shadow: 0.1rem 0.1rem 0.2rem #4682b4;
}
.desc__text-code {
  font-size: 1.8rem;
  font-weight: 100;
  font-style: italic;
  letter-spacing: 0.1rem;
}
.footer {
  margin-top: 1rem;
  height: 7rem;
  background: linear-gradient(180deg, #7babd2, rgb(251, 251, 251));
  border-radius: 10rem 10rem 0 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.footer__logo {
  width: 10rem;
}
.footer__icon {
  font-size: 5rem;
  color: #000;
}
.footer__icon:hover {
  color: #4682b4;
}
.header {
  margin-bottom: 1rem;
  height: 7rem;
  background: linear-gradient(0deg, #7babd2, rgb(251, 251, 251));
  border-radius: 0 0 10rem 10rem;
}
.nav {
  height: 7rem;
}
.header__links {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.header__link {
  text-decoration: none;
  scroll-behavior: smooth;
  color: #000;
}
.header__link:hover {
  text-shadow: 0.1rem 0.1rem 0.2rem #4682b4;
}
.info__link {
  color: #fff;
  text-decoration: auto;
}
.header__text {
  font-size: 2rem;
  list-style-type: none;
  margin-top: 1.5rem;
}
.burger__btn {
  display: none;
}
@media screen and (max-width: 768px) {
  .header {
    border-radius: 0 0 5rem 5rem;
    margin-bottom: 0.6rem;
  }
  .header__text {
    font-size: 1.8rem;
    margin-top: 2rem;
  }
  .desc__header-title {
    padding: 2rem 2rem 0 2rem;
  }
  .desc__header-text {
    margin-left: 15rem;
  }
  .info {
    min-width: 28rem;
    padding: 3.5rem 0;
    justify-content: flex-start;
  }
  .info__block {
    margin-top: 6rem;
  }
  .desc__block {
    margin: 0.2rem 0.2rem;
  }
  .footer {
    border-radius: 5rem 5rem 0 0;
    margin-top: 0.6rem;
  }
}
@media screen and (max-width: 550px) {
  .header {
    width: 100%;
    height: 5rem;
    border: 0.2rem solid #fff;
    border-radius: 5rem;
    background: linear-gradient(180deg, #4682b4, rgb(221, 233, 246));
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .burger__btn {
    display: block;
    font-size: 2.6rem;
    color: #fff;
  }
  .nav {
    height: 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .header__links {
    position: absolute;
    top: 5rem;
    display: flex;
    flex-direction: column;
    background: linear-gradient(45deg, rgb(225, 225, 225), rgb(212, 235, 245));
    border-radius: 1rem;
  }
  .header__links_hidden {
    display: none;
  }
  .header__text {
    width: 90vw;
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid gray;
  }
  .header__link_navBtn {
    display: inline-block;
    width: 100%;
  }
  .header__link_navBtn:hover {
    text-shadow: 0.1rem 0.1rem 0.2rem #4682b4;
  }
  .main {
    flex-direction: column;
  }
  .desc__header {
    position: absolute;
    top: 5.5rem;
    left: 0;
    border-radius: 4rem 1rem 6rem 1rem;
    border: 0.1rem solid #fff;
    background: linear-gradient(45deg, rgb(171, 171, 171), #fff);
  }
  .desc__header-title {
    padding: 1rem 2rem 0 3rem;
    font-size: 3rem;
  }
  .desc__header-text {
    margin-left: 12rem;
  }
  .info {
    border-radius: 5rem 1rem 15rem 1rem;
  }
  .info__foto {
    width: 24rem;
    margin-top: 8rem;
    border-radius: 5rem 1rem 14.5rem 1rem;
  }
  .info__block {
    margin-top: 2rem;
  }
  .info__title {
    font-size: 2rem;
  }
  .desc__title {
    padding: 1rem;
    padding-left: 3rem;
    margin-top: 5.5rem;
    font-size: 2.2rem;
  }
  .non_content-info {
    padding-top: 5rem;
  }
  .non_content-desc {
    margin-top: -5rem;
  }
  .desc__block {
    padding: 1.5rem;
  }
  .p__uppercase {
    font-size: 1.8rem;
  }
  .desc__text-strong {
    margin: 1.5rem;
  }
  .desc__text {
    font-size: 1.6rem;
  }
  .desc__text-code {
    font-size: 1.2rem;
  }
  .footer {
    height: 5rem;
  }
  .footer__logo {
    width: 8rem;
  }
  .footer__icon {
    font-size: 3.5rem;
  }
  .desc__header::after {
    display: none;
  }
}
