
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
    text-decoration: none;
}

.equipment-rental-first {
    padding: 8rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13rem;
    background: linear-gradient(to top, rgba(44,39,35,0.95), rgba(44,39,35,0.95)), url(Images/land-2471176.jpg);
    background-size: cover;
}

.equipment-first-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 3rem;
    width: 50%;
}

.equipment-first-content h4 {
    font-size: 6rem;
    -webkit-text-fill-color: rgba(44,39,35,0.9);
    -webkit-text-stroke: 2px #f7ce36;
    font-weight: 800;
}

.equipment-first-content p {
    font-size: 2.3rem;
    color: aliceblue;
}

.equipment-first-content a {
    background: #f7ce36;
    padding: 1rem;
    color: rgba(44,39,35,1);
    margin-top: 2rem;
    font-family: "Russo One", sans-serif;
    font-size: 1.5rem;
    font-weight: 200;
    outline: 3px solid rgba(44,39,35,1);
    cursor: pointer;
}

.equipment-first-content a:hover {
    background: linear-gradient(to top, rgba(44,39,35,0.3), rgba(44,39,35,0.3)), #f7ce36;
    transition: 0.5s;
}


.equipment-first-img {
    display: flex;
    align-items: center;
    width: 50%;
}

.equipment-first-img img {
    display: flex;
    position: relative;
    width: 950px;
}


/* Start of second section */

.equipment-rental-second {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(44,39,35,1);
    padding-bottom: 3.5rem;
}

.equipment-rental-second h2 {
    font-size: 4rem;
    color: #f7ce36;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 6px;
    border-bottom: 5px solid #f7ce36;
}

.equipment-second-container {
    display: flex;
    flex-direction: column;
}

.equipment-second-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 4rem;
    gap: 7rem;
}

.equipment-second-product {
    background: aliceblue;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem;
    outline: 6px solid gray;
}

.equipment-second-product h3 {
    font-size: 2rem;
    color: rgba(44,39,35,1);
    margin-top: 25px;
    font-family: "Russo One", sans-serif;
    font-weight: 300;
}

.equipment-second-product img {
    width: 450px;
}

#equipment-black-space {
    background: rgba(44,39,35,1);
    outline: none;
}


/*  Start of the smaller computer version */


@media screen and (max-width: 2200px) {

    .equipment-first-img img {
        width: 700px;
    }

    .equipment-rental-first {
        gap: 5rem;
        padding: 10rem 0;
    }

    .equipment-first-content {
        margin-left: 2rem;
    }

    .equipment-first-content h4 {
        font-size: 4rem;
    }

    .equipment-first-content p {
        font-size: 2rem;
    }

    .equipment-second-row {
        gap: 5rem;
    }

    .equipment-rental-second h2 {
        font-size: 3rem;
    }

    .equipment-second-product h3 {
        font-size: 1.5rem;
    }

    .equipment-second-product img {
        width: 350px;
    }
}


/* Start of laptop version */

@media screen and (max-width: 1650px) {

    .equipment-rental-first {
        gap: 1rem;
    }

    .equipment-first-img img {
        width: 600px;
    }

    .equipment-first-content {
        margin-top: 0;
    }

    .equipment-first-content h4 {
        font-size: 3rem;
    }

    .equipment-first-content p {
        font-size: 1.5rem;
        margin-top: 0.3rem;
    }

    .equipment-first-content a {
        font-size: 0.9rem;
    }

    .equipment-second-row {
        gap: 4rem;
    }
}


/* Start of the Small Computer version */

@media screen and (max-width: 1455px) {

    .equipment-first-img img {
        width: 500px;
    }

    .equipment-first-content {
        margin-left: 0;
    }

    .equipment-first-content a {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .equipment-second-product h3 {
        font-size: 1.3rem;
    }

    .equipment-second-product img {
        width: 240px;
    }
}


/* Start of Ipad version */

@media screen and (max-width: 1100px) {

    .equipment-rental-first {
        flex-direction: column;
        padding: 4.5rem 0;
    }

    .equipment-first-img {
        width: 100%;
        justify-content: center;
    }

    .equipment-first-img img {
        width: 700px;
        margin-top: 1rem;
    }

    .equipment-first-content a {
        display: none;
    }

    .equipment-first-content {
        width: 80%;
        margin-bottom: 1rem;
        margin-left: 0;
    }

    .equipment-second-row {
        flex-direction: column;
    }

    .equipment-second-product img {
        width: 400px;
    }

    .equipment-second-product h3 {
        font-size: 1.8rem;
    }

    #equipment-black-space {
        display: none;
    }

    .dropdown-menu.open {
        height: 350px;
    }
}

/* Start of smaller Ipad */

@media screen and (max-width: 900px) {

    .equipment-first-img img {
        width: 600px;
    }
}


/* Start of cellphone version */

@media screen and (max-width: 700px) {

    .equipment-first-content h4 {
        font-size: 2rem;
        -webkit-text-stroke: 1px #f7ce36;
    }

    .equipment-first-content p {
        font-size: 1.2rem;
    }

    .equipment-rental-first img {
        width: 450px;
    }

    .equipment-rental-second h2 {
        font-size: 3rem;
    }

    .equipment-second-product img {
        width: 350px;
    }

    .equipment-second-product h3 {
        font-size: 1.5rem;
    }
}


/* Start of small cellphone version */ 

@media screen and (max-width: 500px) {

    .equipment-rental-first img {
        width: 370px;
    }

    .equipment-first-content h4 {
        font-size: 2rem;
    }

    .equipment-first-content p {
        font-size: 1rem;
    }

    .equipment-second-product img {
        width: 300px;
    }

    .equipment-second-product h3 {
        font-size: 1.3rem;
    }

    .equipment-rental-second h2 {
        font-size: 2.5rem;
        margin-bottom: 0;
    }
}


/* Start of smallest cellphone version */ 

@media screen and (max-width: 390px) {

    .equipment-first-img img {
        width: 310px;
    }

    .equipment-second-product h3 {
        font-size: 1rem;
    }

    .equipment-second-product img {
        width: 250px;
    }
}