/******************************************
/* About Section
/*******************************************/

.about-hero {
    width: 100%;
    margin-top: 50px;
}

.about-hero-container {
    width: 100%;
    height: 600px;
    display: flex;
    gap: 2%;
}

.about-hero-text {
    width: 39%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: 50px;
    border: 1px solid var(--pink);
    padding: 50px;
    margin: 50px;
    border-radius: 8px;
}

.about-hero-text h1 {
    font-size: var(--sub-heading);
    color: var(--black);
    padding: 10px 0;
}

.about-hero-text p {
    font-size: var(--paragraph);
    color: var(--black);
    padding: 10px 0;
    margin-bottom: 20px;
}

.about-hero-image-container {
    width: 59%;
    height: 100%;
    margin-right: 50px;
    background-image: url(../images/1958-chevy-truck.webp);
    background-size: cover;
    background-position: left;
    border-radius: 8px;
}

.about-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: auto;
}

.about-social ion-icon {
    color: var(--black);
    font-size: 2.2rem;
    transition: .3s ease-in-out;
}

.about-social ion-icon:hover {
    color: var(--pink);
    font-size: 2.2rem;
}

/******************************************
/* Media Queries
/*******************************************/

@media screen and (max-width:1700px) {
    .about-hero-text h1 {
        font-size: 2.8rem;
    }
    
    .about-hero-text p {
        font-size: 1.4rem;
    }
    .about-social ion-icon {
        font-size: 1.6rem;
    }
}

@media screen and (max-width:1575px) {
    .about-hero-text h1 {
        font-size: 2.2rem;
    }
    
    .about-hero-text p {
        font-size: 1.2rem;
    }
    .about-social ion-icon {
        font-size: 1.4rem;
    }
}

@media screen and (max-width:1214px) {
    .nav-menu {
        width: 100%;
    }
    .about-hero-text h1 {
        font-size: 1.6rem;
    }
    
    .about-hero-text p {
        font-size: 1rem;
    }
    .about-social ion-icon {
        font-size: 1rem;
    }
    .about-hero-image-container {
        height: 400px;
        margin: auto;
        margin-right: 50px;
    }
}


@media screen and (max-width:960px) {

    .hamburger {
        display: flex;
        align-items: center;
    }

    .closeham {
        display: none;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: var(--green);
        padding: 20px;
        border-radius: 0 0 0 8px;
    }
    .about-hero-container{
        height: 800px;
        flex-direction: column;
        gap: 0;
        align-items:center;
        padding: 0 50px;
    }
    .about-hero-text {
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    .about-hero-image-container {
        width: 100%;
        padding: 0 50px;
        margin-right: 0;
    }
    .about-hero-text h1 {
        font-size: 2.8rem;
    }
    
    .about-hero-text p {
        font-size: 1.2rem;
    }
    .about-social ion-icon {
        font-size: 1.2rem;
    }

}
@media screen and (max-width:768px) {
    .about-hero-container{
        height: fit-content;
    }
    .about-hero-image-container {
        height: 300px;
        margin: 40px 0;
    }
}

@media screen and (max-width:480px) {
    .about-hero-container {
        height: fit-content;
        padding: 16px;
    }
    .about-hero-text {
        padding: 40px 20px;
        margin: 0;
    }
    .about-hero-image-container {
        height: 200px;
    }
    .footer-contacts a{
        font-size: 1.2rem;
    }
    .bottom-footer-container p {
        font-size: 1rem;
        width: 100px;
    }
    .bottom-footer-container ion-icon {
        font-size: 1.2rem;
        padding: 5px;
    }
}

