@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible&display=swap');

*{
    box-sizing: border-box;
    margin: 0px;
    padding:0px;
}
a:focus{
    color: unset;
}
body{
    font-family: 'Open Sans', sans-serif;
    background-color: rgb(243, 243, 243);
    color: black;
}
#navBar{
    display: flex;
    position:sticky;
    top: 0px;
    justify-content: space-around;
    width: 100%;
    height: 64px;
    background-color: transparent;
    padding: 15px 0px ;
    z-index: 10;

}
.nav-items > div > i{
    font-size: 30px;
    color: black;
}
#list-container{
    position: absolute;
    left: 0%;
    height:100vh;
    width: 0%;
    overflow-y: auto;
    background-color: white;
    transition: 0.2s;
    z-index: 5;
}
#first-list{
    list-style: none;
    padding:60px 60px 0px 100px;
}
#first-list > a {
    color: black;
    text-decoration: none;
    font-size:20px;
    padding: 5px;
}
#first-list > a >li{
    font-weight: bold;
}
#second-list{
    list-style: none;
    padding:30px 60px 0px 100px;
}
#second-list > a {
    color: black;
    text-decoration: none;
    font-size:20px;
    padding: 5px;
}
#logo {
    height: 32px;
    padding-top: 4px;
}
.video-1{
    width: 100%;
}
.video-1-container{
    height: 82vh;
}
#g-wagon-video{
    position: relative;
    transform: translateY(-30%);
    width: 100%;;
    z-index: -5;
}
.item-in-video{
    position: absolute;
    width: 100%;
    text-align: center;
    top: 55%;
    color: white;
}
.item-in-video > p{
    margin-top: 3px;
    font-weight: bold;
}
.discover-button{
    color: white;
    background-color: black;
    border: 0px;
    padding: 8px 35px;
    margin-top: 8px;
}
.discover-button:hover{
    background-color: rgb(194, 20, 58);
}
#main-entry{
    position: relative;
    display: flex;
    list-style: none;
    justify-content: space-around;
    width: 100%;
    font-size: 22px;
    font-weight: bolder;
    border-bottom:2px  solid #ccc;
}
.main-entry-container{
    display: flex;
    justify-content: space-around;
    width: 50%;
}
.main-entry-container > a{
    color: black;
    text-decoration: none;
    padding: 12px 0px;
    width: 25%;
    text-align: center;
}
.main-entry-container > a:hover{
    color: rgb(145, 144, 144);
    text-decoration: none;
}
#news-and-events{
    padding: 110px 100px;
    width: 100%;
}
#nande-heading{
    width: 100%;
    text-align: center;
    z-index: 5;
}
.nande-container{
    padding:27px 0px ;

}
.nande-item-container{
    padding: 20px;
}
.nande-container > a:hover{
    text-decoration: none;
}
#nande-item-container-hide{
    display: none;
}
.nande-image > img{
    width: 100%;
}
.nande-description{
    margin-top: 33px;
}
.nande-description  > h4{
    color: black;
    font-size: 18.5px;
    font-weight:bold;
}
.nande-description > p{
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 18px;
    color: rgb(126, 125, 125);
}
.nande-description > p > strong{
    font-family: 'Open Sans', sans-serif;
}
.nande-button{
    width: 100%;
    text-align: center;
}
.row > .nande-button > a > button{
    color: white;
    background-color: black;
    border: 0px;
    padding: 8px 35px;
    margin:auto;
    font-size: 22px;
}
.row > .nande-button > a > button:hover{
    background-color: rgb(194, 20, 58);
}
.picture-teaser-container{
    position: relative;
    width: 100%;
}
.picture-teaser-container > picture > img{
    width: 100%;
}
.picture-teaser-description  > h4{
    font-size: 34px;
}
.teaser-description-white{
       color: white;
}
.teaser-description-black{
       color: rgb(0, 0, 0);
}
.discover-button-white{
       color: black;
       background-color: white;
}
.discover-button-white:hover{
       color: white;
}
#picture-teaser-description-1{
    left: 8%;
    position: absolute;
    bottom: 12%;
    cursor: context-menu;
}

