:root {
    --bg-color: #FFF0E5;
    --bg-alt: #b59a88;
    --main-color: #1d1102;
    --main-color-alt: #622f16;
    --main-color-light: #844526;
    --accent-color: #ff9100;
    --accent-color-alt: #ffc400;
    --card-color: #f8f8f8;
}

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

html,
body {
    height: 100%;
}

body {
    background-image: radial-gradient(circle at 3px 1px, var(--bg-alt) 1px, transparent 0);
    background-size: 1rem 1rem;
    min-height: 100vh;
    font-family: Lexend, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background-color: var(--bg-color);
}


main {
    display: flex;
    flex: 1;
    min-height: 0;
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    overflow: hidden;
}


/* LOGO AREA */

.lg {
    position: relative;
    z-index: 1;
    font-size: 40rem;
    
}

.logo-wrapper {
    position: relative;
    flex: 2;
    min-height: 0;
    display: grid;
    place-items: center;
}

.logo-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    align-self: stretch;
    background-image: radial-gradient(circle at 2.5px 1.5px, var(--bg-alt) 1.5px, transparent 0);
    background-size: 1rem 1rem;
    -webkit-mask-image: url(../src/images/blob.svg);
    mask-image: url(../src/images/blob.svg);
    -webkit-mask-size: 115% 115%;
    mask-size: 115% 115%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;

}

#lg {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(16rem, 95%, 38rem);
    aspect-ratio: 1;
    transform: translateX(-5%);
}

#lg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0.35rem 0.45rem 0.5rem rgba(17, 11, 2, 0.28));
}

/* INFO AREA */

.info {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 3;
    min-height: 0;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--bg-alt);
    border-radius: 8px;
    padding: 2.5rem;
    margin: 0;
    background-color: var(--card-color);
    margin-top: 20ch;
    margin-bottom: 20ch;
    color: var(--main-color);
}

.card h1 {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    text-align: left;
    color: var(--main-color-light);
}

.card strong {
    color: var(--main-color-alt);
}

.card p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 0 1.5rem;
}

.card p:last-of-type {
    margin-bottom: 0;
}

.technologies {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
    margin: 0.5rem 0 1.5rem;
    padding-bottom: 3rem;
}

.technologies img {
    display: block;
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

#about {
    gap: 0;
}

.about-buttons {
    padding: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: fit-content;
    align-self: center;
    justify-content: center;
    margin-top: 1rem;
}

.about-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0.9rem 1.4rem;
    border: 1px solid var(--bg-alt);
    border-radius: 999px;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.about-button + .about-button {
    margin-left: 0;
}

.about-button.primary {
    background-color: var(--main-color-light);
}

.about-button.primary {
    color: var(--card-color);
}

.about-button.secondary {
    background-color: var(--bg-color);
}

.about-button.secondary {
    color: var(--main-color);
}
