* {
  box-sizing: border-box;
}

@font-face {
  font-family: Montserrat, sans-serif;
  src: url("assets/fonts/Montserrat-VariableFont_wght.ttf");
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Montserrat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: rgb(161, 11, 48);
  transition: color 0.5s ease;
}

a:hover {
  color: #4d2323;
  border-bottom: 2px solid #4d2323;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.container-image {
  width: 200px;
  height: 200px;
}

img {
  object-fit: contain;
  justify-content: start;
}

.my-name {
  vertical-align: middle;
}

.nav-list {
  display: flex;
  padding-left: 0;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
}

.nav-link {
  padding: 0 20px;
  line-height: 50px;
}

.main-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px;
}

.section {
  display: flex;
  width: 50%;
}

.wrapper-section {
  display: flex;
  flex-direction: column;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#code {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .section {
    width: 100%;
  }
}

.section-title {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgb(161, 11, 48);
}

.section-subtitle {
  padding-top: 20px;
}

.task-description {
  width: 60%;
}

pre {
  display: flex;
  margin-left: 0;
  padding-right: 40px;
  padding-left: 0;
  color: rgb(19, 8, 119);
}

code {
  width: 50%;
  text-align: left;
}

.footer-container {
  padding: 20px;
  background-color: #05078b;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
