/* SkillSwap - style.css */

/* General reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* ---- NAVIGATION ---- */

nav {
    background-color: #e75480;
    padding: 14px 30px;
    text-align: center;
}

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

nav a:hover {
    text-decoration: underline;
}

/* ---- HEADER / HERO ---- */

header {
    background-color: #e75480;
    color: white;
    text-align: center;
    padding: 0;
}

header h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

header p {
    font-size: 20px;
    margin-bottom: 24px;
}

header a {
    background-color: white;
    color: #e75480;
    text-decoration: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
}

header a:hover {
    background-color: #fce4ec;
}

/* ---- SECTIONS ---- */

section {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

section h2 {
    font-size: 26px;
    color: #e75480;
    margin-bottom: 16px;
}

section p {
    font-size: 16px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* ---- HOW IT WORKS STEPS ---- */

.steps {
    width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
}

.step {
    background-color: #fce4ec;
    border: 1px solid #f48fb1;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 18px;
    color: #e75480;
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    color: #444444;
}

/* ---- FORMS (register & login) ---- */

.form-register {
    width: 420px;
    background-color: #e75480;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    border-radius: 4px;
    color: white;
}

.form-register h4 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.controls {
    width: 100%;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 14px;
    border: 1px solid #f48fb1;
    font-size: 16px;
    color: #333333;
}

.form-register p {
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
}

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

.form-register a:hover {
    text-decoration: underline;
}

/* ---- BUTTONS ---- */

.botons {
    width: 100%;
    background-color: white;
    border: none;
    padding: 12px;
    color: #e75480;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    border-radius: 4px;
    font-weight: bold;
}

.botons:hover {
    background-color: #fce4ec;
}

.single-button {
    background-color: #e75480;
    border: none;
    color: white;
    padding: 10px 26px;
    font-size: 15px;
    border-radius: 4px;
    margin-top: 16px;
    margin-right: 8px;
}

.single-button:hover {
    background-color: #c2185b;
}

/* ---- CATALOG TABLE ---- */

.list-skills {
    width: 950px;
    background-color: #fce4ec;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    border-radius: 4px;
    color: #333333;
}

.list-skills h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #e75480;
}

.content-table {
    border-collapse: collapse;
    width: 100%;
    font-size: 14px;
    border-radius: 4px;
}

.content-table thead tr {
    background-color: #e75480;
    color: white;
    text-align: left;
    font-weight: bold;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
}

.content-table tbody tr {
    border-bottom: 1px solid #f48fb1;
    color: #333333;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f8bbd0;
}

/* ---- ERROR & SUCCESS BOXES ---- */

.error-login {
    width: 420px;
    background-color: #c2185b;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    border-radius: 4px;
    color: white;
    text-align: center;
}

.welcome {
    width: 420px;
    background-color: #e75480;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 80px;
    border-radius: 4px;
    color: white;
    text-align: center;
}

.welcome h4 {
    font-size: 22px;
    margin-bottom: 16px;
}

/* ---- FOOTER ---- */

footer {
    background-color: #e75480;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 60px;
    font-size: 14px;
}