@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&family=Vibur&display=swap");
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html,
body {
  height: 100%;
}

ol,
ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

a {
  background-color: transparent;
  -webkit-tap-highlight-color: transparent;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input[type=submit] {
  box-shadow: none;
  border-radius: 0;
  border: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

input[type=search] {
  -webkit-appearance: textfield;
  box-sizing: content-box;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

.header {
  padding: 3.875rem 0;
}
.header__container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
}
@media (max-width: 55.5625rem) {
  .header__container {
    gap: 2rem;
  }
}

@media (max-width: 55.5625rem) {
  .header {
    padding: 1.875rem 0;
  }
}
.logo__link {
  font-family: "Vibur", sans-serif;
  color: #544837;
  line-height: 3rem;
  font-weight: 500;
  font-size: 3.75rem;
  text-decoration: none;
  text-align: center;
}

.logo__link:hover {
  color: #BF9270;
  text-decoration: underline;
}

.menu__list {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}
.menu__item-link {
  color: #544837;
  font-size: 1.75rem;
  text-decoration: none;
}
.menu__item-link:hover {
  color: #BF9270;
  text-decoration: underline;
}

.about {
  padding: 2.875rem 0;
  background-color: #ffeddb;
}
.about__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}
.about__title {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 4.625rem;
  font-weight: 800;
  line-height: 6.25rem; /* 135.135% */
  margin-bottom: 2rem;
}
.about__text {
  color: #544837;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 31px; /* 129.167% */
}
.about__text p:not(:last-child) {
  margin-bottom: 1.5rem;
}
.about__image {
  max-width: 32rem;
}
.about__image img {
  width: 100%;
}
@media (max-width: 51.25rem) {
  .about__body {
    flex-direction: column;
  }
  .about__text {
    text-align: center;
  }
}
@media (max-width: 26.5rem) {
  .about__title {
    font-size: 2.625rem;
    line-height: 2.25rem;
    text-align: center;
  }
}

.skills {
  margin: 2.875rem 0;
  background-color: #ffeddb;
}
.skills__title {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 4.625rem;
  font-weight: 800;
  line-height: 6.25rem; /* 135.135% */
  margin-bottom: 2rem;
  text-align: center;
}
.skills__slider-wrapper {
  text-align: center;
}
@media (max-width: 53.125rem) {
  .skills__slider {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .skills__slider-slide {
    max-width: 200px;
  }
  .skills__slide-text {
    color: #544837;
    font-size: 3.625rem;
    font-weight: 800;
    line-height: 6.25rem;
    margin-bottom: 2rem;
  }
}
.skills__slide-image img {
  width: 9.375rem;
  height: 6.25rem;
}
.skills__slide-text {
  color: #544837;
  font-size: 3.625rem;
  font-weight: 800;
  line-height: 6.25rem;
  margin-bottom: 2rem;
}
@media (max-width: 53.125rem) {
  .skills__slider {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .skills__slider-slide {
    max-width: 200px;
  }
  .skills__slide-text {
    font-size: 2.625rem;
    line-height: 2.25rem;
    margin-bottom: 1rem;
  }
}

.projects {
  margin: 2.875rem auto;
}
.projects__title {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 4.625rem;
  font-weight: 800;
  line-height: 6.25rem; /* 135.135% */
  margin-bottom: 2rem;
  text-align: center;
}
.projects__card-link {
  text-decoration: none;
}
.projects__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  row-gap: 2rem;
}
.projects__card {
  display: block;
  text-decoration: none;
  padding: 10px;
  border: 2px solid black;
  border-radius: 12px;
}
.projects__card-hover {
  display: none;
}
.projects__card-image:hover .projects__card-hover {
  display: block;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.projects__card-image img {
  width: 100%;
  height: 300px;
}
.projects__card-title {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 1.625rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-align: center;
}
.projects__card-text {
  color: #544837;
  font-size: 1.625rem;
  text-align: justify;
}
@media (max-width: 25rem) {
  .projects__title {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
  }
  .projects__card-text {
    font-size: 1.3rem;
  }
}
@media (max-width: 58.125rem) {
  .projects__cards {
    grid-template-columns: repeat(1, 1fr);
    max-width: 27rem;
    margin: 0 auto;
  }
}

.img-overlay {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

.img-overlay:hover .overlay {
  opacity: 1;
}

.text {
  color: #544837;
  font-size: 4.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.info {
  margin: 2.875rem 0;
}
.info__title {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 4.625rem;
  font-weight: 800;
  line-height: 6.25rem; /* 135.135% */
  margin-bottom: 2rem;
  text-align: center;
}
.info__block-title {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 2.625rem;
  font-weight: 800;
  line-height: 3.25rem; /* 135.135% */
  margin-bottom: 2rem;
}
.info__title-chapter {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 2.25rem; /* 135.135% */
  margin-bottom: 2rem;
}
.info__block-text {
  color: #544837;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 31px;
  margin-bottom: 1.875rem;
}
@media (max-width: 30.875rem) {
  .info__title {
    font-size: 2.3rem;
    line-height: 2.25rem;
    text-align: center;
  }
  .info__block-title {
    font-size: 1.625rem;
    margin-bottom: 1rem;
  }
  .info__title-chapter {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .info__block {
    text-align: center;
  }
}

.footer {
  margin-top: 2.875rem;
  padding: 2.875rem 0;
  background-color: #ffeddb;
}
.footer__contact-title {
  font-family: "Poppins", sans-serif;
  color: #2f281e;
  font-size: 4.625rem;
  font-weight: 800;
  line-height: 6.25rem; /* 135.135% */
  margin-bottom: 2rem;
  text-align: center;
}
.footer__contact-info {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__contact-info a {
  color: #544837;
  font-family: Montserrat;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 31px;
  text-decoration: none;
}
.footer__contact-info a:hover {
  color: #BF9270;
  text-decoration: underline;
}
@media (max-width: 35.9375rem) {
  .footer__contact-title {
    font-size: 2.625rem;
    line-height: 3.25rem; /* 135.135% */
  }
  .footer__contact-info {
    gap: 1rem;
  }
}
@media (max-width: 23.4375rem) {
  .footer__contact-info {
    flex-direction: column;
  }
}

body {
  font-family: "Montserrat", sans-serif;
}

.wrapper {
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page {
  flex: 1 1 auto;
}

[class*=__container] {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 15px;
}