#picture-teaser-description-2{
    text-align: end;
    bottom: 15%;
    right: 10%;
    position: absolute;
    cursor: context-menu;
}
#picture-teaser-description-2 h4{
    font-size: 25px;
}
#picture-teaser-description-3{
    text-align: start;
    left: 10%;
    position: absolute;
    top: 10%;
    padding: 20px 0px;
    cursor: context-menu;
}
#picture-teaser-description-4{
    text-align: center;
    left: 42%;
    position: absolute;
    bottom: 15%;
    padding: 20px 0px;
    cursor: context-menu;
}
#picture-teaser-description-4 h4{
    font-size: 29px;
    padding-bottom: 20px;
}
#picture-teaser-description-5{
    text-align: center;
    left: 29%;
    bottom: 15%;
    position: absolute;
    padding: 20px 0px;
    cursor: context-menu;
}
#picture-teaser-description-5 h4{
    font-size: 29px;
}
.picture-teaser-container > video{
    width: 100%;
}
#picture-teaser-description-6{
    text-align: center;
    position: absolute;
    top:40%;
    left: 43%;
    padding: 20px 0px;
    cursor: context-menu;
}
#picture-teaser-description-6 > h4{
    font-size: 28px;
}
#picture-teaser-description-7{
    position: absolute;
    top:10%;
    left: 10%;
    padding: 20px 0px;
    cursor: context-menu;
}
#picture-teaser-description-7 > h4{
    font-size: 23px;
}
#picture-teaser-description-8{
    text-align: center;
    position: absolute;
    top:27%;
    left: 39%;
    padding: 20px 0px;
    cursor: context-menu;
}
#picture-teaser-description-8 > h4{
    font-size: 28px;
}
#picture-teaser-description-9{
    text-align: center;
    position: absolute;
    top: 40%;
    left: 35%;
    transform: translateY(-22%);
    padding: 20px 0px;
    cursor: context-menu;
}
#picture-teaser-description-9 > h4{
    font-size: 18px;
}
#picture-teaser-description-9 > h4 > a > button{
    margin-left: 15px;
}
footer{
    padding:80px 0px;
}
.footer{
    padding-bottom: 0px;
    width: 100%;
}
.footer-link{
    text-align: center;
    width: 100%;
}
.footer-link-container{
    margin-bottom: 3rem;
}
.footer-link-container > a{
    color: black;
    text-decoration: none;
    font-size: 20px;
}
.footer-link-container > a:hover{
    color:rgb(194, 20, 58) ;
    text-decoration: none;
}
.footer-social{
    padding-top: 0px;
    width: 100%;
}
.footer-social-container{

    text-align: center;
}
.footer-social-container > a{
    color: black;
    text-decoration: none;
    width: 25%;

}
.footer-social-container > a:hover{
    text-decoration: none;
    color:rgb(194, 20, 58) ;
}
.footer-social-container > a > i{
    font-size: 40px;
}
@media(max-width:864px) {
    .item-in-video{
        color: rgb(0, 0, 0);
    }
}
@media(max-width:992px) {   
    #nande-item-container-hide{
        display: block;
    }
    #news-and-events {
        padding: 60px 18px;
    }
}
@media(max-width:575px) {
    .item-heading{
        font-size: 20px;
    }
    #logo {
        height: 28px;
        padding-top: 4px;
    }
    .nav-items > div > i{
        font-size: 27px;
    }
    #main-entry{
        flex-direction: column;
        border:none;
    }
    .main-entry-container{
        width: 100%;
        border-bottom: 2px solid #ccc;
    }
    .main-entry-container > a{
        width: 50%;
    }
    .row > .nande-button > a > button {
        font-size: 16px;
    }
    .picture-teaser-description > h4 {
        font-size: 20px;
    }
    .teaser-description-black {
        font-size: 12px;
    }
    .teaser-description-white {
        font-size: 12px;
    }
    .discover-button{
        font-size: 11px;
        padding: 6px 20px
    }
    #picture-teaser-description-2 h4 {
        font-size: 18px;
    }
    #picture-teaser-description-3 {
        top: unset;
        bottom: 12%;
        padding: 0px;
    }
    #picture-teaser-description-4 h4 {
        font-size: 22px;
        padding-bottom: 0px;
    }
    #car-4-sale-botton{
        padding: 6px 18px
    }
    #picture-teaser-description-4 {
        left: 32%;
        bottom: 9%;
    }
    #picture-teaser-description-5 {
        left: 10%;
        bottom: 5%;
    }
    #picture-teaser-description-5 h4 {
        font-size: 17px;
    }
    #picture-teaser-description-6 {
        top: 30%;
        left: 32%;
        padding:0px;
    }
    #picture-teaser-description-6 > h4 {
        font-size: 20px;
        margin: 0px;
    }
    #picture-teaser-description-7 {
        top: 0%;
        left: 6%;
    }
    #picture-teaser-description-7 > h4 {
        font-size: 16px;
    }
    #picture-teaser-description-8 {
        top: 13%;
        left: 20%;
    }
    #picture-teaser-description-8 > h4 {
        font-size: 18px;
    }
    #picture-teaser-description-9 {
        left: 17%;
    }
    #picture-teaser-description-9 > h4 {
        font-size: 15px;
    }
    footer {
        padding: 54px 0px;
        text-align: -webkit-right;
    }
    .footer-social-container > a > div {
        font-size: 11px;
    }
}