/*CSS för Morano-webbplats*/
@import url('https://fonts.googleapis.com/css?family=Poppins');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&display=swap');

*{
    margin: 0;
    padding:0;
    font-family: Poppins;
    box-sizing: border-box;
}

body{
    /*background-color:#82a871;*/
    background-color: #eef4eb;
    margin: 0;
    padding: 0;

    min-height: 100vh;
    display: flex;
    flex-direction: column;


    /*background-image: url(images/bg2.png);*/
    background-size: cover;
    background-position: center;
    height: ;
    filter: blur();
    z-index: ;
    overflow: ;
    color: ;
}

/*HEADER*/
.container{
    width: 100%;
    position: ;
    /*overflow: hidden;*/
    background-color: #c7ddbd;
    display: flex;
    box-shadow: 0 1px 1px 1px #7b996e;
    /*justify-content: center; */
    z-index: 1;
}

.logolink{
    margin: 0 0 0 5%;
    display: flex;
    text-decoration: none;
    color:#576e4e;
}
.logoimg{

    /*LÖS LOGGA I LITEN SKÄRM*/
    width: auto;
    height: ;
    max-width:10%;
    max-height: auto;
    justify-content: ;
    object-fit: contain;
    border-radius: 50%;
}
.logolink h1{
    font-family: 'charm';
    display: ;
    margin: auto 1%;
    padding: 0;
}


/*MENY*/
nav{
    margin: auto;
    height: 100%;;
    vertical-align: ;

}

nav ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align:;
    
    /*overflow: hidden;*/
    width: 100%;
    list-style: none;
    display: ;
    justify-content: flex-end;
    align-items: center;
}
.desktopbar{
    display: flex;
    flex-wrap: wrap;
}
nav li{
    display: ;
    margin:;
    height: 50px;
}
nav a{
    color: #576e4e;
    text-decoration: none;
    
    display:flex;
    text-align: ;
    font-size: 20px;
    border-radius: 3%;

    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;

}
nav a:hover{
    background-color: rgba(0, 128, 0, 0.266);
    transition: 0.2s;
}

/*Första ul som är dold förutom via funktionen showSidebar()*/
.sidebar{
    position: fixed;
    top: 0; 
    right: 0;
    height: 100vh;
    width: 350px;
    background-color: #cdd6c8ee;
    backdrop-filter: blur(20px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    
    
    
}
.sidebar li{
    width: 100%;
  }
.sidebar a{
    width: 100%;
    color: #333e2d;
}

  /*Andra ul som består av synliga menyknappar och dold menu-button och som växlar vid liten skärm */
.menu-button{
    display: none;

  }



/**/




/*MAIN*/
main{
    
    margin: 20px auto;
    background-color: ;
    width: 80vw;
    max-width: ;
    min-width: fit-content;
}


.banner{
    background-image: url(images/banner2.png);
    background-size: cover;
    background-position: center center;
    height: 100vh;
    filter: blur();
    z-index: -1;
    overflow: ;
    
    box-shadow:
    inset -1.5em -2em 7em 3em rgb(0 200 0 / 30%),
    0 0 0 3px rgb(28, 28, 40),
    0.3em 0.3em 2em 2em rgba(0, 0, 0, 0.3);



    /*position: fixed;
    top: 100px;
    width: 100%;*/
}

/*
.banner::after{
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
    background: grey ;
    opacity: 0.7;
    z-index: -1;
}
*/

.banner h2{
    text-align: center;
    align-content:end;
    height: 90%;    

    font-size: 4em;
    color: white;
    z-index: 1;
/*
    

    */
}

.form{
    width: ;
    max-width: 70vw;
    min-width: 300px;
    margin: 20px auto;
    
    padding: 20px;
    color: black;

    background-color:;
    box-shadow: black 0 0 15px 3px;
    
    box-shadow:
    inset 0 0 5em 0.3em rgb(0 200 0 / 30%),
    0 0 10px 1px rgb(28, 28, 40),
    0.3em 0.3em 4em 1em rgba(0, 0, 0, 0.3);
}
.form h2{
        margin: 30px auto;

}
.form p{
    text-align: center;
    margin: 0 auto;
    max-width: 80%;

}

form{
    margin: 20px 0 0;
    background-color: ;
    padding: 1rem;

    
}

fieldset{
    border: none;
    padding: 1rem 0;
    border-bottom: ;
    width: 100%;

    display: flex;
    flex-wrap: wrap;
    
    justify-content: space-between;
    
    
}
fieldset:last-of-type {
    border-bottom: none;
}

fieldset label{
    max-width: 45%;
    flex: 50%;
}
fieldset label input{
    margin: ;
}

.inline{
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;

}
.inline label {
    
    vertical-align: ;
    
  }
  
.blockLine label{
    display: ;
    margin: 0.3rem 0;
    
}
.blockLine label:nth-of-type(3){
    

}

.blockLine input, textarea, select{
    width: 100%;
    min-height: 2em;
    background-color: white;
    border: 1px solid grey;
    color: black;
    flex: 50%;
    padding: 2px 5px;
    
}


button[type="submit"] {
    display: block;
    width: 60%;
    margin: 30px auto;
    height: 2em;
    font-size: 1.1rem;
    background-color: #7b996e;
    opacity: 0.7;
    border-color: black;
    min-width: ;
    cursor: pointer;
    color: white;

  }
button[type="submit"]:hover{
    opacity: 1;
    transition: 0.5s;
  }

h2{
    text-align: center;
    color: ;
}
p{
    color: ;
    background-color: ;
}

.checkboxes{
    background-color:;
    width: 100%;
    height: auto;
    padding: 20px;
    box-sizing: border-box;
    /*Lösning: ha i parent display: flex; och flex-wrap: wrap; sedan i child max-width:49%; och flex:50%;*/
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    

}
.checkboxes label{
    cursor: pointer;
    max-width: 49%;
    flex: 50%;
    text-align: left;
    
    
}
.checkboxes label input{
    margin: 0 5px;
    
}

.comment {
    /*Funkar ej*/

    display: flex;
    flex-wrap: wrap;
    padding: ;
    overflow: ;

    margin: 0 0 20px 0;
}
label textarea{
    flex: 100%;
}

/*Om Oss*/
article{
    max-width: 70vw;
    min-width: 300px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    padding: 2em;
    /*background-color: #c7ddbd;
    box-shadow: black 0 0 15px 3px;*/
    box-shadow:
    inset 0 0 5em 0.3em rgb(0 200 0 / 30%),
    0 0 10px 1px rgb(28, 28, 40),
    0.3em 0.3em 4em 1em rgba(0, 0, 0, 0.3);
    
}
article h2{
    width: 100%;
    margin: 30px auto;
}

article img{
    max-width: 45%;
    object-fit: cover;
    border: 1px black solid;
    flex: 1;
    border-radius: 5%;
}
article p{
    margin: 0 0 0 30px;
    flex: 1;
}



/*FOOTER*/
footer{
    background-color:rgba(0, 128, 0, 0.266);
    width: 100%;
    padding: 0 0 50px;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    box-sizing: border-box;
    margin: 30px 0 0;

}
footer div{
    margin: 0 auto;
}
footer h3{
    font-size: 1.3em;
}

.footerIcons{
    width: 100%;
    flex: 100%;
    justify-content: ;
    text-align: center;
    background-color: rgba(0, 128, 0, 0.266);
    margin: 0 auto 25px;
    padding: 10px;
}
.footerIcons a{
    text-decoration: none;
    background-color: rgba(18, 75, 18, 0.474);
    padding: 10px;
    margin: 10px;
    border-radius: 50%;
    justify-content: ;
    

}
.footerIcons a i{
    font-size: 2em;
    color: white;
    opacity: 0.9;
    vertical-align: middle;

}
/*Hover effect*/
.footerIcons a:hover{
    background-color: white;
    transition: 0.5s;
    
}
.footerIcons a:hover i{
    color:  rgba(0, 128, 0, 0.8);
    transition: 0.5s;
}

.footerNav{

}
.footerContact{

}

footer ul li{
    list-style: none;
    font-size: 1em;
}
footer ul li a{
    text-decoration: none;
    color:white;
    opacity: 0.7;
    
}

footer ul li a:hover{
    opacity: 1;
    transition: 0.5s;
}


@media (max-width: 600px) {
    
    

}

  /*För mindre skärmar (<1010px) visas hamburgar-ikon för menyn*/
  @media only screen and (max-width: 1010px) {
    .logolink{
        margin: 0 0 0 1%;
    }
    .logolink h1{
        font-size: 1.5em;
    }

    .hideOnMobile{
        display: none;
    }
    .menu-button{
        display: block;
    }

}

@media(max-width: 400px){
    .sidebar{
      width: 100%;
    }
    .logolink h1{
        font-size: 1.2em;
    }
  }


    

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    
}

