@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: 'Inter', sans-serif; */
    font-family: 'Lato', sans-serif;
    font-weight: 100;
    font-style: normal;
}

body {
    background-image: linear-gradient(to bottom, rgb(242, 75, 156), rgb(126, 219, 247));
    /* color: #f2f2f2; */
    line-height: 1.6;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #0f0f14;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 22px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #f2f2f2;
    font-weight: 400;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #7dd3fc;
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
    /* filter: blur(3px); */
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    /* filter: blur(3px); */
}

.subtitle {
    max-width: 700px;
    margin: 20px 0;
    font-size: 1.2rem;
    color: #cbd5e1;
    /* filter: blur(3px); */
}

.btn {
    margin-top: 20px;
    padding: 12px 28px;
    background: rgb(242, 75, 156);
    color: #0f0f14;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
    /* filter: blur(3px); */
}

.btn:hover {
    background: rgb(246, 110, 175);
}

/* Sections */
.section {
    padding: 30px 10%;
    /* filter: blur(3px); */
}

.section h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    /* filter: blur(3px); */
}

.section.light {
    background: #39393e1b;
    /* filter: blur(3px); */
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.skill-card {
    background: #5a8ee3;
    padding: 15px;
    text-align: center;
    border-radius: 12px;
    font-weight: 500;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    filter: blur(10px);
}

.project-card {
    background: #39393e1b;
    padding: 25px;
    border-radius: 16px;
    transition: 0.3s;
}

.project-card:hover {
    transform: translateY(-6px);
}

/* Contact */
.contact-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.contact-btn {
    padding: 10px 22px;
    border: 1px solid #7dd3fc;
    border-radius: 25px;
    text-decoration: none;
    color: #cbeaf7;
    transition: 0.3s;
}

.contact-btn:hover {
    background: #7dd3fc;
    color: #0f0f14;
}



/* Footer */
footer {
    text-align: center;
    padding: 25px;
    font-size: 0.9rem;
    color: #0f0f14;
    font-weight: bold;
}

/* Style buttons */
.btn {
    background-color: DodgerBlue;
    /* Blue background */
    border: none;
    /* Remove borders */
    color: white;
    /* White text */
    padding: 12px 16px;
    /* Some padding */
    font-size: 16px;
    /* Set a font size */
    cursor: pointer;
    /* Mouse pointer on hover */
}

/* Darker background on mouse-over */
.btn:hover {
    background-color: RoyalBlue;
}

/* The sidepanel menu */
.sidepanel {
    height: 300px;
    /* Specify a height */
    width: 0;
    /* 0 width - change this with JavaScript */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Stay on top */
    top: 0;
    right: 0;
    background-color: #111;
    /* Black*/
    overflow-x: hidden;
    /* Disable horizontal scroll */
    padding-top: 60px;
    /* Place content 60px from the top */
    transition: 0.5s;
    /* 0.5 second transition effect to slide in the sidepanel */
    opacity: 0.5;
    border-radius: 30px;
}

/* The sidepanel links */
.sidepanel a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidepanel a:hover {
    color: #f357d4;
}

/* Position and style the close button (top right corner) */
.sidepanel .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-right: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
    font-size: 20px;
    cursor: pointer;
    background-color: #111;
    color: white;
    padding: 10px 15px;
    border: none;
}

.openbtn:hover {
    color: #f357d4;
    background-color: #444;
}

.openbtn {
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 1;
}