* {
    background-color: #333;
    margin: 0;
    padding: 0;
    font-family: 'Ubuntu', sans-serif;

}

header {
    display: flex;
    border-bottom: 1.5px solid orange;
    margin: 0 auto;
    padding: 15px;

}

header .full-logo {
    width: 15%;
    padding-left: 20px;
    padding-right: 50px;
}

header .sf-logo {
    display: none;
}

nav {
    display: flex; 
    align-self: center;
    width: 70%;
    justify-content: center;
    letter-spacing: 0.05em;
}

nav li {
    list-style: none;
    display: inline-flex;
    padding: 0 15px;
    flex-direction: row;
    flex-wrap: nowrap;
}

nav li a {
    text-decoration: none;
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-size: larger;
    justify-content: space-between;

}

nav li a:hover {
    background-color: orange;
    font-size: smaller;
    padding: 10px;
    font-family: 'Ubuntu', sans-serif;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

header #contact-home {
    width: 15%;
    display: flex;
    align-self: center;
    justify-content: end;
    padding-right: 10px;
    letter-spacing: 0.05em;
}

header #contact-home a {
    text-decoration: none;
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-size: larger;
    /* padding-left: 40px;
    padding-right: 0px; */
    text-align: right;
}

header #contact-home a:hover {
    color: orange;
    /* font-size: smaller; */
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: double;
}

#contact-home-icon {
    display: none;
}

#cta-banner {
    background-image: url(./creatives/space.png);
    text-align: center;
    padding: 20px 0;

}

#cta-banner h1, h3 {
    font-weight: lighter;
    font-family: 'Ubuntu', sans-serif;
    color: white;
    background: none;
}

#cta-banner h3 {
    font-size: 2vw;
}

#cta-banner h1 {
    font-size: 3vw;
}

#cta-banner h1 strong {
    color: orange;
    background: none;
    font-size: larger;
}

#cta-banner #word-service {
    letter-spacing: 3px;
    text-transform: uppercase;

}

footer {
    display: block;
    /* border-top: 1.5px solid orange; */
    padding: 15px;
    position: sticky;
    text-align: center;
    margin-top: 20px;
    background-color: hsl(0, 0%, 16%);

}

footer .full-logo  {
    width: 15%;
    background: none;

}

footer #copyright {
    padding: 10px 0 10px 0;
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-weight: lighter;
    font-size: 1vw;
    background: none;

}

/* Width constraints on desktop */
@media only screen and (min-width: 768px) {
    body {
        min-width: 850px;
        max-width: 1650px;
        margin: 0 auto;
    
    }

    main {
        width: 95%;
        margin: 0 auto;
    }

    #desktop-banner {
        width: 100%;
        margin: 0 auto;
    }
    
    #mobile-banner {
        display: none;
    }

    #offerings {
        display: grid;
        grid-template-columns: 1fr 1fr auto;
        margin-top: 5px;
        gap: 10px;
        justify-items: center;
        
    }

    #offerings .card {
        display: grid;
        width: 400px;
        height: 400px;
        background-color: antiquewhite;
        border: 2.5px solid whitesmoke;

    }
    
    #offerings .card h1 {
        display: flex;
        background: none;
        margin: 10px;
        color: white;
        font-size: 2vw;
        align-items: flex-end;
        text-align: center;
    }
    
    #offerings #erpsec {
        background-image: url(./creatives/erpsec.png);
        background-size: contain;
    }
    
    #offerings #softimp {
        background-image: url(./creatives/softimp.png);
        background-size: contain;
    }
    
    #offerings #digieco {
        display: none;
        background-image: url(./creatives/digieco.png);
        background-size: contain;
    }
    
}


/* Responsive design for extra large screen resolution */
@media only screen and (min-width: 1650px) {
    header {
        display: flex;
        border-bottom: 1.5px solid orange;
        border-right: 1.5px solid orange;
        border-left: 1.5px solid orange;
        margin: 0 auto;
        padding: 10px;
    
    }
    
}

/* Responsive design for header */
@media only screen and (min-width: 768px) and (max-width: 1160px) {
    nav {
        display: flex; 
        align-self: center;
        width: 90%;
        justify-content: center;
    }
    
    header .sf-logo {
        display: flex;
        width: 2.5%;
        padding-left: 20px;
    }
    
    header .full-logo {
        display: none;
    }

    #contact-home-icon {
        display: flex;
        width: 3%;
        padding-right: 20px;
    }

    header #contact-home {
        display: none;
    }

}

/* CSS Code for Mobile */
@media only screen and (max-width: 768px) {    
    body {
        font-family: 'Ubuntu', sans-serif;
    
    }
    
    header {
        display: flex;
        border-bottom: 1px solid orange;
        /* margin: 0 auto; */
        padding: 15px 0;
    
    }
    
    header .full-logo {
        display: flex;
        width: 40%;
        padding: 0 0 0 10px;
        margin: 0 auto;
    }
    
    nav {
        display: none;
    }
    
    header #contact-home {
        display: none;
    }
    
    #contact-home-icon {
        display: none;
    }
    

    main {
        margin: 0 auto;
        width: 95%;
    }

    #mobile-banner {
        width: 100%;
        margin: 0 auto;
    }
    
    #desktop-banner {
        display: none;
    }
    
    #offerings {
        display: grid;
        text-align: end;
        grid-template-columns: 1fr 1fr;
        margin-top: 5px;
        gap: 10px;
        
    }

    #offerings .card {
        /* width: 175px; */
        display: flex;
        height: 175px;
        background-color: antiquewhite;
        font-size: 2.3vw;
        border: 2px solid whitesmoke;
    }

    #offerings .card h1 {
        display: flex;
        background: none;
        margin: 10px;
        color: white;
        width: 100%;
        align-items: flex-end;
        text-align: center;
    }

    #offerings #erpsec {
        background-image: url(./creatives/erpsec.png);
        background-size: contain;
        
    }
    
    #offerings #softimp {
        background-image: url(./creatives/softimp.png);
        background-size: contain;
    }
    
    #offerings #digieco {
        background-image: url(./creatives/digieco.png);
        background-size: contain;
    }

    #cta-banner {
        display: none;
        background-image: url(./creatives/space.png);
    
    }
    
    /* #cta-banner h1, h3 {
        font-weight: lighter;
        font-family: 'Ubuntu', sans-serif;
        color: white;
    }
    
    #cta-banner h3 {
        font-size: 2vw;
    }
    
    #cta-banner h1 {
        font-size: 3vw;
    }
    
    #cta-banner h1 strong {
        color: orange;
    } */
    
    footer {
        display: block;
        /* border-top: 1.5px solid orange; */
        padding: 15px;
        position: sticky;
        text-align: center;
    
    }
    
    footer .full-logo  {
        width: 30%;
    
    }
    
    footer #copyright {
        padding-top: 10px;
        color: white;
        font-family: 'Ubuntu', sans-serif;
        font-weight: lighter;
        font-size: 0.8em;
    
    }
}
    