/* Default styles for the browser */
*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: monospace;
}

:root {
  --font-size1: 13px ;
  --font-size2: 10px;
  --text-color-1: white;
  --text-color-2: black;
  --text-percentage:60%;
  --background-color-1:#1f1f1f;
  --background-color-2:white;
  padding: 30px;
  padding-top:0;
  padding-bottom: 30px;
}
html{
  background-color: var(--background-color-1);
  color: var(--text-color-1);
}

.body{
    width: 100%;
}
hr {
  border: none;
  height: 1px;
  background-color: var(--background-color-2);
  opacity: 5%;
  margin-bottom: 5px;
}

.header{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: sticky;
    z-index: 10;
    background-color: var(--background-color-1);
    top:0;
    padding: 10px 0px;
}

.logo{
  display: flex;
  height: 50px;

}
.logo img {
  border-radius:50%;
  overflow: hidden;
  width: 50px;
  height: 50px;
  object-fit: cover;
}


.name {
  display: flex;
  align-items: center;
}
.name h1 {
  font-size:var(--font-size1);
  margin-left: 10px;
}

.nav{
   display:flex;
   align-items: center;
   justify-content:flex-end;
   height: 100%;
}
a{
    color:var(--text-color-1);
}

.nav h1{
  font-size: var(--font-size1);
}
.nav h1:hover {
  text-decoration: underline;
  opacity: var(--text-percentage)
}
.nav h2 {
  margin: 1%;
  font-size: var(--font-size1);
}
#Gallery {
  margin-top: 15px;
  font-size:var(--font-size1);
  margin-bottom: 10px;
}

.content{
column-count: 2;
}
.content IMG{
  text-align: center;
  width: 100%;
  border-radius: 7px;
}
.content .image {
  margin:1px ;
  padding-bottom: 15px;
  position: relative;
}



.content h1 {
  font-size: var(--font-size1);
  background-color: red;
  padding: 10px;
  padding-left: 0px;
}
.content p {
  text-align: center;
  font-size: 55%;
  padding-left: 0;
  opacity: 50%;
  position: absolute;
  bottom: 7px;
  left: 0;
  right: 0;
}

.About {
  margin-top: 20px;
  margin-bottom: 20px;
}

#Contact {
  width: 60%;
  max-width: 300px;
}
#Contact input{
  background-color: var(--background-color-2);
  padding-top: 10px;
  padding-bottom: 10px;
  text-indent: 10px;
  width: 100%;
  border: 0;
  margin-bottom: 1px;
  outline: 0;
  font-size: var(--font-size2);
  color: var(--text-color-2);
}
h1 {
  font-size: var(--font-size1);
}
p {
  font-size: var(--font-size2);
}
.input {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column-gap: 1px;
}

textarea {
  font-size: var(--font-size2);
  color: var(--text-color-2);
  background-color: var(--background-color-2);
  outline:0;
  margin: 0;
  padding-top: 10px;
  text-indent: 10px;
  resize: vertical;
  min-height: 40px;
  width: 100%;
  border: 0;

}
.buttonwrapper{
  width: 100%;
}
button {
  background-color: var(--background-color-2);
  margin-top: 10px;
  border:0;
  width: 50%;
  padding: 10px;
  color: rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
  font-size: var(--font-size2);
  transition: opacity 1s;
}

button:hover{
opacity: 0.7;
}

button p{
  color: var(--text-color-2);
}


@media only screen and (max-width: 300px) {
.header {
  grid-template-columns: 1fr;
}
.header .nav {
  margin-top: 5px;
}
.input {
  grid-template-columns: 1fr;
}
}

@media only screen and (max-width:420px) {
  .content{
  column-count: 1;
  }
}

@media only screen and (min-width:700px) {
  .content{
  column-count: 3;
  }
}



/* footer: ---------------------------------------------------------------------- */
footer{
  bottom: 0;
  width: 100%;
}
footer .footer{
  width: 100%;
  bottom: 0;
  left:0;
  text-align: center;
}
footer .copyright{
  width: 100%;
  text-align: center;
  color:  var(--text-color-1);
  margin-top: 2%;
  margin-bottom: 2%;
}

footer hr {
  margin-bottom: 3%;
  margin-left: 3%;
  margin-right: 3%;
}

.links {
  margin-bottom: 10px;
  text-align: center;
  display: block;
}
footer h3 {
  font-family: monospace;
  font-size: 100%;
  font-weight: normal;
  display: inline-block;
}
footer h3:hover {
  opacity: var(--text-percentage)
}
footer h2{
  font-size: 100%;
  font-weight: normal;
  display: inline-block;
}

#formularSkicka {
  position: relative;
}

#captcha  {
}
