* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* outline: 1px solid red; */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
}

.second-section {
    text-align: center;
    padding: 0 50px;
    width: min(90%, 1200px);
    margin: 0 auto;

    h2 {
        margin: 20px 0;
        font-weight: 600;
    }

    div {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 2rem auto;

        a {
            display: inline-block;
        }
    }

    iframe {
        width: 100%;
        height: 60vh;
        border-radius: 20px;
        margin-top: 20px;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
    }

    a {
        text-decoration: none;
        color: rgba(0, 0, 0, 0.5);
        transition: all 0.3s ease;
    }

    a:hover {
        color: #000;
        text-decoration: underline;
    }

    .social {
        flex-direction: row;
        margin: 0;

        img {
            width: 3.5rem;
            height: 3.5rem;
            transition: all 0.3s ease;
            margin: 0 0.2rem;
        }

        img:hover {
            transform: scale(1.1);
        }
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
        color: #fff;
    }

    .second-section {
        color: #fff;

        h2 {
            text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
        }

        a {
            color: rgba(255, 255, 255, 0.5);

            &:hover {
                color: #fff;
            }
        }

        .social img {
            filter: invert(1);
        }
    }
}