body {
    overflow-x: hidden;
    margin: 0;
    font-family: Courier, monospace;
    color: #1a1a1a;
    background: linear-gradient(20deg, #7fd8ff 40%, #eef7ff 60%);
    min-height: 100vh;
}

.header {
    background: linear-gradient(15deg, rgba(0, 212, 225, 1), rgb(17, 18, 18));
}


.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}



.nav h3 {
    color: white;
    font-size: 23px;
    font-weight: bold;
    margin-left: 20px;
    margin-right: auto;

}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-right: 20px;
}

.nav a:hover {
    color: lightblue;
}


.intro {
    max-width: 1400px;
    margin: auto;
    padding:0 20px ;
}

.foto {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgb(190, 229, 255);
}


.card {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid gray;
    border-radius: 6px;
    max-width: 430px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-image: url("images/Cloud 2.png");
    background-position-x: center;
    pointer-events: none;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 40px 20px;

}

.cards:hover {

    transform: scale(1.009);
    box-shadow: 0 0 20px rgba(20, 163, 224, 0.049);
}

.project-card,
.contact-card {
    padding: 20px;
    border: 1px solid rgb(165, 163, 163);
    background: linear-gradient(90deg, rgb(186, 234, 255), lightblue);
    width: 100%;
    width: 330px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
}

.contact-card {
    max-width: 650px;
}

.project-img {
    width: 100%;
}

@keyframes moveClouds {
    from {
        transform: translateX(-0);
    }

    to {
        transform: translateX(-700%);
    }
}

.cloud {
    position: absolute;
    top: 0;
    right: -900px;
    width: 100%;
    height: 100%;
    background-image: url(Cloud.png);
    background-repeat: repeat-x;
    animation: moveClouds 8s linear infinite;
    opacity: 0.8;
}


.button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #205b92;
    color: white;
    border-radius: 8px;

}

.button:hover {
    background-color: #00509d;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(25, 172, 235, 0.15);
}

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

form {
    display: flex;
    flex-direction: column;
    gap: 8px;

}

input,
textarea {
    width: 100%;
    box-sizing: border-box;
}

.skills {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.skills img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skill:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(25, 172, 235, 0.15);
}

.footer {
    color: white;
    text-align: center;
    padding: 20px 0;

}

.footer p {
    margin: auto;
}

@media (max-width: 600px) {
    .nav {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 10px;
    }

    .nav h3 {
        margin-left: 0;
    }

    .nav a {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .cards {
        margin: 20px 10px;
    }
}