﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background-color: #f4f4f4; 
}


header {
    background-image: url('photo.jpg');
    background-size: cover;
    background-position: center;
    
   
    padding: 3rem;
}

   
    header h1 {
        font-size: 2.5rem; 
        margin-bottom: 0.5rem; 
    }


main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}



section {
    text-align: center;
    background: white;
    border-radius: 75px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,2);
}
    section h2 {
        text-align: center;
        color: #2c3e50;
        margin-bottom:1rem;
        border-bottom:2px solid #3498db;
        padding-bottom: 0.5rem;
        
    }

   


.about {
    text-align: center; 
}


.avatar {
    width: 200px; 
    height: 200px; 
    border-radius: 100px;
    margin-bottom: 1rem; 
    border: 3px solid #3498db; 
}


.skills ul {
    list-style: none; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 1rem; 
    color: white;
   
}


.skills li {
    background: #DC143C;
    padding: 0.5rem 1rem;
    border-radius: 75px;
    text-align: center;
}


.contacts p {
    margin-bottom: 0.5rem; 
    color: #000000;
}

.interesting ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    color: white;
}

.interesting li{ 
    background: #3498db;
    padding: 0.5rem 1rem;
    border-radius: 75px;
    text-align: center;
}



footer {
    text-align: center;
    padding: 1rem;
    background-color: #000000;
    color: white;
    margin-top: 2rem;
}


