#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: rgb(22, 22, 22);
}



body {
    display: block; 
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}


nav {
    display: flex;
    align-items: center;
    background-color: #333;
    background: linear-gradient(to top, rgb(35, 74, 180),rgb(21, 7, 212));
    color: white;
    padding: 20px;
    position: relative;
    z-index: 10;
}

li {
    font-size: 24px;
    text-align: left;
}

p {
    margin: 3px;
    font-size: 22px;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}

.menu {
  margin: 25px;
}

.section {
    align-items: center;
    position: relative;
    z-index: 5;
}

.biograph {
    height: 600px;
    background: linear-gradient(to top, rgba(150, 52, 52, 0.137), rgb(35, 74, 180)); 
    background-color: rgba(72, 61, 139, 0.8); 
    padding: 15px;
    text-align: center;
    font-size: 50px;
    position: relative;
    z-index: 5;
}

.skillsnavik {
    height: 600px;
    background: linear-gradient(to top, rgba(64, 140, 226, 0.137), rgba(150, 52, 52, 0.137)); 
    background-color: rgba(72, 61, 139, 0.8); 
    padding: 300px;
    text-align: center;
    font-size: 50px;
    position: relative;
    z-index: 5;
}

.contacts {
    height: 100px;
    background: linear-gradient(to top, rgb(0, 0, 0), rgba(64, 140, 226, 0.137)); 
    background-color: rgba(72, 61, 139, 0.8); 
    padding: 250px;
    text-align: center;
    font-size: 50px;
    position: relative;
    z-index: 5;
}

.no-link-style {
    color:aliceblue;
    text-decoration: none;
}

.hover:hover { 
    padding: 5px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.3s linear;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgb(21, 221, 221);
    border-radius: 15px;
    color: rgba(12, 168, 108, 0.5);
}

.border {
    height: 400px;
    border-radius: 15px;
    width: 200px;
    background-color: rgba(141, 141, 214, 0.3); /* увеличиваем прозрачность */
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease-in-out;
    z-index: 5;
}

.hoverborder:hover {
    transition: all 0.5s linear;
    transform: scale(1.05);
    background-color: rgba(25, 116, 128, 0.8);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.skill-name {
    text-align: center;
}

.hoverpercentone:hover {
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.137), rgba(150, 52, 52, 0.137)), 
    url('https://static.vecteezy.com/system/resources/previews/012/697/295/large_2x/3d-python-programming-language-logo-free-png.png');
    background-size: cover, 100px 100px; 
    background-position: center, center; 
    background-repeat: no-repeat, no-repeat;
    transition: background-position 0.6s linear;
}

.hoverpercenttwo:hover {
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.137), rgba(150, 52, 52, 0.137)), 
    url('https://static.vecteezy.com/system/resources/previews/027/127/463/non_2x/javascript-logo-javascript-icon-transparent-free-png.png');
    background-size: cover, 100px 100px; 
    background-position: center, center; 
    background-repeat: no-repeat, no-repeat;
    transition: background-position 0.6s linear;
}

.hoverpercentthree:hover {
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.137), rgba(150, 52, 52, 0.137)), 
    url('https://static.vecteezy.com/system/resources/previews/048/963/346/non_2x/c-plus-programming-3d-icon-free-png.png');
    background-size: cover, 100px 100px; 
    background-position: center, center; 
    background-repeat: no-repeat, no-repeat;
    transition: background-position 0.6s linear;
}

.hoverpercentfour:hover {
    background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.137), rgba(150, 52, 52, 0.137)), 
    url('https://static.vecteezy.com/system/resources/thumbnails/027/292/634/small_2x/html-file-format-of-3d-illustration-file-format-3d-concept-3d-rendering-png.png');
    background-size: cover, 100px 100px; 
    background-position: center, center; 
    background-repeat: no-repeat, no-repeat;
    transition: background-position 0.6s linear;
}

.skill-percent {
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    padding: 25px;
    font-size: 26px;
    border-radius: 50px;
    height: 310px;
}


.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 30px 20px 20px;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border-radius: 3px;
}

.terms {
    background: rgba(20, 7, 7, 0.05);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.terms p {
    color: #ddd;
    margin: 12px 0;
    padding: 8px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    font-size: 16px;
    text-align: left;
}

.terms p:hover {
    border-color:#6014b156;
    border-radius: 15px;
    border-style: solid; 
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
    border-left: 3px solid #6a11cb;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bbb;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 8px 0;
    font-size: 14px;
}

.footer-bottom a {
    color: #6a11cb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #2575fc;
    text-decoration: underline;
}


.terms i, .footer-bottom i {
    color: #6a11cb;
    width: 20px;
}


.fa-shield-alt, .fa-copyright, .fa-envelope, .fa-handshake, .fa-cloud-arrow-down {
    margin-right: 10px;
}