*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #fff;
}

body{
    background: url('https://img.freepik.com/premium-photo/abstract-background-design-hd-sky-blue_851755-14421.jpg?semt=ais_hybrid&w=740&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
    /*display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas: 
        "header header header header"
        "hero hero hero hero"
        "about about about about"
        "projects projects projects projects"
        "skills skills skills skills"
        "contact contact contact contact"
        "footer footer footer footer";*/
}

div .bg {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6{
    color: rgb(56, 251, 219);
    font-family: 'Michroma', sans-serif;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: rgba(12, 30, 62, 0.7);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    z-index: 1000;
}

header ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 20px;
}

header ul li a{
    display: inline-block;
    text-decoration: none;
    color: #38FBDB;
    background: #0C1E3E;
    padding: 10px 15px;
    border: 2px solid #38FBDB;
    border-radius: 15px;
    font-family: 'Michroma', sans-serif;
    font-size: 1.3vw;
    cursor: pointer;
    transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

header ul li a:hover{
    background: #0C1E3E;
    color: #FC0FF5;
    border-color: #FC0FF5;
    transform: scale(1.1);
}

#hero, #about, #projects, #skills, #contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
    padding: 30px;
    border: 2px solid transparent;
    border-radius: 15px;
    background: rgba(12, 30, 62, 0.7);
}

#about, #projects, #skills, #contact{
    h3{
        font-size: 2.5vw;
        margin-bottom: 20px;
    }
}

#hero{
    margin-top: 20vh;
    flex-direction: row;
}

#hero img{
    display: inline;
    width: 35vh;
    height: 35vh;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#hero img:hover{
    transform: scale(1.1);
}

#hero .hero-text{
    margin-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
}

#hero h2{
    font-size: 3vw;
    margin-bottom: 20px;
}

#hero p, #about p, #projects p, #skills p, #contact p{
    font-family: 'Roboto', sans-serif;
    font-size: 1.7vw;
    line-height: 1.8;
}

#about a, #projects a, #skills a, #contact a{
    color: #0C1E3E;
    text-decoration: none;
    background-color: #fff;
    padding: 3px 5px;
    border-bottom: 2px solid transparent;
    border-radius: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#about a:hover, #projects a:hover, #skills a:hover, #contact a:hover{
    background-color: #FC0FF5;
    box-shadow: 0 4px 15px rgba(252, 15, 245, 0.5);
}

#projects .projects{
    display: flex;
    flex-direction: row;
    padding: 20px 0;
    gap: 20px;
    justify-content: center;
}

#projects .projects img{
    width: 30vh;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#projects .projects img:hover{
    transform: scale(1.1);
}

#skills ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin: 30px 0;
}

#skills ul li{
    background: #0C1E3E;
    padding: 10px 20px;
    color: #38FBDB;
    border: 2px solid #38FBDB;
    border-radius: 15px;
    font-family: 'Michroma', sans-serif;
    font-size: 1.5vw;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

#skills ul li:hover{
    background-color: #38FBDB;
    color: #0C1E3E;
    border-color: #0C1E3E;
    transform: scale(1.1);
}

footer{
    text-align: center;
    padding: 40px 0;
    background-color: rgba(12, 30, 62, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'Michroma', sans-serif;
}

footer p{
    font-size: 1.5vw;
    line-height: 1.8;
}

.s, .c{
    color: #38FBDB;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.s:hover, .c:hover{
    color: #FC0FF5;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(252, 15, 245, 0.5);
}