@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@300;400;600&display=swap");

body {
    display: flex;
    flex-direction: column;
    font-family: "Inter", "Montserrat", sans-serif;
    line-height: 1.3;
    font-size: 20px;
    min-height: 100vh;
    width: 100vw;
    background-color: rgb(28, 28, 31);
    color: rgb(236, 236, 231);
    overflow: hidden auto;
    -webkit-font-smoothing: antialiased;
}

.layout-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    padding: 50px;
}

.dao-start__head {
    max-width: 810px;
    margin: 0 auto;
}

.dao-start__title {
    font-size: 50px;
    font-family: "Montserrat";
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.1;
}

.dao-start__subtitle {
    text-align: center;
    text-align: center;
    color: rgba(236, 236, 231, 0.6);
}

.dao-start__cards {
    margin-top: 50px;
    display: grid;
    max-width: 1200px;
    grid-gap: 30px;
    grid-template-columns: repeat(4, 1fr);
}

.dao-start-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgb(46, 46, 51);
    border-radius: 14.5px;
    padding: 48px;
    text-align: center;
    transition: all 0.2s ease-in-out 0s;
}

.dao-start-card--green:hover {
    background-color: rgb(179, 242, 211);
    color: rgb(28, 28, 31);
}

.dao-start-card--blue:hover {
    background-color: rgb(37, 103, 231);
    color: rgb(236, 236, 231);
}

.dao-start-card__img-container {
    width: 78.5%;
    margin: 0 auto;
}

.dao-start-card__img-wrap {
    position: relative;
    height: 0;
    padding-top: 68.75%;
}

.dao-start-card__img {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    object-fit: contain;
    color: transparent;
}

img,
video {
    height: auto;
    max-width: 100%;
}

.dao-start-card__header {
    font-size: 28px;
    font-family: "Montserrat";
    font-weight: 600;
}

.dao-start-card__description {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.3;
}

.header {
    height: 72px;
    width: 100%;
    border-bottom: 1px solid rgb(31, 31, 33);
    background-color: rgb(20, 20, 22);
}

.header__content {
    display: flex;
    max-width: 1200px;
    margin: 0px auto;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
}

.header__project-logo {
    width: 36px;
    height: 32px;
}

.header__project-name {
    font-size: 28px;
    font-family: "Montserrat";
}

.header__content-project {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer {
    margin-top: auto;
    width: 100%;
    background-color: rgb(20, 20, 22);
}

.footer__cite {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
}

.footer__project-logo {
    width: 69px;
    height: 60px;
}

.footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 4px;
}

.footer__social-item {
    font-weight: 300;
    color: rgba(236, 236, 231, 0.6);
    transition: all 0.2s linear 0s;
}

.footer__social-item:hover {
    color: rgb(236, 236, 231);
}

.footer__layout {
    display: grid;
    grid-template-columns: 70px 1fr 70px;
}

@media (max-width: 1200px) {
    .dao-start__cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* Entfernen der individuellen Positionierung, um einen natürlichen Grid-Flow zu ermöglichen */
    .dao-start-card:nth-child(1),
    .dao-start-card:nth-child(2),
    .dao-start-card:nth-child(3),
    .dao-start-card:nth-child(4) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .footer__layout {
        display: flex;
        flex-direction: column;
    }

    .layout-wrapper {
        padding: 25px;
    }

    .dao-start__cards {
        grid-template-columns: 1fr;
    }

    .dao-start-card:nth-child(1),
    .dao-start-card:nth-child(2),
    .dao-start-card:nth-child(3),
    .dao-start-card:nth-child(4) {
        grid-column: 1 / 2;
    }

    .footer__social {
        flex-direction: column;
        align-items: center;
    }

    .footer__social-item:first-child {
        padding-left: 0;
    }

    .footer__social-item:last-child {
        padding-right: 0;
    }

    .footer__logo {
        display: flex;
        margin-left: 25px;
    }
}