:root {
    /*general*/
    --gradient-bottom: #01090d;
    font-family: "Courier Prime", monospace;
    font-weight: 400;
    font-style: normal;
    /*turquoise - default*/
    --gradient-top-default: #052426;
    --light-default: #95e9f0;
    --shine-default: rgba(149, 233, 240, 0.05);
    --gradient-shine-default: rgba(149, 233, 240, 0.1);
}

html {
    width: 100%;
    height: auto;
}

body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: radial-gradient(#4f46e4 10%, transparent 10%),
        linear-gradient(45deg, transparent 49%, #7f7f7f 49% 51%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, #4f46e4 49% 51%, transparent 51%);
    background-size: 2em 2em;
    background-color: black;
    opacity: 0.9;
    box-sizing: border-box;
    /*text-transform: uppercase;*/
}

a {
    text-decoration: none;
}

p {
    font-size: 1rem;
    line-height: 1.1;
}

.content-area {
    width: 100%;
    height: auto;
    min-height: 100vh;
    background: center / cover no-repeat radial-gradient(ellipse,
            var(--gradient-bottom) 50%,
            var(--gradient-top-default));
    color: white;
}

.name {
    font-size: 2rem;
}

.about-container {
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 599px));
    margin-inline: 1.5rem;
    padding-block: 2rem;
    justify-items: center;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.typewriter-container {
    display: grid;
    align-items: center;
}

.about {
    height: 40%;
    width: 100%;
}


/* -----------------  ACCORDIAN CSS  ----------------- */
/* (A) ACCORDION WRAPPER */
.a_wrap {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* (B) HEADER TABS */
/* (B1) TAB ITSELF */
.a_head {
  cursor: pointer;
  padding: 10px;
  border-bottom: 2px solid #f2f2f2;
}

.a_head h1 {
    font-size: 1.2rem;
}

/* (C) CONTENT TABS */
/* (C1) TAB ITSELF - CLOSED BY DEFAULT */
.a_body {
  overflow: hidden;
  transition: all 0.5s;
  max-height: 0;
  height: auto;
    padding-left: 10px;
}


/* (C3) OPEN TAB - SHOW CONTENT */
.a_head.open + .a_body {
  max-height: 600px;
  /* top | right | bottom | left */
    padding: 10px 10em 10 0;
}
/* -----------------  ACCORDIAN CSS END  ----------------- */

@media screen and (max-width: 486px) {
    .about-container {
        height: auto;

        margin-inline: 2.5rem;
    }

    .about {
        height: 100%;
    }
}


.project-section {
    padding-block: 2rem;
}

.project-header {
    display: grid;
    justify-items: center;
    align-items: center;
    margin-inline: 2.5rem;
}

.project-cards-container {
    display: grid;
    margin-inline: 1.5rem;
    padding-block: 5rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 348px));
    justify-content: center;
    gap: 2rem;
}

.card-article {
    position: relative;
    border: 1px solid var(--light-default);
    padding: 1.5rem 1.5rem 1.5rem;
    display: grid;
    row-gap: 1rem;
    overflow: hidden;
    transition: 0.6s;
}

.card-data {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transition:
        transform 0.4s,
        opacity 0.4s;
}

.card-title {
    font-size: 2rem;
    font-weight: 300;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.5);
    z-index: -1;
    transition: transform 1s;
    opacity: 0.3;
}

.card-button {
    padding: 0.75rem 1rem;
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    justify-self: center;
    box-shadow: 0 8px 24px hsla(170, 12%, 8%, 0.1);
    font-size: 1.25rem;
    position: absolute;
    bottom: -1.5rem;
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.4s,
        opacity 0.4s;
}

.card-article:hover .card-data {
    transform: translateY(-4.5rem);
    opacity: 0;
}

.card-article:hover {
    background-color: transparent;
}

.card-article:hover .card-bg {
    transform: scale(1);
    z-index: 1;
}

.card-article:hover .card-button {
    transform: translateY(-3.75rem);
    opacity: 1;
    pointer-events: initial;
    z-index: 2;
}

.footer-container {
    margin-inline: 1.5rem;
    padding-block: 1rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    text-align: center;
    padding-left: 0rem;
}

.footer_link {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
    font-size: 1.2rem;
}
