* {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    display: grid;
    grid-template-columns: auto 80% auto;
    grid-template-rows: auto auto;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    background-size: cover;
    background-image: url(../images/backg.jpg);
    background-attachment: fixed;
}

header {
    grid-column: 2/3;
    grid-row: 1/2;
    display: flex;
    justify-content: space-between;
    margin-top: 96px;
    border-top: 10px solid #757575;
}

header img {
    border: 2px solid #757575;;
    border-radius: 10px;
}

main {
    grid-column: 2/3;
    grid-row: 2/3;
}

footer {
    grid-column: 2/3;
    margin-bottom: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
header, main, footer {
    background-color: #fff;
    padding: 30px 20px;
}

ul {
    list-style: none;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #757575;
}

h1,
h2,
h3,
h4 {
    color: #333;
    font-weight: 300;
}

h1 {
    font-size: 48px;
    margin-top: 40px;
}

.caption {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cv-section {
    border-bottom: 1px solid #E0E0E0;
    padding: 20px 0;
}

.left {
    display: flex;
}

.img-profile {
    padding-right: 15px;
    padding-left: 15px;
    float: left;
}

.img-thumbnail {
    width: 300px;
    height: 300px;
}

.social-box i {
    box-sizing: border-box;
    font: normal normal normal 14px/1 FontAwesome;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    width: 32px;
    height: 32px;
    display: block;
    text-align: center;
    line-height: 32px;
    font-size: 16px;
    float: left;
    color: #FAFAFA;
    background-color: #424242;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.social-box i:hover,
a:hover {
    color: #d671fd;
    text-decoration: none;
}

.social-box {
    height: 32px;
    width: 120px;
    padding: 0;
}

.contact-info {
    margin-top: 10px;
}
.contact-info ul {
    padding: 10px 30px 0 0;
}

.content.cv-section {
    display: flex;
}

.content h2 {
    margin: 0;
    font-size: 23px;
    font-weight: 300;
    color: #BDBDBD;
    margin-bottom: 48px;
}

.content-left,
.content-right,
.circle-container,
.circle-header {
    color: #333;
    box-sizing: border-box;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    float: left;
}

.content-left {
    width: 25%;
}

.content-right {
    width: 75%;
}

.cv-item {
    padding: 10px 0;
}

.cv-item + .cv-item {
    border-top: 1px solid #E0E0E0;
    margin-top: 20px;
}

.circle {
    height: 15px;
    width: 15px;
    background-color: #333;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.circle.disable {
    background-color: #E0E0E0;
}

.circle-container {
    width: 40%;
}

.circle-header {
    width: 60%;
    padding-left: 0;
}

.footer-image {
    width: 70px;
}

.footer {
    flex-direction: row;
    justify-content: space-around;
}

.pojects__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.wild {
    height: 277px;
    margin-right: 3px;
    margin-bottom: 15px;
}
.wild__image {
    width: 330px;
}
.wild__info, .calc__info, .video__info {
    width: 330px;
}
.codeS {
    width: 390px;
}
.calc {
    margin-bottom: 15px;
}
.vid {
    margin-bottom: 15px;
}

.burger{
    display: none;
}
.slide-in {
    display: none;
}

@media screen and (min-width: 640px) and (max-width: 1199px) {
    .contact-info {
        display: none;
    }
    .burger {
        display: unset;
        font-size: 32px;
        color: #000000;;
        transition: 0.5s;
        z-index: 1;
        margin-right: 90px;
    }
    .slide-in {
        position: absolute;
        top: 0;
        display: flex;
        height: 754px;
        background-color: #292929;
        justify-content: center;
        align-items: center;
        z-index: 2;
        transition: 0.5s;
        right: 0; 
    }
    .slide-in .nav {
        width: auto;
        display: none;
    }
    .open {
        margin-top: -184px;
        margin-left: -18px;
    }
    
    .slide-in .nav__list {
        margin: 0;
        padding-left: 0;
        height: 327px;
        width: 243px;
        width: 100%;
        margin-left: auto;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .slide-in .nav__list-link {
        font-family: Arial, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 160%;
        color: #cdcdcd;
        font-size: 32px;
        text-decoration: none;
    }
    
    .slide-in .nav__list-link.active {
        color: #fff;
        border-bottom: #f1cdb3 solid 3px;
    }
    
    .slide-in .nav__list-link:hover {
        color: #fafafa;
    }
    .circle-container {
        width: 55%;
    }
}

@media screen and (min-width: 320px) and (max-width: 639px) {
    body {
        grid-template-columns: auto 95% auto;
    }
    .contact-info {
        display: none;
    }
    .left {
        flex-wrap: wrap;
    }
    .img-thumbnail {
        width: 90%;
        height: 90%;
    }
    .content-left, .content-right, .circle-container, .circle-header {
        padding-left: 0;
        padding-right: 0;
    }
    .content.cv-section {
        flex-direction: column;
    }
    .circle-container {
        width: 43%;
    }
    .codeS {
        width: 134%;
    }
    .wild__image {
        width: 134%;
    }
    .wild__info, .calc__info, .video__info {
        width: 140%;
    }




    .burger {
        display: unset;
        font-size: 32px;
        color: #000000;
        transition: 0.5s;
        z-index: 10;
        margin: auto -100%;
    }
    .slide-in {
        position: absolute;
        top: 96px;
        right: 29px;
        display: flex;
        height: 754px;
        background-color: #292929;
        justify-content: center;
        align-items: center;
        z-index: 1;
        transition: 0.5s;
    }
    .open {
        margin-top: -184px;
        margin-left: -18px;
    }
    .slide-in .nav {
        width: auto;
        display: none;
    }
    
    .slide-in .nav__list {
        margin: 0;
        padding-left: 0;
        height: 327px;
        width: 243px;
        width: 100%;
        margin-left: auto;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .slide-in .nav__list-link {
        font-family: Arial, sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 15px;
        line-height: 160%;
        color: #cdcdcd;
        font-size: 32px;
        text-decoration: none;
    }
    
    .slide-in .nav__list-link.active {
        color: #fff;
        border-bottom: #f1cdb3 solid 3px;
    }
    
    .slide-in .nav__list-link:hover {
        color: #fafafa;
    }
}