@font-face {
  font-family: "Trebuchet MS", Arial, Verdana;
  src: url("./fonts/trebuchetms.ttf") format("ttf");
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  border: 0;
}
a {
  text-decoration: none;
}
ul,
ol,
li {
  list-style: none;
}
img {
  vertical-align: top;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}
html,
body {
  font-family: "Trebuchet MS";
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: auto;
  position: relative;
  display: block;
  background: #353535;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.inner{
  display: flex;
}

.foto {
  width: 100%;
  height: 100vh;
  position: relative;
}

img {
  width: 100%;
  transform: translate(0, -15%);
  display: block;
}

.content {
  display: flex;
  align-items: baseline;
  justify-content: center;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 14%;
  text-align: center;
  background: #353535;
  margin-top: auto;
  box-sizing: border-box;
}

.name {
  height: 30px;
  font-size: 24px;
  line-height: 60px;
  color: #818791;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  bottom: 2px;
  position: relative;
}

.menu__icon{
display: none;
}

.menu {
  display: flex;
  margin: 0 0 0 20px;
  padding: 0;
  width: auto;
  justify-content: center;
}

a.menu__link {
  color: #fff;
  margin: 3px 15px 0 0;
  padding: 0;
  font-size: 14px;
  line-height: 60px;
}
.menu li:first-child {
  font-size: 24px;
}

#first {
  font-size: 24px;
  position: relative;
  bottom: 3px;
}

#last {
  color: #828791;
}

a.menu__link:hover {
  text-decoration: underline;
}

.footer {
  position: fixed;
  bottom: 0;
  padding: 10px 0;
  width: 100%;
  height: 15px;
  font-size: 10px;
  background: none;
  color: #757575;
  text-align: center;
}

@media (max-width: 924px) {
  .content {
    flex-direction: column;
    align-items: center;
  }
}

@media (min-width: 850px) {
  .footer span {
    display: none;
  }
}

@media (max-width: 767px) {
  .footer span {
    display: none;
  }
  .content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 20px;
  }

  .menu__icon{
    z-index: 5;
    display: block;
    position: relative;
    width: 30px;
    height: 18px;
    cursor: pointer;
  }
  .menu__icon span, 
  .menu__icon::before,
  .menu__icon::after{
    left: 0;
    position: absolute; 
    height: 10%;
    width: 100%;
    transition: all 0.3s ease 0s;
    background-color: #fff;
  }
  .menu__icon::before,
  .menu__icon::after{
    content: "";
  }

  .menu__icon::before{
    top: 0;
  }
  .menu__icon::after{
    bottom: 0;
  }

  .menu__icon span{
    top: 50%;
    transform: scale(1) translate(0px, -50%);
  }

  .menu__icon.active span{
    transform: scale(0) translate(0px, -50%);
  }

  .menu__icon.active::before{
    top: 50%;
    transform: rotate(-45deg) translate(0px, -50%);
  }

  .menu__icon.active::after{
    bottom: 50%;
    transform: rotate(45deg) translate(0px, 50%);
  }

  .menu{
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -200%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.432);
    padding: 50px 30px 30px 30px;
    transition: left 0.3s ease 0s;
    margin: 0 0 30px 0;
    font-size: 24px;
    overflow: auto;
    text-align: left;
  }
  
  .menu:last-child{
    margin-bottom: 0;
  }

  .menu.active{
    left: 0;
  }

  .inner{
    display: flex;
    flex-direction: column-reverse;
  }

  .wrapper {
    flex-direction: column-reverse;
  }

  .foto {
    order: 2; 
  }

  .content {
    order: 1; 
  }

  a.menu__link {
    margin: 3px 15px 0 0;
    line-height: 50px;
  }
}

@media (max-width: 694px) {
  .menu {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  a.menu__link {
    margin: 3px 15px 0 0;
    line-height: 20px;
  }
  .content {
  
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      padding: 0 20px;        
  }
}


@media (max-width: 320px) {

  .footer span {
    display: none;
  }
}