
/*  colour variables  */

:root {
    --offwhite: #c5c5c5;
    --white: #ffffff;
    --text: #1f1e1e;
    --maincolor: #050546;
}


/*  global styles  */

*, *::before, *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Barlow', sans-serif;
    width: 100%;
    margin: 0;
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
}

a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    color: var(--offwhite);
    cursor: pointer;
}

button:focus, button:active {
    outline: none;
}
button:hover {
    cursor: pointer;
}

/*  containers & sections  */



/*  header  */

header {
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    transition: all 0.3s ease;
}

header.scrolled {
    border-bottom: 3px solid #1f1e1e;
    padding: 10px;
}

header a {
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 400;
    transition: all 0.3s ease;
}
header a:hover {
    color: cadetblue;
}

header a.active {
    color: var(--text);
}

header .mobile-nav {
    position: relative;
}

header .mobile-nav .hamburger {
    background: transparent;
    border: none;
    font-size: 2.0rem;
}

header .mobile-nav-links {
    display: none;
    background-color: var(--white);
    list-style: none;
    padding: 20px;
    margin: 0;
    position: absolute;
    right: 0;
    top: 45px;
}

header .mobile-nav-links .nav-link {
    margin-bottom: 10px;
}
header .mobile-nav-links .nav-link:last-child {
    margin-bottom: 0;
}

header .nav-links {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
}

header .nav-link {
    display: inline-block;
    margin-right: 20px;
}
header .nav-link:last-child {
    margin-right: 0;
}

@media (min-width: 600px) {
    header .mobile-nav {
        display: none;
    }
    header .nav-links {
        display: block;
    }
}

/*  hero section  */

#hero {
    height: 100vh;
    width: 100%;
    background-image: url('../images/home-image.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    position: relative;
    top: 60px;
    z-index: 1;
}

#hero .inner-text {
    color: var(--white);
    text-align: center;
    font-size: 1.7rem;
    font-style: italic;
    position: absolute;
    bottom: 90px;
}

/* SERVICES SECTION  */

#services {
    width: 100%;
    min-height: 50px;
    line-height: auto;
    background-color: var(--maincolor);
    position: relative;
    top: 60px;
}

#services a {
    color: #ffffff;
}

#services .services-links {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 100%;
    font-size: 1.5rem;
    padding: 0 40px;
}

#services .vl {
    border-bottom: solid 1px var(--offwhite);
}

#services .services-links .services-link {
    text-align: center;
    padding: 40px;
}

@media (min-width:678px) {
    #services .services-links {
        flex-direction: row;
        flex: 33.33%;
        padding: 20px 0;
    }
    #services .services-links .services-link {
        padding: 20px 40px;
    }
    #services .vl {
        border-bottom: none;
        border-right: solid 1px var(--offwhite);
    }
}

/*  about section  */

#about {
    position: relative;
    top: 60px;
    padding: 40px 0;
}
.container {
    display: flex;
    flex-direction: column;
    flex: 100%;
    padding: 0 20px;
}

.img-wrapper {
    width: 100%;
}
.about-content {
    width: 100%;
}

.heading {
    font-size: 2.5rem;
    padding: 10px 0;
}
.text {
    font-size: 1.3rem;
    line-height: 1.5;
    padding-bottom: 10px;
}

@media (min-width:800px) {
    .container {
        flex-direction: row;
        flex: 50%;
        padding: 20px 0;
        justify-content: center;
    }
    .heading {
        padding: 0 0 10px 0;
    }
    .about-content {
        padding: 0 30px;
    }
}

/*   footer section  */

#footer {
    width: 100%;
    background-color: var(--maincolor);
    position: relative;
    top: 60px;
}

#footer a {
    color: var(--offwhite);
}

#footer .footer-columns {
    display: flex;
    flex-direction: column;
    flex: 100%;
    line-height: 32px;
    padding: 20px;
}

#footer .footer-column {
    text-align: center;
    color: var(--offwhite);
    font-size: 1.5rem;
}
#footer .footer-column:nth-child(2) {
    padding: 20px 0;
}

#footer .f-img-1 {
    width: 35%;
}
#footer .f-img-2 {
    width: 65%;
}

@media (min-width:800px) {
    #footer .footer-columns {
        flex-direction: row;
        flex: 33.33%;
    }
    #footer .footer-column:first-child {
        width: 100%;
        text-align: left;
        padding-left: 5%;
    }
    #footer .footer-column:nth-child(2) {
        width: 100%;
        padding: 0 10%;
    }
    #footer .footer-column:last-child {
        width: 100%;
        text-align: right;
        padding-right: 5%;
    }
    #footer .f-img-1 {
        width: 35%;
    }
    #footer .f-img-2 {
        width: 65%;
    }
}


