html, body{
    scroll-behavior: smooth;
    font-family: Verdana,sans-serif;
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
  
    margin: 0;
    display: block;
    min-height: 100vh;
}



h1, h2, h3 {
    font-weight: 200;
    
}

p{
    font-family: Verdana,sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

body::-webkit-scrollbar {
    width: 0.25rem;
}

body::-webkit-scrollbar-track {
    background: whitesmoke;
}

body::-webkit-scrollbar-thumb {
    background: grey;
}

.topnav{
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 1;
}

.navarea{
    width: 100%;
    overflow: hidden;
    padding: 8px 16px!important;
    color: #000!important;
    background-color: #fff!important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    letter-spacing: 4px;
    white-space: normal;
}

.nav-bar-item {
    padding: 8px 16px;
    float: left;
    width: auto;
    border: none;
    display: block;
    outline: 0;
   
}

.nav-right {
    float: right!important;
    margin-right: 2%;
    
}
.nav-btn, .nav-button {
    border: none;
    display: inline-block;
    padding: 8px 16px;
    vertical-align: middle;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: inherit;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    
    }
    .nav-button:hover{
        background-color: rgb(177, 176, 176);
    }

    .overlay {
      
        height: 100%;
        width: 0;
        position: fixed; 
        z-index: 1; 
        left: 0;
        top: 0;
        background-color: rgb(0,0,0); 
        background-color: rgba(0,0,0, 0.9); 
        overflow-x: hidden; 
        transition: 0.5s; 
      }
      
      
      .overlay-content {
        position: relative;
        top: 25%; 
        width: 100%; 
        text-align: center; 
        margin-top: 30px; 
      }
      
      
      .overlay a {
        padding: 8px;
        text-decoration: none;
        font-size: 36px;
        color: #ffffff;
        display: block; 
        transition: 0.3s; 
      }
      
      
      .overlay a:hover, .overlay a:focus {
        color: #f1f1f1;
      }
      
      
      .overlay .closebtn {
        position: absolute;
        top: 20px;
        right: 45px;
        font-size: 60px;
      }
    
      .smallnav {
        display: none;
        flex-direction: row;
        position: sticky;
        top: 0;
        z-index: 99999;
        background: rgb(255, 255, 255);
        
    
      }
    
      .ToppName {
        font-size: 15px;
        margin-left: 20px;
        color: rgb(247, 0, 0);
       
      }
    
      .oppen {
        position: absolute;
        right: 20px;
        color: #000;
        
        
      }

      /* Main page */
    

    section {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        
    }

    header{
        background: rgb(255, 255, 255);
        height: 400px;
        align-items: center;
        justify-content: center;
        margin-top: 54px;
    }
    .header-logo{
        padding: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-logo img{
        size: 100%;
    }

    .line {
        height: 50px;
        background-image: url(https://d3t14gfu9ehll4.cloudfront.net/themes/b48e939b-4c72-49cd-a896-8d4fcb7ba433/root_LargeDivider.png);
        background-size: auto 50px;
        background-position: center center;
        background-repeat: repeat-x;
        margin-top: 50px;
    }

    .aboutus {
        background-color: rgb(255, 255, 255);
        color: rgb(0, 0, 0);
        text-align: center;
        margin-top: 50px;
    height: 400px;
    }

    

    .content{
        display: flex;
    flex-direction: row;
    margin-top: 40px

    }

    .content-left {
        padding: 0 50px;
        text-align: center;
        margin-top: 0px;
        
    }
    
    .content-right {
        padding: 0 50px;
        text-align: center;
    
    }

    .partners{
        color: black;
        font-size: 20px;
        margin-top: 60px;
    }

    .partners h1{
        border-bottom: 1px solid #b1b1b1;
    }
   
    .sponsors {
        background: white;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    
    .sponsors img {
        width: 230px;
        height: 140px;
        margin: 30px;
    }

    /* Medlemskap page */

    .MedlemEvent-page{
        margin-top: 200px;
        box-shadow: 0 1px 10px rgba(0,0,0, 0.12), 0 1px 10px rgba(0,0,0, 0.24);
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }

    .Medlem-body {
        max-width: 400px;
        letter-spacing: 2px;
        padding: 60px;
        
    }

    /* Styrelse page */


    .Styrelse-page{
        margin-top: 100px;
        box-shadow: 0 1px 10px rgba(0,0,0, 0.12), 0 1px 10px rgba(0,0,0, 0.24);
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding: 24px;
    }

    .Styrelse-body {
        display: flex;
        flex-direction: column;
        letter-spacing: 2px;
        
    }

    .Styrelse-info {
        display: flex;
        flex-direction: column;
        width: auto;
        
    }

    .Styrelse-info h1 {
        font-size: 40px;
        
    }

    .styrelse-bild {
        width: 800px;
    }

    .styrelse-bild img {
        width: 100%;
        height: auto;
    }

    .person-info{
        display: flex;
        flex-direction: column;
        width: auto;
        
    }

    .person-info h3{
        font-size: 30px;
        
    }

    .person-text h2{
        font-size: 20px;
    }

    .person-bild {
        width: 400px;
    }

    .person-bild img{
        width: 100%;
        height: auto;
    }

    /* Evenemang page */

    .Event-page{
        margin-top: 100px;
        box-shadow: 0 1px 10px rgba(0,0,0, 0.12), 0 1px 10px rgba(0,0,0, 0.24);
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
        padding: 24px;
        
    }

    .Event-body{
        max-width: 800px;
        margin: 0 auto;
        
    }

    .Event-body h3.Månad{
        font-size: 40px;
        text-align: center;
        border-bottom: 1px solid #b1b1b1;
    }

    .Event-body .event{
        box-shadow: 0 4px 16px -8px rgba(0, 0, 0, 0.4);
        display: flex;
        border-radius: 8px;
        margin: 32px 0;
        
    }

    .event .event-left {
        background: #222;
        min-width: 82px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #f1f1f1;
        padding: 8px 48px;
        font-weight: bold;
        text-align: center;
        border-radius: 8px 0 0 8px;
    }

    .event .event-left .date {
        font-size: 56px;
    }
    .event .event-left .month {
        font-size: 16px;
        font-weight: normal;
    }

    .event .event-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 24px;
    }

    .event .event-right h3.event-title {
        font-size: 24px;
        margin: 24px 0 10px 0;
        color: rgb(212, 3, 3);
        text-transform: uppercase;
        font-weight: bold;
    }

    .event .event-right .event-timing {
        background: #fff8ba;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100px;
        padding: 8px;
        border-radius: 16px;
        margin: 24px 0;
        font-size: 14px;
    }

    .event .event-right .event-timing img{
        height: 20px;
        padding-right: 8px;
    }

    .event .event-right .event-button {
        display: flex;
        width: 100px;
        padding: 5px;
        font-size: 14px;
        margin: 0;
        
        
    }
    .event .event-right .event-button button{
    border: 1px solid transparent;
    padding: 10px 24px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #000000;
    transition: background-color 0.2s ease-in-out 0s, opacity 0.2s ease-in-out 0s;
    float: left;
    color: #fff;
    margin-bottom: 24px;
    
    }

    .event .event-right .event-button button:hover {
        color: #241c15;
        background-color: rgb(245, 245, 245);
    }

    /* footer */

    .kontakt-page{
        margin-top: 200px;
        box-shadow: 0 1px 10px rgba(0,0,0, 0.12), 0 1px 10px rgba(0,0,0, 0.24);
        width: 800px;
        margin-left: auto;
        margin-right: auto;
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
    }

    .kontakt-body {
        max-width: auto;
        letter-spacing: 2px;
        display: flex;
        flex-direction: column;
        
    }

    .kontakt-info {
        display: flex;
        align-items: center;
        margin: 10px 0;
        
    }

    .kontakt-info img{
        width: 30px;
        margin-right: 20px;
    }

    .location-info {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 10px 0;
    }

    .location-info img{
        width: 30px;
        margin-right: 20px;
    }

    .map {
        width: 100%;
        height: auto;
        
    }

    iframe{
        width: 100%;
        height: 600px;
    }

    

    /* footer */

    footer {
        background: rgb(255, 255, 255);
        box-shadow: 0 1px 10px rgba(0,0,0, 0.12), 0 1px 10px rgba(0,0,0, 0.24);
        color: #000000;
        padding: 30px 20px;
        text-align: center;
        position: sticky;
        top: 100%;
        margin-top: 100px;
        height: 200px;
        letter-spacing: 2px;
        
        
    }

    @media screen and (max-width:800px) {
        .navarea {
            display: none;
        }
    
        .main {
            margin-left: 0;
        }
    
        .oppen {
            display: block;
        }
    
        footer {
            margin-left: 0;
        }
        .smallnav {
        
            display: flex;
            
        
          }

          .kontakt-page{
            margin-top: 100px;
            width: auto;
            
            
        }

        .MedlemEvent-page{
        
            width: auto;
            
            
        }
        
    }

    @media screen and (max-width:550px) {
        .event {
            flex-direction: column;
        }

        .event .event-left {
            padding: 0;
            border-radius:  8px 8px 0 0;
        }

        .event .event-left .event-date .date,
        .event .event-left .event-date .monthh {
            display: inline-block;
            font-size: 24px;
        }

        .event .event-left .event-date{
            padding: 10px 0;
        }

        .Event-page{
            margin-top: 100px;
            box-shadow: 0 1px 10px rgba(0,0,0, 0.12), 0 1px 10px rgba(0,0,0, 0.24);
            padding: 24px;
            width: auto;
            
        }

        .MedlemEvent-page{
            margin-top: 100px;
            box-shadow: 0 1px 10px rgba(0,0,0, 0.12), 0 1px 10px rgba(0,0,0, 0.24);
            width: auto;
            padding: 0;
            
            
        }

        header {
            background: rgb(255, 255, 255);
            height: auto; 
           
        }

        .header-logo img {
            width: 350px;
        }

        .content {
            flex-direction: column;
            
        }

        .aboutus {
            
            height: auto;
        }

        .sponsors {
            
            flex-direction: column;
            
        }

        .sponsors img {
            width: 220px;
            height: 130px;
            margin: 30px;
        }

        .Styrelse-page {
            margin-top: 100px; 
            width: auto;
            padding: 24px;
        }

        .styrelse-bild {
            width: auto;
        }

        .person-bild {
            width: 200px;
        }

        iframe{
            width: 100%;
            height: 400px;
        }

    
        
    }