body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f0f4ff;
    color: #222;
    transition: all 0.3s;
}

body.dark {
    background-color: #1a1a1a;
    color: #eee;
}

body.dark footer {
    transition: all 0.3s;
    background-color: #ccc;
    color: #1a1a1a;
}

header {
    width: 1dvw;
}

header nav {
    justify-content: space-between;
    align-items: center;
    background: #0066cc;
    padding: 0 1rem;
    color: white;
    position: fixed;
    z-index: 1;
    width: 100%;
}

#benvinguda-title {
    margin-top: 150px;
}

nav h1 {
    margin-left: 15px;
    font-size: 30px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0 1rem ;
    margin-left: 0;
}

nav a, nav button {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav button {
    border-radius: 100px;
    height: 50px;
    width: 50px;
    position: relative;
    bottom: 11px;
    left: 100%;
    
}

.bt-apr-return {
    background-color: #0066cc;
    color: #eee;
    padding: 10px;
    text-decoration: none;
    border-radius: 10px;
}

.skill-item {
    background-color: #0066cc;
    color: white;
    text-align: center;
    padding: 10px 0;
    border-radius: 50px;
    margin: 5px;
}

.curs-item {
    background-color: #0066cc;
    width: 350px;
    margin: 5px;
    border-radius: 10px;
    padding: 5px;
}

.curs-item a {
    color: white;
    text-decoration: none;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 2rem;
}

.form-projecte {
    margin: auto;
}

#formulari-projecte {
    max-width: 75%;
    background-color: #0066cc;
    border-radius: 15px;
    margin: auto;
}

form input, form textarea {
    width: 80%;
    margin: 0.5rem 0;
    padding: 0.8rem;
    font-size: 1rem;
    margin-left: 10px;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    resize: vertical;
}

form button {
    
    background: #ffa500;
    border: none;
    padding: 0.7rem 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px #ccc;
    border-radius: 50px;
    font-family: inherit;
    margin-left: 10px;
    margin-bottom: 5px;
}

#missatge-enviat {
    margin-left: 10px;
    margin-bottom: 10px;
}

.skills img {
    height: 20px;
    vertical-align: middle;
    margin-right: 8px;
}

#msg-pendent {
    color: red;
    font-size: medium;
    font-style: italic;
    text-decoration: dotted;
    padding: 5px;
}

footer {
    background-color: #0066cc;
    padding: 12px;
    text-align: center;
    color: #ccc
}

#mail-footer {
    color: inherit;
    text-decoration: none;
}
