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

:root {
    --primary-color: #00b8a9;
    --secondary-color: #0f4c81;
    --accent-color: #7be495;
    --bg-color: #0a2e38;
    --text-color: #ffffff;
}

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    padding: 2rem;
    background-color: rgba(15, 76, 129, 0.7);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 184, 169, 0.4);
    background-color: rgba(15, 76, 129, 0.9);
}

.title {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.shapes {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
}

.shape {
    width: 100px;
    height: 100px;
    transition: all 0.3s ease;
}

.shape:hover {
    transform: scale(1.1) rotate(10deg);
}

.circle {
    background-color: var(--primary-color);
    border-radius: 50%;
}

.square {
    background-color: var(--accent-color);
}

.triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 100px solid var(--text-color);
}

.btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.popup-content {
    background-color: var(--secondary-color);
    margin-top: 3em;
    margin-right: auto;
    margin-left: auto;
    padding: 20px;
    border: 1px solid var(--accent-color);
    width: 80%;
    max-width: 400px;
    text-align: center;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(123, 228, 149, 0.3);
}

.emailAdress {
    font-size: 20px;
}

.close {
    color: var(--text-color);
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin: 0;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close::after {
    content: "\00d7";
    display: block;
    transform: translateY(-2px);
}

.close:hover,
.close:focus {
    color: var(--accent-color);
    text-decoration: none;
}

.email-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.email-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

#confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

#credits-btn {
    margin-left: 10px;
}

.popup-content h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.popup-content p {
    margin-bottom: 10px;
}

.popup-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.popup-content a:hover {
    text-decoration: underline;
}