body {
  display: flex;
  flex-direction: column;
  margin: 0%;
  background-color: rgba(0, 0, 0, 0.3);
  position: relative;
  height: 100vh;
  min-height: 110vh;
  background-image: url(css%20backgrounds/painting6wide.jpeg);
  background-size: cover;
}


body nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: orange;
  overflow: hidden;
  flex-shrink: 0;
  width: 100vw;
  z-index: 9998;
}



#siteLogoContainer{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-grow: 0;
  flex-shrink: 0;
  width: 350px;
  margin-top: 0.3%;
  margin-bottom: 0.3%;
  
}

#siteLogo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  /*width: fit-content;*/
  height: 58px;
  flex-shrink: 0;
  flex-grow: 0;
  border-radius: 10px;
  padding-left: 1%;
  padding-right: 2%;
  margin-left:10px;
  /*margin-right: -5%;
  margin-top: -4.5%;
  margin-bottom: -5%;*/
  text-decoration: none;
  
}

#siteLogo .title{
  /*font-family: 'Kalam', cursive;*/
  font-family: 'Pinyon Script', cursive;
  font-weight: bold;
  font-size: 43px;
  color: white;
}

#siteLogo .subtitle{
  font-size: 14px;
  margin-top: -5%;
  color: white;
  font-family: 'Quicksand', sans-serif;
}



.sidebarElements {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 166, 0, 0.884);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9997;
  height: 100%;
  width: 40%;
  transition: 0.5s;
}

@keyframes sidebarfadein {
  from {
    color: rgba(255, 255, 255, 0);
  }
  to{
    color: white;
  }

}

body .closeSidebar a {
  display: none;
  color: rgba(255, 255, 255, 0);
}

.sidebarElements a {
  font-family: 'Quicksand', sans-serif;
  color: white;
  font-size: 150%;
  margin-top: 10%;
  margin-bottom: 10%;
  animation-name: sidebarfadein;
  animation-duration: 2s;
  text-decoration: none;
}

.closeSidebar {
  width: 0%;
}

#sidebarOpener {
  display: none;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  color: white;
  margin-right: 3%;
  flex-grow: 0;
  flex-shrink: 1;
}

.sidebarIconContainer {
  cursor: pointer;
  padding-top: 4%;
  padding-bottom: 4%;
  margin-top: 0.5%;
  margin-bottom: 0.5%;
  z-index: 9998;
}

.sidebarIconContainer .bar1, .sidebarIconContainer .bar2,.sidebarIconContainer .bar3 {
  width: 35px;
  height: 5px;
  background-color: white;
  margin: 6px 0;
  border-radius: 80px;
  transition: 0.4s;
}

.closeSidebarIcon .bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.closeSidebarIcon .bar2 {
  opacity: 0;
}

.closeSidebarIcon .bar3 {
  transform: translate(0, -11px) rotate(45deg);
}



@keyframes navshrink {
  from {
    padding-top: 4%;
    padding-bottom: 4%;
  }

  to {
    padding-top: 0%;
    padding-bottom: 0%;
  }
}

@keyframes navgrow {
  from {
    padding-top: 0%;
    padding-bottom: 0%;
  }

  to {
    padding-top: 4%;
    padding-bottom: 4%;
  }
}


.navElements {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 1;
  margin-left: 13%;
}

.navElements a {
  margin-top: 0.5%;
  margin-bottom: 0.5%;
  font-size: 150%;
  font-family: 'Quicksand', sans-serif;
  color: white;
  transition: transform .2s;
  flex-shrink: 0;
  text-decoration: none;
}



nav .scrolldown {
  padding-top: 0%;
  padding-bottom: 0%;
  animation-name: navshrink;
  animation-duration: 0.2s;
}

nav .scrollup {
  animation-name: navgrow;
  animation-duration: 0.2s;
}


.navElements a:hover {
  -ms-transform: scale(1.5);
  /* IE 9 */
  -webkit-transform: scale(1.5);
  /* Safari 3-8 */
  transform: scale(1.5);
}



body .hidden {
  display: none;
}



#mainSection {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
}

.contacts{
  border: 1px solid orange;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 250px;
  width: 350px;
  animation-name: card-animation;
  animation-duration: 1s;
}

@keyframes card-animation{
  0%{
    width: 50px;
    height: 50px;
    border-radius: 20px;
  }


  100%{
    height: 250px;
    width: 350px;
    border-radius: 20px;
  }
}

@keyframes contacts-fade-in{
  0%{
    color:rgba(0, 0, 0, 0)
  }
  50%{
    color: rgba(0, 0, 0, 0);
  }
  100%{
    color: black;
  }
}

.card-title{
  font-family: 'Quicksand', sans-serif;
  font-size: x-large;
  margin: 20px;
  animation-name:contacts-fade-in;
  animation-duration: 0.5s;
}

.phone {
  text-decoration: none;
  color: black;
}

.phone,.mail{
  margin: 50px;
  font-family: 'Quicksand', sans-serif;
  font-size: large;
  animation-name:contacts-fade-in;
  animation-duration: 1s;
}

.phone i,.mail i{
  margin-right: 10px;
  animation-name:contacts-fade-in;
  animation-duration: 1s;
}


footer {
  background-color: orange;
  display: flex;
  flex-direction: row;
  justify-content: center;
  font-family: 'Quicksand', sans-serif;
  color: white;
  width: 100%;
}

footer div {
  font-size: 115%;
  margin-top: 1%;
  margin-bottom: 1%;
}

footer .container{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

footer .container div{
  margin: 5px;
}