
body {
    margin: 0;
    font-family: Arial, sans-serif;
   
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #000000;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-bottom: 3px solid #2e6edb;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

nav .logo img {
    height: 40px;
}

nav .menu {
    width: 100%;
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav .menu li {
    margin-left: 20px;
}

nav .menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

nav .menu li a:hover {
    color: #2e6edb; 
    border-bottom: 2px solid #d0101d; 
}



.side1{
    height: 100vh;
    color: #efefec;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 5px solid #d0101d; 
    width: 100%; 
    height: 650px; 
    display: block; 
    margin-top: 0; 
}

.side1 h1 {
    font-size: 48px;
    margin: 0;
}

.side1 p {
    font-size: 20px;
    margin: 10px 0 20px;
}

.side1 .cta {
    padding: 10px 20px;
    background-color: #1a39b7; 
    color: #fff;
    text-decoration: none;
    font-size: 23px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.side1 .cta:hover {
    background-color: #be2e2e;
  
}


section {
    padding: 50px 20px;
    text-align: center;
}

#side2 img {
    max-width: 100%;
    height: auto;
    border: 5px solid #2e6edb; 
   
    
}

#side2 h1{
   color: #ffffff;
}





#side3{
    background-image: url(IMG/Innovation3_2.jpg);
    background-size: cover;
    width: auto;
    height: 700px;
    border-bottom: 5px solid #0b2758;
    color:#ffffff

}

#side3 .p{
    color: #0b2758;
}


#side4 p {
    /*border-left: 4px solid; */
    padding-left: 10px;
    margin: auto;
  
}

#side4{
    background-image: url(IMG/Storbmw_2.jpg);
    background-size: cover;
    width: auto;
    height: 700px;
    border-bottom: 5px solid #0b2758;
    color:#000000;
}



footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    border-top: 3px solid #001e50; 
}

nav .menu li a {
    color: #bbb; 
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}


nav .menu li a:hover {
    color: #2e6edb; 
    border-bottom: 2px solid #d0101d;
}


nav .menu li a.active {
    color: #d0101d; 
    border-bottom: 2px solid #2e6edb; 
}

#home{
    background-image: url("IMG/bilde5.jpg");
    background-size: cover;
    width: auto;
    color: #d0101d;
    
}

html {
    scroll-behavior: smooth;
}

h1{
    color: #ffffff;
}

#side2{
    background-image: url("IMG/bilde4_2.jpg");
    background-size: cover;
    height: 650px;
    border-bottom: 5px solid #0b2758;
    color: #fff;
}

#innovasjon{
    padding: 10px;
    color:#ffffff;
    text-decoration: none;
    font-size: 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
    
}

#innovasjon:hover{
    background-color: rgba(255, 255, 255, 0.6);
}


#onlytrack{
    padding: 10px;
    color: #000000;
    text-decoration: none;
    font-size: 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

#onlytrack:hover{
    background-color: rgba(255, 255, 255, 0.6);
}

#ourhistory{
    padding: 10px;
    color: #e2e3e0;
    text-decoration: none;
    font-size: 30px;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

#ourhistory:hover{
    background-color: rgba(255, 255, 255, 0.6);
}

.HistoryInfo{
    background-image: url(IMG/oldbmw.avif);
    background-size: cover;
    width: 100%;
    height: 700px;
    text-align: center;
}

.InnovasjonInfo{
    background-image: url(IMG/M3.jpg);
    background-size: cover;
    height: 700px;
    color: #ffffff;
    
}

.Use_of_carInfo{
    background-image: url(IMG/familycar_2.jpg);
    background-size: cover;
    width: 100%;
    height: 700px;
    color:#0b2758;
    
}

.dropbtn {
    background-color:#000000;
    color: white;
    padding: 10px;
    font-size: 16px;
    border-radius: 7px;
    border-bottom: #1a39b7;
    cursor: pointer;
    margin-right: 100px;
}
  
.dropbtn:hover, .dropbtn:focus {
    background-color: #242424;
}
  
#myInput {
    box-sizing: border-box;
    background-position: 14px 12px;
    background-repeat: no-repeat;
    font-size: 16px;
    padding: 14px 20px 12px 45px;
    border: none;
    border-bottom: 1px solid #ddd;
}
  
  
#myInput:focus {outline: 3px solid #ddd;}
  
.dropdown {
    position: relative;
    display: inline-block;
    margin-left: 10%;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    min-width: 200px;
    overflow: auto;
    border: 1px solid #ddd;
    z-index: 1;
    right: 100px;
    
}
  
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
  
.dropdown a:hover {background-color: #ddd;}
  
.show {display: block;}


.skyggeBak{
    padding: 15px;
    background-color: rgba(193, 183, 140, 0.3);
    border-radius: 9px;
}


.skyggeBak2{
    padding: 15px;
    background-color: rgba(96, 134, 151, 0.3);
    border-radius: 9px;
}



.skyggeBak3{
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 9px;
}