* {box-sizing: border-box;}
html{
    scroll-behavior: smooth;
  }
body{
    margin: 0 auto;
    color:#000053;
    font-family: OpenSans;
    background-color: #fffff1;
}
h1{
    font-size: 30px;
    letter-spacing: 5px;
}
h2, p{
    margin: 0;
    padding: 0;
}
h2{
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}
a{
    text-decoration: none;
}
header, footer{
    background: #000053;
    padding: 15px 0;
}
.container{padding:0 15px}
ul{
    padding: 0;
    margin: 0;
}
ul li{list-style-type: none}
#menu_toggle {display: none;}
.menu_box{
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 700;
}
.menu_box a{color: #ff0;}
.menu_box a:hover, .footer a:hover{
    color: #fffff9;
    transition: .3s;
}
.section_main{
    display: flex;
    width: 100%;
}
.section_main div{
    padding: 20px 0px;
    width: 50%;
}
.section_profile{
    justify-content: space-around;
    text-transform: uppercase;
    text-align: center;
    align-items: center;
    border-bottom: 10px solid;
}
.main_avatar{object-fit: cover;
    width: 250px;
    height: 250px;
    border-radius: 50px;
}
.section_profile p{
    font-size: 24px;
    letter-spacing: 3px;
}
.section_about{border-bottom: 4px solid;}
.section_about:last-child{border-bottom: 0;}
.section_about p, .section_about li{
    line-height: 30px;
    font-size: 20px;
}
.section_about li a{color:#000053}
.section_about li a:hover{
    color:#0000b3;
    transition: .3s;
}
#code pre{margin: 0;}
#code code{
    font-size: 20px;
    font-family: OpenSans;
    line-height: 30px;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ff0;
    font-size: 20px;
    font-weight: bold;
}
.footer a{
    font-size: 20px;
    color: #ff0;
}
.footer_github{
    margin-left: 40px;
}
.footer_rs_school img{
    width: 100px;
}

@media screen and (max-width: 768px) {

  h1 {
    font-size: 24px;
    letter-spacing: 4px;
    margin-top: 0;
}
  header{padding: 26px 0 27px;}
  #menu_toggle {
    position: absolute;
    opacity: 0;
  }
  #menu_toggle:checked ~ .menu_btn > span {
    transform: rotate(45deg);
  }
  #menu_toggle:checked ~ .menu_btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu_toggle:checked ~ .menu_btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu_toggle:checked ~ .menu_box {
    visibility: visible;
    left: 0;
  }
  .menu_btn {background-color: #000053;
    display: flex;
    align-items: center;
    position: absolute;
    top: 13px;
    right: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }
  .menu_btn > span, .menu_btn > span::before, .menu_btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #fffff9;
    transition-duration: .25s;
  }
  .menu_btn > span::before {
    content: '';
    top: -8px;
  }
  .menu_btn > span::after {
    content: '';
    top: 8px;
  }
  .menu_box {
    display: block;
    position: absolute;
    visibility: hidden;
    top: 0px;
    left: -100%;
    width: 100%;
    height: auto;
    background-color: #000053;
    transition-duration: .25s;
  }
  .menu_box li a {
    display: block;
    padding: 12px 24px; 
    color: #ff0;
    transition-duration: .25s;
  }
  .menu_box li a:hover {
    color: #fffff9;
  }
  .section_main {flex-direction: column;}
  .section_main div {width: 100%;}
  .section_main div h2{text-align: center;}
  .section_about div{border-bottom: 4px solid;}
  .section_about div:last-child {border-bottom: 0;}
  .footer_github{margin-left: 10px;}
}
