@import './style.css';

.hero-section {
    display: grid;
    grid-template-columns: 0.6fr 0.4fr;
    gap: var(--space3);

    width: 75%;
    max-width: 1100px;
    margin: auto;
    margin-bottom: var(--space1);
}

.hero-section h1 {
    font-weight: bold;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: var(--space3);
}

.icon-text-section-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space4);
}

.icon-text-section {
    display: flex;
    gap: var(--space4);
}

.icon-text-section img {
    height: 26px;
    width: auto;
}

.hero-right {
    height: 100%;
    width: 100%;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.hero-button-wrapper {
    display: flex;
    gap: var(--space3);
}

.hero-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    height: max(40px, fit-content);
    padding: var(--space5) var(--space3);
    font-weight: bold;
    border-radius: 20px;
}

.hero-button:hover {
    cursor: pointer;
}

.hb-main {
    background-color: var(--light-green);
}

.hb-secondary {
    background-color: rgb(255, 255, 255);
    border: 3px solid black;
}

.hb-secondary img {
    width: 18px;
    height: auto;
    position: relative;
    left: 0;
    transition: left 0.15s ease;
}

.hb-secondary:hover img {
    left: 5px;
}

/**************** RESPONSIVE EFFECTS ****************/

@media (max-width: 1100px) {
    
    .hero-section {
        grid-template-columns: 1fr 1fr;
        gap: var(--space2);
    
        width: 85%;
    }


}

@media (max-width: 900px) {
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 0px;
        width: 60%;
        min-width: 400px;
    }

    .hero-right {
        display: none;
    }

}

@media (max-width: 750px) {
    
    .hero-section {
        width: 75%;
        text-align: center;
    }

    .icon-text-section {
        width: fit-content;
        margin: auto;
    }

    .hero-button-wrapper {
        width: 90%;
        margin: auto;
        flex-direction: column;
    }

}