@font-face {
    font-family: "Roboto";
    src: url('./fonts/Roboto/Roboto-Regular.ttf');
    font-weight: regular;
}
@font-face {
    font-family: "Roboto";
    src: url('./fonts/Roboto/Roboto-Bold.ttf');
    font-weight: bold;
}
* {
    box-sizing: border-box;
}
html {
    font-family: "Roboto";
}
body {
    margin: 0;
    padding-top: 30px;
}
h1,
p {
    margin: 0;
}
h2 {
    margin: 0;
    font-size: 52px;
    margin-bottom: 10px;
}
ul {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-position: inside;
}
a {
    text-decoration: none;
    color: black;
}
a:hover {
    color: rgb(240, 174, 18);
}
pre {
    margin: 0;
    background-color: rgb(225 223 223);
    border-radius: 10px;
    padding-left: 45px;
    overflow: scroll;
    border-radius: 10px;
    border: 2px solid rgb(240, 174, 18);
}
span {
    font-weight: bold;
}
.section {
    max-width: 1140px;
    font-size: 25px;
    margin-bottom: 30px;
}

/* header */
header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
    max-width: 1140px;
    margin: 0 auto;
    margin-bottom: 40px;
}
.header-img-h1-box {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.header-img-box {
    position: relative;
    overflow: hidden;
    border-radius: 700px;
    width: 240px;
    height: 240px;
    margin-right: 30px;
    border: 4px solid rgb(240, 174, 18);
}
.main-header {
    font-size: 80px;
}
nav {
    display: flex;
    font-size: 25px;
    font-weight:500;
    margin-bottom: 30px;
}
.header-list {
    display: flex;
    flex-direction: row;
    list-style-type: none;
}
.header-li {
    margin-right: 42px;
}
li:last-child {
    margin: 0;
}

/* main */
main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
}

/* contacts */
.contacts__list {
    margin-bottom: 10px;
    list-style-type: none;
}
.social-logo {
    width: 20px;
}

/* about myself */
.about-myself__info {
    height: auto;
    width: 300px;
}

/* foooter */
footer {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
}
.rss-logo {
    display: flex;
    align-items: center;
}
.footer-header {
    display: flex;
    align-items: center;
    margin: 0;
}