/*-- only for code that should apply to every page*/
:root {
  --color--b_k:#F2F0ED;
  --color--T_X:#2B362D;
  --color--T_Sus:black;
  --color--B_G:#2B362D;
}

:root .dark-scheme {
  --color--T_X: #3A6E3D;
  --color--b_k: #201C1C;
  --color--F_S: #353B3D;
  --color--O_G:#3A6E3D;
  --color--I_X: #353B3D;
  --color--T_Sus: #b6c3b7;
  --color--B_G:#3A6E3D;
}

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap');
@import url('../fonts/otama.css');

body {
  margin: 0;
}

Header {
  width: 100%;
  position: sticky;
  top: 0;

  font-weight: normal;
  font-style: normal;

  z-index: 100;
}

/*---header---*/
header nav {
  display: grid;
  grid-template-columns: 3fr 4fr 0.25fr 0.7fr;
  background-color: var(--color--b_k);
}

header h1 {
  padding-left: 7%;
  margin: 0%;
  margin-top: 10px;
  margin-right: 50px;

}

header img {
  vertical-align: middle;
  height: 25px;
  margin: auto;

  font-family: 'otama.epregular';
  color: #2B362D;
}

header a .g-signout{
  display: none;
}

h1 {
  text-align: left;
  font-size: 220%;
}

h1, h2, h3, h4, h5, h6{
  font-family: 'otama.epregular';
  color: var(--color--T_X);
}
p, div>a, button{
  font-family: 'Otama';
  font-size: 18px;
}
.gridfront > div > p {
  color:var(--color--T_X);
}

h1 img {
  vertical-align: middle;
  margin-right: 40px;
  height: 100px;
}

nav div a {
  text-decoration: none;
  text-align: center;
}
main li a{
  font-family: 'Quicksand';
}
a {
  margin: auto;
  text-decoration: none;
}
h1 a, footer a{
  color: var(--color--T_Sus);
}

.dropdown-content{
  left: -60px;
}

/*---uploadbutton---*/
header>nav>button {
  cursor: pointer;
  background-color: #A68163;
  border-color: #A68163;
  box-shadow: 0 0 0 0.25rem #a68163;
  color: white;
  border-radius: 1px;
  width: 75px;
  justify-self: center;
  align-self: center;
  border-style: hidden;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
}
/*upload text*/
#feedbacktext{
  margin:0%;
}

/* Upload modal text class */
.up_text{
  text-align: center;
  font-size: 24px;
  color:#A68163;
  margin:0;
}

.umTitle{
  display: grid ;
  grid-template-columns: 1fr auto 1fr ;
  align-items: center ;
  grid-gap: 8px ;
  margin-left:16px ;
}

.bm-grid{
  display: grid ;
  grid-template-rows: 1fr 1fr ;
}

.bm-grid label{
  margin: 0 auto ;
}

.uLine1{
  border-top: 4px solid #A68163 ;
}

input[type="radio"] {
  display:block ;
  -webkit-appearance: none ;
  appearance: none ;
  background-color: #fff ;
}


.submitBTN{
  cursor: pointer ;
  color:white ;
  font-family: Quicksand ;
  background-color: #a68163 ;
  border: none ;
  height: 25px;
}

.submitBTN:hover{
  color: #B6C3B7 ;
}

.fameupload{
  cursor: pointer;
  background-color: #546957 ;
  color:white ;
  display: inline-block ;
  line-height: 2.2em ;
  padding: 0 0.62em ;
  font-size:20px ;
  border: none ;
  text-align: center ;
  width: 50% ;
}
.fameupload:hover{
  color:#B6C3B7 ;
}
.shameupload{
  cursor: pointer;
  background-color:grey ;
  color:white ;
  display: inline-block ;
  line-height: 2.2em ;
  padding: 0 0.62em ;
  font-size:20px ;
  border: none ;
  text-align: center ;
  width: 50% ;
}

.shameupload:hover{
  color:#B6C3B7 ;
}
/* Modal Content */
.modal-content {
  background-color: #fefefe ;
  margin: auto ;
  padding: 20px ;
  border: 1px solid #888 ;
  max-width: 20rem ;
  height: 25rem ;
}

/* The Close Button */
.close {
  cursor: pointer;
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

form {
  padding: 25px
}

#uploadform {
  border: none !important;
}

input {
  margin-bottom: 25px;
}

.uploadbutton {
  text-align: right;
  margin-left: 10px
}

/*---/footer---*/
footer {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  background-color: var(--color--b_k);
  font-size: 150%;
}

footer>a {
  text-decoration: none;
  color:var(--color--T_X)
}

footer img {
  height: 101px;
}

#myLinks {
  display: flex;
}

#myLinks a {
  font-size: 20px;
}


@media screen and (max-width: 500px) {
  footer {
    display:grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
  }

  footer > img  {
    grid-row: 1;
    justify-self: center;
  }

  footer > a {
    text-align: center;
    }
   footer > a ~ a{
     text-align: center;
   }
  }

/*---underline hover---*/
header nav ul {
  text-align: right;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  margin: 0;
}

header nav ul li {
  list-style: none;
  display: inline-block;
  padding: 10px 15px;
  position: relative;
}

header nav ul li a {
  color: var(--color--T_X);
  text-decoration: none;
  font-size: 20px;
}

@media screen and (min-width:991px) {
  nav ul li::after {
    content: "";
    width: 0%;
    height: 1px;
    background: #2B362D;
    display: block;
    margin: auto;
    transition: 0.5s;
    margin-top: -.1em;
  }

  header nav ul li:hover::after {
    width: calc(100%);
  }
}

/*--dropdown profile----*/
/* Dropdown Button */
.dropbtn {
  color: #F2F0ED;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  margin-top: 20px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #F2F0ED;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #F2F0ED;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.topnav{
  display: none;
}

@media screen and (max-width:1040px) {
    /*burger menu*/

  header nav {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  }

  /*burger menu*/
.topnav {
  overflow: hidden;
  position: relative;
  display: block;

  grid-column: 1;
  grid-row: 2;

  margin-top: auto;
}

#myLinks {
  grid-column: 1/-1;
  display: none;
}

#myLinks a {
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  grid-column: 1/4;
}

.topnav a {
  padding: 14px 16px;
  text-decoration: none;
  font-size: 23px;
  display: block;
  color:var(--color--B_G);
}

.topnav a:hover {
  background-color: #ddd;
  color: var(--color--B_G);
}

/*positon of logo*/
header h1 {
  grid-column: 1/4;
}
/*profil position*/
header .dropdown {
  grid-column: 2;
  grid-row: 2;

  margin: auto auto;
}
/*button position*/
header>nav>button {
  grid-column: 3;
  grid-row: 2;
}

nav ul {
  flex-direction: column;
  padding: 0;
  
}

/*makes logo smaller*/
header nav h1 a img {
  height: 70px;
}

header nav h1 a{
  font-size: 30px;
}

}

@media screen and (min-width:1041px) {
  #myLinks{
    display: flex !important;
    
  }
}


.profile{
  text-decoration: underline !important;
}