@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --background: #0e1129;
    --primary: #99a4e1;
    --secondary: #1c2e91;
    --accent: #2846e8;
}

* {
    font-family: "Poppins";
    font-size: 15px;
    margin: 0;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    background-color: var(--background);
    overflow: hidden;
}

a {
    color: #3957ee;
    text-decoration: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 12px 24px;
    background: var(--primary);
    border: 2px solid var(--secondary);
    border-radius: 6px;
    box-shadow: 6px 6px 0 var(--accent), 12px 12px 0 var(--secondary);
    font-weight: 600;
    width: max-content;
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.nav-item {
    color: var(--background);
    text-decoration: none;
    padding: 6px 12px;
    transition: transform 0.15s ease, color 0.15s ease;
}

.nav-item:hover {
    color: var(--accent);
    transform: translate(-2px, -2px);
}

.wrapper {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 40px;
    padding: 40px;
    box-sizing: border-box;
    margin-top: 30px;
}

.card {
    width: 500px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    padding: 32px;
    box-sizing: border-box;
    background: var(--primary);
    color: var(--background);
    border: 2px solid var(--secondary);
    border-radius: 6px;
    box-shadow: 6px 6px 0 var(--accent), 12px 12px 0 var(--secondary);
    transition: transform 0.15s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:hover {
    transform: translate(-2px, -2px);
}

.card h2 {
    margin-bottom: 15px;
}

.card p {
    line-height: 1.5;
}

.card img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.card ul {
    padding-left: 10px;
}

.card.socials {
    min-height: 1px;
}

.svg-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.svg-icon svg {
    vertical-align: middle;
}

@media (max-width: 1660px) {
    .card p {
        font-size: 14px;
    }

    .card {
        width: 380px;
        min-height: 520px;
        padding: 24px;
    }

    .wrapper {
        gap: 24px;
        padding: 24px;
    }
}

@media (max-width: 1200px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .wrapper {
        margin-top: 15vh;
    }
}