html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgb(206, 206, 206);
}
body {
    font-family: "Sora", sans-serif;
    min-height: 100vh;
    background: url("../backgrounds/contact-background.svg") no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20rem;
}

#contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    box-sizing: border-box;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20rem;
}

.contact-item {
    display: grid;
    grid-template-columns: 2rem 1fr;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.6);
    width: 100%;
    gap: 1rem;
    border-radius: 2rem;
    border: solid rgba(255, 255, 255, 0.75) 0.13rem;
    box-shadow: 0 0 1.3rem white;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

.contact-item-link {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr 1.5rem;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
}

.contact-item-link-text {
    grid-column: 1;
    color: rgb(43, 43, 43);
    text-decoration: none;
    font-family: "Sora", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-item-icon {
    grid-column: 1;
    width: 100%;
    height: 2.7rem;
    fill: rgb(64, 81, 230);
    stroke: rgb(64, 81, 230);
    color: rgb(64, 81, 230);
}
.contact-item-link-icon {
    grid-column: 2;
    height: 1rem;
    fill: rgb(64, 81, 230);
    stroke: rgb(64, 81, 230);
    width: 100%;
    justify-self: right;
}

#credits-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    left: 50%;
    bottom: 2%;
    transform: translateX(-50%);
    width: 20rem;
    font-family: "Sora", sans-serif;
    font-weight: 400;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2rem;
    border: solid rgba(255, 255, 255, 0.75) 0.13rem;
    box-shadow: 0 0 1.3rem white;
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    padding: 0.5rem 1rem 0.5rem 0.5rem;
}

#credits-section-list {
    list-style-type: none;
    padding: 0rem;
    margin: 0;
    font-size: 0.6rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

#credits-section-title-cont {
    display: grid;
    grid-template-columns: 3rem 1fr 1.8rem;
    align-items: center;
}

#credits-section-icon {
    height: 2.7rem;
    grid-column: 1;
    width: 100%;
    fill: rgb(64, 81, 230);
    stroke: rgb(64, 81, 230);
}

#credits-section-title {
    font-size: 1rem;
    color: rgb(43, 43, 43);
    grid-column: 2;
    margin-left: 0.5rem;
}

#credits-button {
    background-color: transparent;
    border: none;
    padding: 0;
    height: max-content;
    display: flex;
    align-items: center;
    grid-column: 3;
    fill: rgb(64, 81, 230);
}

#credits-button-img {
    height: 0.7rem;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

#credits-section-list.credits-section-list-expanded {
    max-height: 20rem;
    opacity: 1;
    padding: 0.5rem 0.3rem 0.5rem 0.3rem;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}
#credits-button-img.credits-section-arrow-expanded {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
