@import url('https://fonts.googleapis.com/css2?family=Barriecito&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "Barriecito", system-ui;


}

body {
    background: #000000;
    color: #e5e7eb;
    line-height: 1.6;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 176, 243, 0.228);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 800;
}

.logo span {
    color: #ff6a9c;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #e5e7eb;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffa8cd;
}

/* HERO */
.hero {
    height: 100vh;
    background: linear-gradient(120deg, #000000, #381d31);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 64px;
}

.hero-content span {
    color: #ff81a7;
}

.hero-content p {
    margin: 20px 0;
    font-size: 20px;
}

.btn {
    padding: 15px 40px;
    background: #9d607457;
    color: #ffffffce;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
}

/* SECTIONS */
.section {
    padding: 120px 15%;
}

.section h2 {
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.about-box {
    background: #f1a1df70;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.about-box:hover {
    transform: translateY(-10px);
}

/* SKILLS */
.skill {
    margin-bottom: 25px;
}

.skill-bar {
    background: #ffffff6e;
    height: 20px;
    border-radius: 20px;
    overflow: hidden;
}

.skill-fill {
    height: 100%;
    border-radius: 20px;
}

.html {
    width: 35%;
    background: #ffaae7;
}

.css {
    width: 35%;
    background: #ff98e7;
}

.js {
    width: 5%;
    background: #f881bd;
}

.design {
    width: 30%;
    background: #fa8b9d;
}

.problem {
    width: 40%;
    background: #fc8484;
}

/* ACHIEVEMENTS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #ff74da8b;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

/* PROJECTS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.project {
    background: linear-gradient(135deg, #ffffff53, #b1006d69);
    padding: 60px 20px;
    text-align: center;
    border-radius: 20px;
    font-weight: 600;
}

/* CONTACT */
.contact form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact input,
.contact textarea {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    border: none;
}

.contact button {
    padding: 15px;
    border-radius: 30px;
    border: none;
    background: #ff839a65;
    color: #e5e7eb;
    font-weight: 700;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
    background: #290d217e;
}

.link {
    text-decoration: none;
    color: white;
}

.emailbox {

    color: rgba(255, 255, 255, 0.639);


}

/* CURRENT PROJECTS GRID - zentriert */
.current-project-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Boxen in der Mitte */
    gap: 20px;
    /* Abstand zwischen Boxen */
}

/* CURRENT PROJECT BOX */
.current-project {
    text-decoration: none;
    color: inherit;
    background: linear-gradient(135deg, #ffb6e27a, #6d003c6b);
    padding: 20px;
    border-radius: 15px;
    width: 220px;
    /* feste, kompakte Breite */
    text-align: center;
    /* Inhalt zentrieren */
    transition: transform 0.3s, box-shadow 0.3s;
}

.current-project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

/* PROJECT TITLE */
.current-project h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* PROJECT DESCRIPTION */
.current-project p {
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* LINK */
.project-link {
    font-size: 0.85rem;
    color: #ff9acb;
    font-weight: bold;
    text-decoration: underline;
}