:root {
    --accent: #174180;
    --accent-light: #3764a7;
    --pure-white: #fff;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: var(--accent-light);
    scroll-behavior: smooth;
}

/*--------------------global-----------------------*/
.section-title {
    text-transform: uppercase;
    text-align: center;
}

.section {
    padding: 60px 0;
}

.container {
    width: 1140px;
    padding: 5px 15px;
    margin: 0 auto;

}

/*------------------------header--------------------------------*/

header a {
    color: #fff;
    text-decoration: none;
}

.header {
    padding: 0 15px;
    background: var(--accent);
    color: #fff;
}

.header-navbar {
    min-height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

/*--------------logo-------------*/
a {
    margin: 0;
    padding: 0;
    text-decoration: none;
    color: var(--accent-light);
}
/*---------------------animotion end----------------------------*/

.header-logo {
    width: 20%;
    font-size: 30px;
    font-weight: 800;
    color: var(--pure-white);
}

.header-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;

}

.header-menu-link {
    text-transform: uppercase;
    padding: 15px;
    font-size: 16px;
    line-height: 20px;
    transition: 0.5s;
}

.header-menu-link:hover {
    background-color: var(--accent-light);
}

/*--------------------main---------------------*/
.intro {
    padding: 50px 0;
}

.intro-left {
    width: 27%;
    border-radius: 50%;
    text-align: center;

}

.intro-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
}

.intro-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.intro-rigth {
    padding-left: 20px;
    width: 60%;
}

.intro-rigth h1,
h3 {
    margin: 0 0 15px;
}

.intro-rigth p {
    letter-spacing: 0.5px;

}


/*--------------------contacts---------------------------*/
.contacts {
    margin-bottom: 60px;
}

.contacts ul {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

/*-----------------------skills------------------*/
.skills {
    background-color: var(--accent);

}

.skills ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none
}

.skills li {
    padding: 10px 30px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    background-color: var(--accent-light);
}

.skills h2 {
    padding-bottom: 20px;
    color: #fff;
}

/*-------------------code---------------------*/
.code {
    text-align: center;

}

.code h2 {
    padding-top: 60px;
    padding-bottom: 0;
}

.code p {
    padding: 15px 0 20px;
}

.code pre {
    font-style: italic;
}

.code b {
    font-style: normal;
}

.code pre {
    width: 70%;
    margin: 0 auto;
    text-align: left;
    background-color: var(--accent);
    color: antiquewhite;
    border-radius: 4px;
}

/*---------------------portfolio------------------------------*/
.wrapper div {
    padding: 10px 15px;
}
.wrapper {
    display: flex;
    margin: 0 auto;
    justify-content: center;
    gap: 20px;
}
.wrapper-img img {
    width: 430px;
    height: 300px;
    border-radius: 5%;
    object-fit: cover;
}
.wrapper p {
    margin:  10px 20px;
    font-weight: 700;
}
.portfolio-img:hover {
    box-shadow: 0 0 20px 0px var(--accent-light);
}
/*--------------------languages---------------------------------------*/
.languages {
    background-color: var(--accent);
    color: #fff;
    margin-top: 50px;
}

.languages ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    padding: 0;
    margin: 0;
    list-style: none
}

.languages li {
    padding: 10px 30px;
    text-align: center;
    border-radius: 4px;
    color: #fff;
    background-color: var(--accent-light);
    padding-bottom: 10px;
    margin-bottom: 30px;
}
/*----------------------education-------------------------*/




/*--------------------------footer----------------------------*/
.footer {
    background-color: black;
    margin-top:50px;
    padding: 20px;
}

.footer p {
    padding-top: 20px;
    text-align: center;
}

.footer a {
    list-style: none;
    color: #fff;
    padding-left: 5px;
    text-decoration: none;
}
.icons {
    text-align: center;
}
.fa {
    margin: 10px;
}
.icons a {
    color: var(--accent-light);
}
