.hero-block{
    display: flex;
    width: 100%;
    height: calc(100vh - var(--header-height, 0px));
    position: relative;
    overflow: hidden;
}
.hero-image-wrapper{
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}
.hero-image-wrapper img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: translate(-50%, -50%);
    animation: hero-shrink-80 0.8s ease 2s forwards;
}
.hero-img-bkg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
    animation: hero-shrink-80 0.8s ease 2s forwards;
}
.hero-text-wrapper{
    position: absolute;
    top: 50%;
    left: var(--gutters);
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.hero-text{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hero-text h1{
    color: var(--wp--preset--color--white);
    font-family: "dunbar-tall", sans-serif;
    font-size: 45px;
    font-weight: 500;
    letter-spacing: 1.35px;
    margin: 0;
}
.hero-text h2{
    color: var(--wp--preset--color--white);
    font-family: "dunbar-tall", sans-serif;
    font-size: 37px;
    font-weight: 500;
    letter-spacing: 1.11px;
    margin: 0;
}
.hero-text p{
    color: var(--wp--preset--color--white);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.54px;
    margin: 0;
}
.hero-links{
    display: flex;
    gap: 1rem;
    color: var(--wp--preset--color--white);
    font-size: 15px;
    font-weight: 600;
}
.hero-links a{
    display: flex;
    position: relative;
}
.hero-links a::after{
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--wp--preset--color--white);
    transition: width 0.3s ease-in-out;
}
.hero-links a:hover::after{
    width: 0;
}
.hero-logo{
    position: absolute;
    top: 0;
    right: var(--gutters);
    display: flex;
    height: 100%;
    z-index: 1;
    gap: 3rem;
}
.rectangle{
    width: 100px;
    height: 100%;
    border: 1px solid var(--wp--preset--color--white);
}
.rectangle:first-child{
    transform: translateY(50%);
}
.rectangle:nth-child(3){
    transform: translateY(-50%);
}
.squares{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    height: 100%;
}
.square{
    width: 100px;
    aspect-ratio: 1/1;
    border: 1px solid var(--wp--preset--color--white);
}
.hero-link-button{
    color: var(--wp--preset--color--white);
}

@keyframes hero-shrink-80{
    from{ transform: translate(-50%, -50%);
    height: 100%;
    width: 100%; }
    to{ transform: translate(-50%, -50%);
    height: 95%;
    width: 95%; }
}
@media (max-width: 1200px) {
    .hero-logo{
        bottom: 0;
        top: unset;
        height: 50%;
    }
}
@media (max-width: 768px) {
    .hero-text h1{
        font-size: 32px;
    }
    .hero-text h2{
        font-size: 26px;
    }
    .hero-text p{
        font-size: 18px;
    }
    .hero-links{
        font-size: 13px;
    }
    .hero-logo{
        gap: 30px;
    }
    .hero-logo .rectangle:first-child{
        display: none;
    }
    .squares{
        gap: 30px;
    }
    .square{
        width: 60px;
        height: 60px;
    }
    .square:last-child{
        display: none;
    }
    .rectangle{
        width: 60px;
        height: 180px;
    }
    .rectangle:nth-child(3) {
        transform: translateY(-30px);
    }
    .hero-logo{
        top: 0;
    }
    .hero-text-wrapper{
        top: 75%;
    }
    .hero-image-wrapper img, .hero-img-bkg{
        animation: none;
    }
}