/* Navigation bar optimized for small screens
 (but very small screens still show it on two lines)
 and hover effect deactivated (on mobile it persists after clicking) */

nav ul li a {
    padding-top: 13px;
    padding-bottom: 13px;
    padding-left: 0;
    padding-right: 0;
    min-width: 20vw;
    font-size: 17px;
}

nav ul li a:hover {
    background-color: #1B98E0;
}

button:hover {
    background:none;
}   /*  remove hover from buttons */

nav ul li a.active {
    background-color: #35B2FA;
}


/* pictures centered */

div.personalpicture img{
    float: right;
    margin-top: 0px;
    margin-bottom: 0px;
    margin-right: 1%;
    margin-left: 1%;
    width: 35%;
}


div.otherpicture {
    display: none;
}



div.otherpicture2 {
    margin-top: 35px;
    margin-bottom: 25px;
    margin-right: 15%;
    margin-left: 15%;
    text-align: center;
    font-size: 16px;
    width: 70%;
}

div.otherpicture2 img{
    width: 100%;
    box-shadow: 0px 0px 25px black;
    border-radius: 5px;	
}



/* some text is centered */

h1 {
    text-align:center;
}

h1 {
    text-align:center;
}

h3 {
    text-align:center;
}

footer {
    text-align:center;
}


/* Header  */

header {
    background-image: url("simplewaves-mobile.png");
    background-size: 600px;
    background-position: right top;
    height:220px;  /* adjusted for padding */
}




/*  ------------  background for waves on parallax  scroll -------------  */

/*    unfortunately background-attachment: fixed doesn't work on mobile, so I gave up    */


transparent {
    display: none;
}

/*  this works with image on center 
html {
    background-image: url("simplewaves-mobile.png"), linear-gradient(0deg, #247BA0 50%, #006494 50%);   
    background-size: 600px;
    background-position: right center;
    background-repeat: repeat-x;
    background-attachment: fixed;
}
*/


/*
  this works with image on bottom
html {
    background-image: url("simplewaves-mobile.png");   
    background-size: 600px;
    background-position: right bottom;
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-color:#006494;
}
*/



/*  ----------   ----------- */



h1 {
    padding-top: 3px;
    font-size: 50px;
}

header h3 {
    font-size: 20px;
    padding-top: 37px;
}

header span {
    background-color: rgba(20, 44, 83,0.75);
}

div.flags{
  margin-top: 22px;
  margin-right: 10px;
}
