* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
}

a {
    cursor: pointer;
}

article {
    cursor: default;
}

p {
    font-family: 'open sans', sans-serif;
    font-size: 1em;
    font-weight: 300;
    color: #000;
    text-align: left;
    line-height: 1.6;
}

h1 {
    font-family: 'open sans', sans-serif;
    font-size: 1.8em;
    font-weight: bolder;
    text-align: center;
    width: 100%;
    color: #FFF;
    text-shadow: 1px 1px 3px rgb(44, 44, 44);
}

h2 {
    font-family: 'open sans', sans-serif;
    font-size: 1em;
    font-weight: bold;
    text-align: left;
    color: #000;
}

h3 {
    font-family: 'open sans', sans-serif;
    font-size: 1.4em;
    font-weight: bolder;
    text-align: center;
    color: #000;
}


/* Header */

header {
    position: fixed;
    width: 100%;
    height: 80vh;
    margin: 0;
    Padding: 0;
    background-size: cover;
    background-position: center;
    transform: translateZ(-10px);
}

header h1 {
    position: absolute;
    top: 40vh;
    line-height: 0.9em;
    position: relative;
}

#welcomehomeheader {
    background-image: url("../images/WHsyr.jpg");
}

#nissanastroheader {
    background-image: url("../images/Mediacliq.jpg");
}

#wfaheader {
    background-image: url("../images/WFA1.jpeg");
}

#hotracoheader {
    background-image: url("../images/hrc4.jpg");
}


/* Content */

.spacer {
    height: 80vh;
}

.content {
    position: relative;
    display: block;
    background-color: #fff;
    width: 80%;
    height: auto;
    padding: 0 10% 50px 10%;
    z-index: 10;
}

.onecolumn {
    padding: 50px 0;
}

.onecolumn img {
    display: block;
    max-width: 100%;
    width: auto;
}

.onecolumn ul li {
    list-style-type: square;
}

.smallimg {
    max-height: 150px;
    margin: 0 auto;
}


/* image box */

.gallary {
    width: 100%;
}

.image-list {
    display: flex;
    overflow: hidden;
    width: calc(100% + 5px);
    height: 150px;
    list-style: none;
}

.image-item {
    margin: 0 5px 5px 0;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 2px 2px 5px #ccc;
}

.image-item img:hover {
    opacity: 0.7;
}

.big-image img {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
    box-shadow: 2px 2px 5px #ccc;
}

.big-image {
    display: block;
}


/* Copyright */

.copyright {
    position: relative;
    display: block;
    height: 50px;
    width: 80%;
    padding: 10px 10%;
    margin: 0;
    z-index: 10;
    background-color: #fff;
}

.copyright p {
    color: #454545;
}


/* Menu bar */

#menu {
    position: fixed;
    height: 50px;
    width: 90%;
    line-height: 50px;
    padding: 0 5% 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: white;
}

#menu .logo {
    position: relative;
    display: flex;
    z-index: 999;
}

#menu ul {
    position: relative;
    display: flex;
    z-index: 999;
}

#menu ul li {
    position: relative;
    list-style: none;
    height: 50px;
}

#menu ul li a {
    position: relative;
    padding: 5px 10px;
    color: #000;
    display: inline-block;
    text-decoration: none;
}

.toggle {
    display: none;
}

.scroll {
    position: relative;
    display: block;
    cursor: pointer;
}

.scroll:before,
.scroll:after {
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    top: 50%;
    margin-top: 15px;
    background: #fff;
}

.scroll:before {
    left: -2.5px;
}

.scroll:after {
    left: -2.5px;
    background: linear-gradient(90deg, #ebaa97, #ac5740);
    transition: width 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scroll:hover:before {
    background: linear-gradient(90deg, #ebaa97, #ac5740);
    width: 110%;
    transition: width 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.scroll:hover:after {
    background: transparent;
    width: 100%;
    transition: 0s;
}


/* Media Queries  */

@media only screen and (max-width: 769px) {
    #menu ul {
        position: absolute;
        top: -100%;
        left: 0;
        width: 100%;
        height: calc(100vh - 100px);
        padding: 50px 0 0 0;
        text-align: center;
        overflow: auto;
        transition: 0.5s;
        background-color: white;
        flex-direction: column;
        opacity: 0;
        transform: translateY(-100%);
    }
    #menu.active ul {
        top: 50px;
        opacity: 1;
        transform: translateY(0);
    }
    #menu ul li a {
        margin: 5px 0;
    }
    .toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 30px;
        cursor: pointer;
    }
    .toggle:before {
        content: '';
        position: absolute;
        top: 4px;
        width: 100%;
        height: 2px;
        background: #000;
        z-index: 999;
        box-shadow: 0 10px 0 #000;
        transition: 0.5s;
    }
    .toggle:after {
        content: '';
        position: absolute;
        bottom: 4px;
        width: 100%;
        height: 2px;
        background: #000;
        z-index: 999;
        transition: 0.5s;
    }
    #menu.active .toggle:before {
        top: 14px;
        transform: rotate(45deg);
        box-shadow: 0 0 0 #000;
    }
    #menu.active .toggle:after {
        bottom: 14px;
        transform: rotate(-45deg);
    }
    .big-image {
        display: none;
    }
    .image-list {
        display: block;
        width: 100%;
        height: auto;
    }
    .image-item img:hover {
        opacity: 1;
    }
}

@media only screen and (min-width: 500px) {
    h1 {
        font-size: 2.5em;
    }
    h2 {
        font-size: 1em;
    }
    h3 {
        font-size: 2em;
    }
}

@media only screen and (min-width: 800px) {
    h1 {
        font-size: 3.5em;
    }
    h2 {
        font-size: 1em;
    }
    h3 {
        font-size: 3em;
    }
}

@media only screen and (min-width: 1440px) {
    h1 {
        font-size: 4em;
    }
    h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 2.5em;
    }
    p {
        font-size: 1em;
    }
    .content {
        width: 70%;
        height: auto;
        padding: 100px 15% 50px 15%;
    }
    #menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .smallimg {
        max-height: 200px;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 2560px) {
    h1 {
        font-size: 6em;
    }
    h2 {
        font-size: 3em;
    }
    h3 {
        font-size: 3.75em;
    }
    p {
        font-size: 1.5em;
    }
    #menu {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    #menu ul li a {
        padding: 5px 30px;
    }
    .scroll:before,
    .scroll:after {
        height: 3px;
        margin-top: 30px;
    }
    .line {
        height: 3px;
    }
    .smallimg {
        max-height: 250px;
    }
}