* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  background-color: #f0efef;
  display: flex;
  align-items: center;
}

@font-face {
  font-family: "saans";
  src: url("fonts/saans/Saans-Medium.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "saans", sans-serif;
}

/*textes*/

.content {
  line-height: .8em;
  left: 0;
  z-index: 100;
  left: 15%;
  align-items: center;
  justify-content: center;
  position: fixed;

}


.nameingrey {
  color: #d1d1d1;
  font-size: 0.8em;
}

.nameinblack {
  color: #111;
  font-size: 0.8em;
}

.email {
  color: #000;
  text-decoration: none;
  font-size: 0.8em;
  transition: color 0.3s ease;
}

.email:hover{
  color: #d1d1d1;
}

.act {
  color: #000000;
  font-size: 0.8em;
}

.loc {
  color: #000;
  font-size: 0.8em;
}

.fr {
  color: #000;
  font-size: 0.8em;
}

.copyright {
  position: fixed;
  bottom: .8em;
  left: 0;
  width: 100%;
  text-align: center;
}

.copy {
  color: #000;
  font-size: 0.6em;
}


/*images*/


.image-container {
  position: fixed;

  top: 50%;
  left: 75%;

  transform: translate(-50%, -50%);

  width: calc(100vw - 25em);
  height: calc(100vh - 25em);

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.image-container img {
  position: absolute;

  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain;

  display: none;
}


@media (max-width: 700px) {

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .image-container {
    position: relative;
    top: auto;
    left: auto;
    transform: none;

    width: 80vw;
    height: 50vh;

    flex-shrink: 0;
    order: 1;
  }

  .content {
    position: relative;
  
    width: 90vw;
  
    left: auto;
  
    margin: 4em 0 0 0;
  
    font-size: .8em;
    text-align: center;
  
    order: 2;
  }

}