@font-face {
  font-family: "Sour Gummy";
  font-weight: 500;
  src: url(../fonts/Sour_Gummy/static/SourGummy-Medium.ttf) format("truetype");
}
@font-face {
  font-family: "Sofia Sans";
  font-weight: 400;
  src: url(../fonts/Sofia_Sans/static/SofiaSans-Regular.ttf) format("truetype");
}
@font-face {
  font-family: "Sofia Sans";
  font-weight: 500;
  src: url(../fonts/Sofia_Sans/static/SofiaSans-Medium.ttf) format("truetype");
}
@font-face {
  font-family: "Sofia Sans";
  font-weight: 600;
  src: url(../fonts/Sofia_Sans/static/SofiaSans-SemiBold.ttf) format("truetype");
}
@font-face {
  font-family: "Sofia Sans";
  font-weight: 700;
  src: url(../fonts/Sofia_Sans/static/SofiaSans-Bold.ttf) format("truetype");
}
@font-face {
  font-family: "Sofia Sans";
  font-weight: 800;
  src: url(../fonts/Sofia_Sans/static/SofiaSans-ExtraBold.ttf) format("truetype");
}
@font-face {
  font-family: "Sofia Sans";
  font-weight: 900;
  src: url(../fonts/Sofia_Sans/static/SofiaSans-Black.ttf) format("truetype");
}
@font-face {
  font-family: "Sofia Sans";
  font-style: italic;
  src: url(../fonts/Sofia_Sans/static/SofiaSans-Italic.ttf) format("truetype");
}
* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 20px;
}

body {
  font-family: "Sofia Sans", "Segoe UI", sans-serif;
  color: #333;
  background: #fae3b9;
}

a {
  text-decoration: none;
}
a:focus {
  outline: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.2rem;
}

.header {
  margin-bottom: 3rem;
  text-align: center;
}
.header .photo-block {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 400px;
  height: 400px;
  border: 2px solid #b45309;
  border-radius: 50%;
  background: #b45309;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.header h1 {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #b45309;
}
.header hr {
  margin: 1rem auto;
  border: none;
  border-top: 2px solid #b45309;
}
.header h2 {
  font-size: 1.4rem;
  font-weight: 500;
}

.contacts-wrapper {
  margin-top: 2.2rem;
}
.contacts-wrapper .contacts-row {
  display: flex;
  justify-content: center;
  align-items: center;
}
.contacts-wrapper .contacts-row .contact-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0.5rem 0;
}
.contacts-wrapper .contacts-row .contact-link span {
  margin-right: 0.4rem;
  font-family: "Sour Gummy", sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: #b45309;
}
.contacts-wrapper .contacts-row .contact-link svg {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.3rem 0;
  fill: #b45309;
}
.contacts-wrapper .contacts-row .contact-link:hover, .contacts-wrapper .contacts-row .contact-link:focus {
  transform: scale(1.1);
}
.contacts-wrapper .contacts-row .contact-link:hover span, .contacts-wrapper .contacts-row .contact-link:focus span {
  text-decoration: underline;
  color: rgb(131.4285714286, 60.6031746032, 6.5714285714);
}
.contacts-wrapper .contacts-row .contact-link:hover svg, .contacts-wrapper .contacts-row .contact-link:focus svg {
  fill: rgb(131.4285714286, 60.6031746032, 6.5714285714);
}
.contacts-wrapper .contacts-row .vertical-line {
  display: inline-block;
  width: 3px;
  height: 2rem;
  margin: 0 0.7rem;
  background: #b45309;
}
.contacts-wrapper .contacts-row .tg-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(to top left, #0088cc, #00aaff);
}
.contacts-wrapper .contacts-row .tg-btn svg {
  width: 55%;
  height: 55%;
  fill: white;
}
.contacts-wrapper .contacts-row .tg-btn:hover, .contacts-wrapper .contacts-row .tg-btn:focus {
  background: rgb(131.4285714286, 60.6031746032, 6.5714285714);
  transform: scale(1.2);
}

.flex-wrapper {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.flex-wrapper .flex-item {
  flex: 1 1 400px;
}

.reversed-wrap {
  flex-wrap: wrap-reverse;
  margin-top: 2rem;
}

.content-section {
  margin: 1.8rem 0;
  padding: 1.5rem;
  border-radius: 15px;
  background: linear-gradient(to bottom right, #f9d98c, rgb(246.4710743802, 200.9834710744, 91.5289256198));
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-section:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}
.content-section img {
  max-width: 400px;
  border-radius: 10px;
}
.content-section h3 {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #b45309;
}
.content-section h4 {
  font-weight: 500;
}
.content-section h4,
.content-section p {
  font-size: 1rem;
  line-height: 1.6;
}

.footer {
  text-align: center;
  margin-top: 2.5rem;
}

@media screen and (max-width: 480px) {
  html {
    font-size: 18px;
  }
  .header .photo-block {
    max-width: 350px;
    height: -moz-fit-content;
    height: fit-content;
    border-radius: 0;
  }
  .content-section img {
    max-width: 350px;
  }
}