
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    --primary-color: #000000;
    --helper-color: #333333;
}

html {
    font-size: 65%;
}
img{
    text-align: center;
    transition-timing-function: ease;
}
a {
    text-decoration: none;
    display: inline-block;
}

li {
    list-style: none;
}
.firm-name{
    font-size: 120%;
    font-weight: bold;
    padding: 0.15rem 0;
}
.address-para {
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 400;
}

/*-----------mobile size ---------------------*/
@media only screen and (max-width: 599px) {

    /* ----------header and navlist style--------------- */
    body{
        display: flex;
        flex-direction: column;
    }
    .header {
        display: flex;
        flex-direction: column;
        align-items: start;
        padding: 2rem 2.5rem;
        gap: 1rem;
    }

    .address-para{
        margin-left: 2rem;
    }

    .address-para-logo-designs{
        width: 6rem;
    }

    .address-para-logo-designs img{
        width: 100%;
    }

    .address-para p{
        line-height: 1.4rem;
        font-size: 1.2rem;
    }

    .address-para .firm-name {
        font-size: 1.3rem;
        font-weight: bold;
    }

    .navbar-list {
        margin-left: 2rem;
        display: flex;
        gap: 1.1rem;
    }

    .ionicons {
        font-size: 1.8rem;
        color: var(--primary-color);
    }

    /*------------- main section ---------------*/

    .hero {
        height: 60vh;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .container {
        height: 90%;
        width: 90%;
        display: flex;
        flex-direction: column;
        padding: 1rem 2rem 2rem 2rem;
        gap: 0 1rem; 
    }

    .hero-image {
        height: 100%;
        min-width: 250px; 
        margin-top: 2rem;
        display: flex;
        align-items:center;
        justify-content: center;
    }

    .hero-image .images {
        width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* -----------arrows-------------- */

    .left-arrow-button, 
    .right-arrow-button {
        display: none;
    }

    .lower-buttons{
        margin-top: 3rem;
        display: flex;
        justify-content: space-around;
    }

    .left-arrow-lower-button{
        font-size: 2.5rem;
        background-color: transparent;
        border: none;
    }

    .right-arrow-lower-button{
        font-size: 2.5rem;
        background-color: transparent;
        border: none;
    }

}

/* For desktop and tablets: */
@media only screen and (min-width: 600px) {

    /* ----------header and navlist style--------------- */

    .header {
        display: flex;
        /* align-items: center; */
        justify-content: space-between;
        margin-top: 2rem;
    }

    .address-para{
        margin: 2rem 5rem 5rem 12rem; 
    }

    .address-para-logo-designs{
        width: 7rem;
    }

    .address-para-logo-designs img{
        width: 100%;
    }

    .address-para .firm-name {
        font-weight: bold;
    }

    .navbar{margin-top: 0;}

    .navbar-list {
        display: flex;
        margin: 2rem 12rem 5rem 5rem;
        gap: 2rem;
        font-size: 2rem;
    }

    .ionicons {
        font-size: 2.1rem;
        color: var(--primary-color);
    }

    /*------------- main section ---------------*/

    .hero {
        height: 65vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container {
        height: 100%;
        width: 90vw;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }

    .hero-image {
        width: 90%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-image .images {
        width: 100%;
        max-height: 100%;
        object-fit: contain;

    }

    /* -----------arrows-------------- */

    .left-arrow-lower-button,
    .right-arrow-lower-button{
        display: none;
    }

    .left-arrow-button {
        font-size: 2.5rem;
        padding: 10px;
        background-color: transparent;
        border: none;
    }

    .right-arrow-button {
        font-size: 2.5rem;
        padding: 10px;
        background-color: transparent;
        border: none;
    }

}




.address-para a:hover {
    color: var(--helper-color);
}

.address-para a {
    color: black;
}



.navbar-list .navbar-link:hover .ionicons {
    color: var(--helper-color);
}



.left-arrow-button:hover,
.right-arrow-button:hover,
.left-arrow-lower-button,
.right-arrow-lower-button {
    color: var(--helper-color);
}