/* För ännu mindre skärmar (<786px) ändras elementens utseende på sidan. Kolumn-utseende.
Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
    html,body{
        overflow-x: hidden;
        
    }
    main{        
    }
    
    main > * {
        width: 90vw ;
        padding: 0 0 0 0;
        justify-content: center;
    
    }

    article{
        padding:0 20px 20px 0 ;
    }

    .inline{
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    
    }
    .inline label {
        display: flex;
        vertical-align: ;
        margin: 5px 0;        
      }
      .inline label input{
        
      }

      .blockLine{
    display: block;
    width: ;
    flex:;
    
    }

    .blockLine input{
        margin: 0 0 10px;  
    }


    .blockLine input, textarea, select{
        /* width: 100%;
        min-height: 2em;
        background-color: white;
        border: 1px solid grey;
        color: black;
        flex: 100%;
        padding: 2px 5px; */
        
    }

    .checkboxes{
        
        width: 100%;
        height: auto;
        padding: 20px;
        box-sizing: border-box;
       
        /*Lösning: ha i parent display: flex; och flex-wrap: wrap; sedan i child max-width:49%; och flex:50%;*/
        display: flex;
        flex-direction: column;
        
        margin-bottom: 50px;
        
    }
    .checkboxes label{
        
        display: flex;

        min-width: fit-content;
        margin: 3px 0;
        
    }
    .checkboxes label input{
        margin: 0 5px;
        flex:;
    }

    .banner{
        box-shadow:
    inset -1.5em -2em 7em 3em rgb(0 200 0 / 30%),
    0 0 0 3px rgb(28, 28, 40);
    }

}

@media only screen and (min-width: 1010px) and (max-width:1100px) {
    .logolink{
        margin: 0;
    }
    .logolink h1{
        font-size: 1.5em;
    }
    
    nav a{
        background-color:;
        margin: 0 5px;
        padding: 5px;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1100px) and (max-width:1210px) {
    .logolink{
        margin: 0 0 0 1%;
    }
    .logolink h1{
        font-size: 1.7em;
    }
    nav a{
        background-color:;
        padding: 0 10px;
    }
}

@media only screen and (min-width: 1210px) and (max-width:1360px) {
    nav a{
        padding: 15px;
    }
}



