html {
    height: 100vh;
}
body {
    height: 100%;
}
main {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr;
    grid-template-areas: 
    "left right";
    width: 100%;
    height: 100%;
}
/* ! hero left content */
.divider {
    border-top: 3px solid var(--white);
    width: 150px;
    margin-bottom: 2rem;
}
.hero-left {
    grid-area: left;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    margin-top: -5rem
}
.hero-title {
    font-size: 3rem;
    font-weight: 350;
}
.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--mid-grey);
    margin-top: 1rem;
    line-height: 2rem;
}
.buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;   
    gap: 2rem;
    margin-top: 2.5rem;
}
/* ! hero left buttons */
.portfolioBTN {
    width: 230px;
    height: 50px;
    color: black;
    background-color: var(--white);
}
.contactBTN {
    width: 200px;
    height: 50px;
    background-color: var(--dark-grey);
    color: white;
}
.CTA {
    font-family: "Inter";
    font-size: 1rem;
    font-weight: 400;
    border-radius: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease-in-out 100ms;
}
.CTA:hover {
    opacity: 0.8;
    cursor: pointer;
}
.CTA:active {
    opacity: 1;
}
/* ! hero right image */
.hero-right {
    grid-area: right;
    width: calc(100% + 4rem);
    height: calc(100% + 8rem); /* top + bottom padding */
    margin-top: -4rem;
    margin-right: -4rem;
    background-image: url("about.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, var(--black)black 40%);
    mask-image: linear-gradient(to right, transparent 0%, var(--black) 80%);
    z-index: -1;
    opacity: 0.65;
}
