:root {
    --background: linear-gradient(135deg, #0f52ba, #003366);
    --text-color: white;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    background: var(--background);
}

a {
    text-decoration: none;
    color: white;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 200px;
    height: 80px;
}

nav .left a {
    color: var(--text-color);
    font-size: 40px;
    font-weight: 700;
}

nav .right a {
    color: var(--text-color);
    margin: 0 10px;
    font-size: 28px;
}

.front-page {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 500px;
    margin: 50px 0;
    gap: 100px;
}

.front-page .text {
    flex: 1;
}

.abtme{
    color: white;
    font-size: 25px;
    margin-top: 75px;
}


.front-page .text h2 {
    font-size: 100px;
    color: white;
}

.front-page .text .links {
    font-size: 30px;
    margin-top: 50px;
}

.front-page .text .links a{
    padding: 5px 10px;
    margin-right: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: .3s;
    color: rgba(255, 255, 255, 0.7);
}

.front-page .text .links a:hover {
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.front-page .picture1{
    flex: 1;
}

.front-page .picture1 img {
    border-radius: 50%;
    width: 350px;
}

.Portfolio {
    font-family: "Open Sans", sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 50px;
    position: fixed;  
    top: 200px;  
    right: 0;  
}

.Portfolio h2 {
    font-size: 2em;
    letter-spacing: 5px;
    margin: 10px 0;
    font-weight: 300;
}

.skills-section {
    padding: 0 50px;
    margin-top: 200px;
    margin-bottom: 100px;
}

.interests-section {
    padding: 0 50px;
    margin-top: 300px;
    margin-bottom: 100px;
}

.skills-section h2 {
    text-align: center;
    color: white;
    font-size: 50px;
}

.interests-section h2 {
    text-align: center;
    color: white;
    font-size: 50px;
}

.interests-section .cells {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}

.interests-section .cells .cell{
    display: flex;
    justify-content: center;
    align-items: center;

    width: 230px;
    padding: 10px 20px;
    margin: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 5px;
    transition: transform 0.3s, border-color 0.3s; 
}

.interests-section .cells .cell:hover { 
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.6);
}

.interests-section .cells .cell span{
    color: white;
    margin-left: 15px;
    font-size: 20px;
}

.cell img{
    width: 50px; 
    height: 70px;
    object-fit: contain;
}

.skills-section .text {
    text-align: center;
    margin-bottom: 20px;
    color: white;
    font-size: 20px;
}

.skills-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-top: 50px;
}

.left-languages ,
.right-languages {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.language {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;

    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);

    width: 200px;
    border-radius: 5px;  
    padding: 10px 20px;
    transition: transform 0.3s, border-color 0.3s; 
}

.language:hover {  
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.6);
}

.language span {
    font-size: 20px;
}

.language img {
    width: 60px; 
    height: 60px;
    object-fit: contain;
}

.skills-section .picture2 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.skills-section .picture2 img {
    border-radius: 45%;
    box-shadow: 15px 0px rgb(0, 0, 0);
    width: 350px;
}

.projects-section {
    padding: 0 50px;
    margin-top: 200px;
    margin-bottom: 100px;
}

.projects-section h2 {
    text-align: center;
    color: white;
    font-size: 50px;
    margin-bottom: 50px;
}

.projects-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 30px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.6);
}

.project-icon {
    font-size: 60px;
    color: white;
    margin-bottom: 20px;
}

.project-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
}

.project-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.5;
}
