@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');

body {
    background-color: #E0DFD9;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    background-image: url("../image/background.jpg");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 100%;
    background-attachment: fixed;
}

.container p {
  position:absolute;
  top:40vw;
    left: 5vw;
    z-index: 5;
    font-size: 1.5vw;
    color:black;
}

nav img {
  width: 40px;
}

nav {
    width: 100%;
    position: fixed;
    z-index: 1000;
    font-size: 1.3vw;
    padding-bottom: 15px;
    padding-top:15px;
    border-bottom: solid 2px #775541;
    background-color: #E0DFD9;
    font-weight: bold;
    display: flex;
}

.metext {
  position:absolute;
    top: 12vw;
    left: 5vw;
    z-index: 5;
    font-size: 1.5vw;
    color:black;
    width: 45%;
}

.miniflex {
  display: flex;
  width: 80%;
  justify-content: space-between;
}

.goto {
  content: '\00bb';
}

.menu {
  display: flex;
  list-style-type: none;
  justify-content: space-around;
  width: 40%;
}


.mc {
  position: absolute;
    top: 33vw;
    left: 5vw;
    z-index: 5;
    font-size: 50px;
    color:black;
}



span {
  color:#775541;
}


#current {
  color: #775541;
}

.about {
  position: absolute;
  top: 6vw;
  left: 5vw;
  z-index: 5;
  font-size: 3vw;
  color:black;
}

.hi {
    position: absolute;
    top: 30vw;
    left: 5vw;
    z-index: 5;
    font-size: 2.5vw;
    color:black;
}



.icons {
  position: absolute;
  top: 40vw;
  left: 5vw;
  display: flex;
  width: 35%;
  justify-content: space-between;
  cursor: pointer;
}

.themeshed {
    position: absolute;
    z-index: 5;
    font-size: 50px;
    color: black;
    top: 10vw;
    left: 5vw;
}



.iam {
    position: absolute;
    top: 33vw;
    left: 5vw;
    z-index: 5;
    font-size: 5.5vw;
    color:black;
    
}

.themesul {
    position: absolute;
    font-size: 28px;
    color: black;
    text-align: start;
    z-index: 5;
    top: 18vw;
    left: 5vw;
    padding: 0;
    line-height: 70px;;
}

.themesul li {
    list-style-type: none;
}

.gridthemes {
  display: grid;
}

.themes {
  height: 10em;
  background-image: linear-gradient(#E0DFD9, #978c82);
  padding: 10%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  column-gap: 10em;
}

.themes img {
  width: 30%;
  /* justify-content: right; */
}




#imgcontrole2 {
  max-width: 15%;
}

#portfoliopic {
  max-width: 20%;
}

#fridgelogo {
  max-width: 15%;
}


.t2 {
  grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
    margin-top: 50%;
}

.t3 {
  grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 2;
    grid-row-end: 3;
}

.arrowpos {
  background-color: #E0DFD9;
  padding: 5%;
  display: grid;
  justify-content: space-around;
}

.arrowpos img {
  cursor: pointer;
}

.slide-up {
  animation-timing-function: ease-in;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-delay: 0s;
  animation-name: example;
}

@keyframes example {
  0%   {
    transform: translateY(30px);
    opacity: 0;
  }
  
  100% {
    transform: translateY(0);
    opacity: 100%;
  }
}

/* BUTTONS HERE */

.button {
  display: inline-block;
  border-radius: 12px;
  background-color: #E0DFD9;
  border: none;
  padding: 15px;
  width: 140px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.5s;
  color: #000000;
}


.button span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: all 0.5s;
  color: #000000;
}

.button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button:hover {
  background-color: #655649;
  color: #FFFFFF;
}

.button:hover span {
  padding-right: 25px;
}

.button:hover span:after {
  opacity: 1;
  right: 0;
}

/* BUTTON 2 */
.button2 {
  display: inline-block;
  border-radius: 12px;
  background-color:  #655649;;
  border: 2px solid #655649;
  padding: 15px;
  width: 220px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.5s;
  color: #FFFFFF;
}


.button2 .newspan {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: all 0.5s;
}

.button2 .newspan:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  top: 0;
  right: -20px;
  transition: 0.5s;
}

.button2:hover {
  background-color:#E0DFD9;
  color: #000000;
  cursor: pointer;
}

.button2:hover .newspan {
  padding-right: 25px;
}

.button2:hover .newspan:after {
  opacity: 1;
  right: 0;
}



