html, body {
    margin: 0 auto;
    height: 100vh;
    min-height: 100vh;
    width: 100vw;
    background-color: #22252e;
    display: grid;
    grid-template-rows: auto 1fr auto;
    font-size: 10px;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}

a {
    opacity: 1;
    transition: opacity .3s ease-in-out .05s;
}

a:hover {
    opacity: 0.7;
}

header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem 3rem;
    font-size: 1.6rem;
}

header ul {
    list-style-type: none;
    display: flex;
    margin: 0;
}

header ul li a {
    text-decoration: none;
    padding: 1.5rem;
    color: #ffffff;
}

main {
    display: grid;
    grid-template-columns: repeat(4, 100vw);
    grid-auto-flow: column;
    overflow: scroll;
    scroll-behavior: smooth;
    color: #ffffff;
    font-size: 7.2rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

main::-webkit-scrollbar {
    display: none;
}

main > div {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    max-height: 100%;
    overflow: hidden;
}

.wrap {
    padding: 5rem;
    width: calc(100% - 10rem);
    overflow: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.wrap::-webkit-scrollbar {
    display: none;
}

.wrap > p {
    display: block;
    margin: 12rem auto 5rem;
    max-width: 120rem;
    font-size: 2.4rem;
}

.wrap > p a {
    text-decoration: underline;
    color: inherit;
}

#me h1 {
    font-weight: 900;
    font-size: 15rem;
    display: block;
    text-shadow: #345e5caa  2.5rem 1rem;
}

#me h2 {
    font-weight: 200;
    display: block;
    width: 100%;
    text-align: right;
    text-decoration: #a19e9f44 underline;
    margin-top: 3rem;
}

#me p {
    text-align: center;
}

div h2 {
    font-size: 7rem;
}

.projects {
    padding-top: 7rem;
    border-top: 2px solid #a19e9f44;
    margin: 7rem auto 0;
    max-width: 120rem;
    display: grid;
    gap: 7rem 5rem;
    grid-template-columns: repeat(3, 1fr);
}

.project {
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
}

.project figure {
    width: 100%;
    display: flex;
    margin: 0;
    overflow: hidden;
    border-radius: 1rem 2rem 1rem 2rem;
    transition: border-radius 0.3s ease-in-out;
}

.project img {
    width: 100%;
    height: 30rem;
    object-fit: cover;
}

.project h3 {
    font-size: 3.6rem;
    margin-top: 2rem;
}

.project p {
    font-size: 2rem;
    margin-top: 1.2rem;
}

.project > a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.project a:hover figure {
    border-radius: 2rem 1rem 2rem 1rem;
}

.project span {
    font-size: 1.8rem;
    margin-top: 1.2rem;
    display: block;
    color: #345e5caa;
    filter: brightness(250%);
}

.project span a {
    color: inherit;
}

.boxes {
    display: flex;
    gap: 3rem;
    text-align: center;
    align-items: flex-end;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 7rem;
}

.box {
    max-width: 10rem;
    width: 100%;
}

.box img {
    height: 10rem;
    max-width: 14rem;
    width: 100%;
}

.box p {
    font-size: 2rem;
}

footer {
    padding: 3rem;
    display: flex;
    justify-content: flex-start;
}

#github img {
    width: 3.2rem;
    height: 3.2rem;
    margin-right: 2rem;
}

#linkedin img {
    width: 3.8rem;
    height: 3.8rem;
    color: white;
}

#contacto .wrap > p > a {
    color: #345e5caa;
    filter: brightness(250%);
}
