/* Reset Webbreader Standards */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 16px;
}

html,
body {
  width: 100vw;
  max-width: 100%;  
  height: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  background-color: black;  
  color: white;  
  font-family: 'Roboto', sans-serif;
}
.wrapper {  
  box-sizing: border-box;
  margin: 1px auto; 
  max-width: 70vw;  
  min-height: 100%;
}

/* Settings for the header */
header {
  /* The image to used */
  background-image: url("pics/header/sunrise-1765027_redigerad.jpg");  
  /* Center and scale the image nicely */
  background-position: center;  
  background-repeat: no-repeat;
  /* Resize: image to fit */
  background-size: cover;
  /* Min height of header*/  
  font-family: 'Montserrat', sans-serif;  
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 15px;  
}

#theworldof {
  display: flex;
  flex-direction: row;
  font-size: 2vw;
  max-width: 33%;  
  margin: 0 auto;
  padding-top: 20px;  
}
  #theworldof:before, #theworldof:after{
    content: "";
    flex: 1 1;
    border-bottom: 1px solid;
    margin: auto;
  }
  #theworldof:before {
    margin-right: 10px
  }
  #theworldof:after {
    margin-left: 10px
  }
  #patronum_headline{
    margin: 0 auto;  
    width: 100%;
    min-width: 100%;
    text-align: center;
    font-size: 4vw;                 
  }
a{
  color: #3CAA3C;
  text-decoration: none;
}
/* visited link */
a:visited {
  color: #3CAA3C;
}
/*link before*/




/* Menu settings */
nav {  
  color:black;   
}
nav ul{
  list-style-type: none;
  margin: auto;
  padding-left: 0;
}
nav ul li{
  display: inline;
  justify-content: space-between;  
  margin-inline: 0.7vw;   /* make rule for diffrent scrensize */
  margin: 0 auto;
}

/* Navbar links */
nav ul li a {  
  background-color: rgba(255,255,255);
  color:black;
  text-align: center;
  padding-top: 0.6vh; /* make rule for diffrent scrensize */
  padding-right: 0.4vw; /* make rule for diffrent scrensize */
  padding-bottom: 0.6vh; /* make rule for diffrent scrensize */
  padding-left: 0.4vw; /* make rule for diffrent scrensize */
  border-radius: 10px; 
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;  
}

nav ul li a:hover {
  background-color:rgba(7, 7, 7, 0.3);
  color: rgb(255, 255, 255);
}

nav ul li a:visited {
  color: black;
}

/* Settings for the "Middle block" */
.main{
  display: flex;
  flex: 1;    
  min-height: 76vh;  
  background-color: rgba(0, 0, 0, 0);
  box-sizing: border-box;
}

.main img{
  width: 100%;  
}

.sidebars{
  min-width: 15%;
  max-width: 15%; 
  box-sizing: border-box;  
  min-height: 100%;
  overflow: hidden;
  background-color: rgb(0, 0, 0);  
  box-sizing: border-box;    
}

/* Settings for the left sidebar */
.left-sidebar {  
  flex:1;
  order: 1;  
}

/* Settings for the middle article*/
.middle {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;   
  flex: 3;
  order: 2;
  background-color: rgb(0, 0, 0);
  min-width: 70%;
  max-width: 70%; 
  min-height: 100%;
  padding: 10px 20px 0px 20px;
}
.middle-article ul {
  padding-left: 25px;
}
.middle article{
  min-height: 95%;
}
.page_title_big {
  margin-top: 0px;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;  
  text-align: center;
  font-size: 2rem;
}

.page_title_small {
  margin-top: 0px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;  
  text-align: center;
  font-size: 1.5rem;
}
.page_title_small_left{
  margin-top: 10px;
  margin-bottom: 0px;
  font-family: 'Montserrat', sans-serif;  
  text-align:left;
  font-size: 1.5rem;
}
.page_title_smaller_left{
  margin-top: 10px;
  margin-bottom: 0px;
  font-family: 'Montserrat', sans-serif;  
  text-align:left;
  font-size: 1.2rem;
}
.page_title_small_left_link{
  margin-top: 10px;
  margin-bottom: 2px;
  font-family: 'Roboto', sans-serif;
  text-align:left;
  font-size: 1rem;
  text-decoration: underline;
}


figcaption{
text-align: center;
font-size: 1.2rem;
}

/* Settings for the right sidebar */
.right-sidebar { 
  flex:1;
  order: 3; 
}

/* Settings for the footer */
footer {
  margin: 0 auto;
  margin-top: 15px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;    
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  text-align: center;     
}

/* If the screen is werry small */
/* set small margin */
@media only screen and (max-width: 800px) {
  body{
    margin: 0 auto;
    justify-items: center;
  }
  .wrapper {     
    margin: 0 auto; 
    max-width: 100vw;  
    min-height: 100%;
    padding:5px;
  }
  .page_title_big {    
    font-size: 1.5rem;
  }
  
  .page_title_small {    
    font-size: 1rem;
  }
  .page_title_small_left{    
    font-size: 0.9rem;
  }
  .page_title_smaller_left{    
    font-size: 0.8rem;
  }
  .page_title_small_left_link{
    font-size: 0.9rem;    
  }
}
/* If the screen is werry small */
/* set small margin */
@media only screen and (max-width: 600px) {
  body{
    margin: 0 auto;
    justify-items: center;
  }
}


/* If the screen is werry small */
/* set small margin */
@media only screen and (max-width: 376px) {
body{
    margin: 0 auto;
    justify-items: center;
}
#theworldof {
    
    font-size: 2vw;
    max-width: 33%;    
    padding-top: 12px;
}

#patronum_headline {
  margin: 0 auto;
  width: 100%;
  min-width: 100%;
  text-align: center;
  font-size: 8vw;
}
nav ul li a {
  background-color: rgba(255,255,255);
  color: black;
  text-align: center;
  padding-top: 0.1vh;
  padding-right: 0.4vw;
  padding-bottom: 0.1vh;
  padding-left: 0.4vw;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.7rem;  
}
.page_title_big {
  font-size: 1.1rem;
}
.page_title_small {
  font-size: 0.7rem;
}
.page_title_small_left {
  font-size: 0.7rem;
}
.page_title_small_left_link {
  font-size: 0.6rem;
}
footer h3{
  font-size: 0.8rem;
}

}