.togglebuttonflex{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hidden {
  visibility: hidden;
}

.toggle-btn {
  display: none;
}

.togglebuttonflex button {

  background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

/* unvisited link */
a:link {
    color:black;
    text-decoration: none;
    cursor: pointer;
  }
  
  /* visited link */
  a:visited {
    color:black;
    cursor: pointer;
  }
  
  /* mouse over link */
  a:hover {
    color: #775541;
    cursor: pointer;
  }
  
  /* selected link */
  a:active {
    color: black;
    cursor: pointer;
  }

/* MEDIA QUERY */


@media (max-width: 950px) {
  .t2 {
    margin-top: 75%;
  }
.mc {
  font-size: 5vw;
}

  .icons {
    top: 45vw;
  }
  .icons img {
    width: 60%;
  }
}

@media (max-width: 800px) {
  .menu {
    width: 60%;
    font-size: 14px;
  }



body {
  background-color: #E0DFD9;
  background-image: none;
}

  #frontpage {
    background-color: #E0DFD9;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    background-image: url("../image/IMGSMALL.png");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 100%;
    background-attachment: fixed;
  }

  #contactpage {
    background-color: #E0DFD9;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    background-image: url("../image/background.jpg");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 100%;
    background-attachment: fixed;
}

  .button2 {
    width: 100px;
    padding: 10px;
  }

  .about {
    top: 10vw;
  left: 5vw;
  font-size: 22px;
  }

  .metext {
    top: 17vw;
    width: 80%;
    font-size: 13px;
  }

  nav {
    padding: 12px 0 10px 0;
  }

  .hi {
    left: 30%;
    top: 75vw;
    font-size: 17px;
  }
  .iam {
    left: 30%;
    top: 79vw;
    font-size: 42px;
  }
  .container p {
    left: 30%;
    top: 89vw;
    font-size: 12px;
  }
  
}

@media (max-width: 750px) {
  .themes {
    flex-flow: column;
    height: 30rem;
  }

  .themes img {
    width: 50%;
  }

  #fridgelogo {
    max-width: 20%;
  }

  #portfoliopic {
    max-width: 40%;
  }

  #imgcontrole2 {
    max-width: 30%;
  }

  .themesul {
    top: 20vw;
  }
}

  @media (max-width: 600px) {
    .toggle-btn {
      background: transparent;
      border: none;
      display: block;
      min-width: 44px;
      min-height: 44px;
      font-size: 1.1rem;
      cursor: pointer;
      
    }

    .slide-up {
      animation:none;
    }
    
  
    .togglebuttonflex{
      display: flex;
      justify-content: flex-end;
      align-items: center;
      border-bottom: solid 2px #775541;
    }
    
    nav {
      display: none;
    }
  
    nav.shown {
      padding-top: 1rem;
      display: flex;
      flex: 1 1 100%;
      flex-flow: column;
      font-size: 1.1em;
      line-height: 2em;
    }
  
    nav ul {
      display: flex;
      flex-flow: column;
    }
    .themesul {
      top: 28vw;
    }

    .t2 {
      margin-top: 90%;
    }

    .themesul li {
      font-size: 20px;
      line-height: 50px;
    }
    
    .themeshed {
      font-size: 35px;
    }
}

@media (max-width: 450px) {
  #frontpage {
  background-color: #E0DFD9;
    margin: 0;
    font-family: 'Oswald', sans-serif;
    background-image: url("../image/IMGSMALL.png");
    background-repeat: no-repeat;
    background-position: 0% 6%;
    background-size: 100%;
    background-attachment: fixed;
  }

  #contactpage {
    background-image: none;
  }

  .mc {
    font-size: 22px;
  }

  .icons {
    flex-wrap: wrap;
    width: 50%;
  }

  body {
    background-color: #E0DFD9;
    background-image: none;
  }

  .themeshed {
    font-size: 30px;
    top: 12vw;
  }

  .miniflex {
    flex-direction: column;
  }

  .hi {
    left: 5%;
    top: 320px;
    font-size: 14px;
  }
  .iam {
    left: 5%;
    top: 340px;
    font-size: 32px;
  }
  .container p {
    left: 5%;
    top: 380px;
    font-size: 12px;
}

.about {
  top: 17vw;
left: 5vw;
font-size: 22px;
}

.metext {
  top: 30vw;
  width: 80%;
  font-size: 13px;
}

.themesul li {
  font-size: 15px;
  line-height: 40px;
}

.themeshed {
  font-size: 25px;
  top: 16vw;
}

.themes h2 {
  font-size: 20px;
}

.arrowpos img {
  width: 50px;
}


#fridgelogo {
  max-width: 40%;
}

.themes img {
  width: 75%;
}

.arrowpos { 
  padding: 2%;
}



}