
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-family: "Merriweather", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
    line-height: 1.5;
  background-color: #fff;
  color: #000;
  min-height: 100vh;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


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


.container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 15px;
}

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

.list {
  list-style: none;
}

.link {
  padding: 0 20px;
  line-height: 50px;
  text-decoration: none;
  color: red;
  display: inline-block;
  transition: 0.5s;
}

.link:hover {
 transform: scale(1.1);
 color: blue;
}

pre {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
}

code {
  font-family: monospace;
  color: #d63384;
}

.profile {
display: flex;
  align-items: center; 
  gap: 20px; 
}

.photo {
 width: 170px;
  height: auto;
}

.main-container {
  display: flex;
  flex-wrap: wrap;
}

.section {
  width: 50%;
}

.icon{
  margin-right: 8px; 
  vertical-align: middle; 
}

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

.section-item a {
  color: blue;
  text-decoration: none;
  transition: color 0.2s;
}
.section-item a:hover {
  color: #4d2323;
}

html {
  scroll-behavior: smooth;
}


header {
    border: 1px solid red;
}


main {
    border: 1px solid blue;
    display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 30px;
}


footer {
    border: 1px solid green;
    width: 100%;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}