:root {
    --border-color: hsla(47, 100%, 56%, 0.767);
    --main-color: hsla(244, 70%, 29%, 0.726);;
    --second-color: #81818B;
    --first-color: hsla(180, 86%, 34%, 0.301);
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

h1 {
    margin-bottom: 30px;
    text-align: center;
}

h3 {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', serif;
    color: var(--main-color);
    font-size: 1rem;
    line-height: 23px;
}

p {
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
}

ul {
    margin: 0;
}

.container {
    width: 1000px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: var(--border-color);
    overflow: hidden;
}

.content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 2rem;
    border-radius: 20px;
    background-color: var(--first-color);
}

.aside {
    width: 30%;
    padding: 10px;
    margin: 10px;}

.main {
    width: 65%;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2rem;
    border-radius: 3px;
    background-color: var(--second-color);
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 30px;
    
}

.photo-section {
    border: 3px solid var(--border-color);
    border-radius: 2rem;
    overflow: hidden;
}

.photo-item {
    display: block;
    max-width: 100%;
    height: auto;

}

.education-item {
    margin-bottom: 10px;
}

.skill-item {
    margin-bottom: 10px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-wrapper {
    width: 70%;
    height: 5px;
    border-radius: 5px;
    background-color: var(--second-color);
}

.progress {
    height: 100%;
    border-radius: 5px;
    background-color: var(--main-color);
}

.skill-section:nth-child(3) .skill-item:nth-child(1) .progress {
    width: 80%;
}

.skill-section:nth-child(3) .skill-item:nth-child(2) .progress {
    width: 70%;
}

.skill-section:nth-child(3) .skill-item:nth-child(3) .progress {
    width: 70%;
}

.skill-section:nth-child(3) .skill-item:nth-child(4) .progress {
    width: 30%;
}

.skill-section:nth-child(3) .skill-item:nth-child(5) .progress {
    width: 30%;
}

.flex-wrapper {
    display: flex;
    justify-content: center;
    gap: 10%;
    flex-wrap: wrap;
}

pre {
    display: flex;
    justify-content: right;
    align-items: center;
}

.flex-section {
    width: 45%;
}

.project-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
    
    
    
}

.project-item: :hover{
    cursor: pointer;
    
}

.projects_image {
    
    width: 200px;
    height: 150px;
    border: 4px double #bd6c46; /* Рамка */
    overflow: hidden;
    -webkit-transition: all 0.5s ease;
            transition: all 0.5s ease;
  } 
  .projects_image:hover {
    border-radius: 50%;
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
.hobbies {
    width: 70%;
}

.hobbies-item {
    text-transform: uppercase;
}

.skill-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contacts-list {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 15px;
    padding: 10px;
    background-color: var(--second-color);    
}

.footer-link {
    width: 25%;
}

.footer-logo {
    max-width: 100%;
    height: 70px;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 10px;
    row-gap: 20px;
    margin-bottom: 50px;
    padding: 0;
    list-style: none;
}

.menu-link {
    text-decoration: none;
    color:#fff;
}


.menu-item {
    padding: 0.5rem 1rem;
    border-radius: 15px;
    background-color: var(--main-color);
    text-transform: uppercase;
    transition: background-color 1s ease-in-out;
}

.menu-item:hover {
    background-color: var(--second-color);
}

.menu-item:hover a {
    color: var(--main-color);
}