@import url("reset.css");

/*-----------FONTS-----------*/
/* dm-sans-300 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/dm-sans-v14-latin-300.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-300italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/dm-sans-v14-latin-300italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/dm-sans-v14-latin-regular.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/dm-sans-v14-latin-italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-500 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/dm-sans-v14-latin-500.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-500italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/dm-sans-v14-latin-500italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-600 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/dm-sans-v14-latin-600.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-600italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/dm-sans-v14-latin-600italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-700 - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/dm-sans-v14-latin-700.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* dm-sans-700italic - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/dm-sans-v14-latin-700italic.woff2') format('woff2');
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*-----------FONTGESTALTUNG-----------*/
body {
  font-family: 'DM Sans'
}

p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--white);rr
}

a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

h1 {
  font-size: 25px;
  line-height: 1.3;
  color: var(--white);
  text-align: center;
}

h2 {
  font-size: 23px;
  line-height: 1.3;
  text-transform: lowercase;
  margin-bottom: 35px;
  font-weight: 600;
  color: var(--black);
}

h2 span {
  color: var(--grey);
}

h3 {
  font-size: 65px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--black);
}

h4 {
  font-size: 25px;
  line-height: 1.3;
  font-weight: 400;
  margin-bottom: 5px;
}

h5{
  font-size: 75px;
  line-height: 1.3;
  font-weight: 600;
}

li {
  font-size: 14px;
  list-style: disc;
}

strong {
  font-weight: 500;
  font-size: 16px;
  font-weight: 600;
}

.button {
  color: var(--white);
  background-color: var(--black);
  border-radius: 10px;
  box-sizing: border-box;
  padding: 10px 25px;
  text-transform: lowercase;
  transition: 0.3s ease;
}

.button:hover {
  transform: scale(0.95);
  transition: 0.3s ease;
}

/*-----------HEADER-----------*/
header {
  height: 100vh;
  width: 100%;
  background-color: var(--black);
  position: relative;
}

.center{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center img{
  width: 300px;
}

.insta{
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translate(-50%,0);
}


/*-----------AUFBAU-----------*/
html {
  scroll-behavior: smooth;
  background-color: var(--white);
  overflow-x: hidden;
}

:root {
  --white: #FBFBFD;
  --black: #1F1F1F;
  --grey: #9D9D9D;
}



/*-----------RESPONSIVE-----------*/

@media screen and (max-width: 700px) {
  .center img{
    width: 200px;
  }

}
