/* Made by Anton Skowronski */
/*================================================
  Table of Contents
  ================================================
  01. Imports
  02. Variables
  03. Global

  04. Secion 1 - Hero
  05. Secion 2 - Founder
  06. Secion 3 - Products
  07. Secion 4 - Contacts
  ================================================*/

/* 01. Imports  */

@import url("grid.min.css");


/** Montserrat Regular **/
@font-face {
    font-family: "Montserrat";
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url("../font/Montserrat/min/Montserrat-Regular.woff2") format("woff2"),
         url("../font/Montserrat/min/Montserrat-Regular.woff") format("woff");
}
/** Montserrat Medium **/
@font-face {
    font-family: "Montserrat";
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    src: url("../font/Montserrat/min/Montserrat-Medium.woff2") format("woff2"),
         url("../font/Montserrat/min/Montserrat-Medium.woff") format("woff");
}
/** Montserrat SemiBold **/
@font-face {
    font-family: "Montserrat";
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    src: url("../font/Montserrat/min/Montserrat-SemiBold.woff2") format("woff2"),
         url("../font/Montserrat/min/Montserrat-SemiBold.woff") format("woff");
}
/** Montserrat Bold  **/
@font-face {
    font-family: "Montserrat";
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    src: url("../font/Montserrat/min/Montserrat-Bold.woff2") format("woff2"),
         url("../font/Montserrat/min/Montserrat-Bold.woff") format("woff");
}
/** Montserrat ExtraBold  **/
@font-face {
    font-family: "Montserrat";
    font-weight: 800;
    font-style: normal;
    font-display: swap;
    src: url("../font/Montserrat/min/Montserrat-ExtraBold.woff2") format("woff2"),
         url("../font/Montserrat/min/Montserrat-ExtraBold.woff") format("woff");
}


/* 02. Variables  */

:root{
  --color-1: #404148 ; /* Серый цвет лого */
  --color-2: #00b6a2; /* Мятный */
  --color-3: #007b77; /* Берюзовый */

  --color-bg: #ffffff; /* Шоколадный */
  --color-black: #000; /* Черный */
  --color-white: #ffffff; /* Белый */

  --font-global: 'Montserrat', var(--font-serif);
  --font-alt: 'Montserrat',var(--font-serif);
  --font-serif: Helvetica, 'Times New Roman', Times, serif;
}

/* 03. Global  */

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-global);
}

h1 {
  font-weight: 800;
  font-size: 40px;
}

h2, h3, h4, h5, h6 {
  font-weight: 700;
  font-size: 32px;
}

p {
  font-weight: 400;
  font-size: 24px;
}


a {
  text-decoration: none;
  transition: background .4s, border .4s, color .4s;
}

/* 04. Secion 1 - Hero  */

.hero-block {
  background-color: var(--color-bg);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.main-logo {
  width: 35%;
  height: auto;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.2s forwards;
  fill: var(--color-1);
  z-index: 100;
}

.hero-block h1 {
  margin: 10px auto;
  color: var(--color-black);
}

.hero-block p {
  max-width: 600px;
  margin: 10px auto;
  color: var(--color-black);
}

.rainbow {
display: inline-block;
animation: rainbow 6s linear infinite;
font-weight: 600;
}

.logo-desc {
  padding: 15px;
  margin-top: 30px;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.5s forwards;
  z-index: 100;
}

.button-white {
  color: var(--color-black);
  border: 2px solid var(--color-black);
  font-size: 20px;
  text-align: center;
  display: inline-block;
  padding: 15px 15px 15px;;
  outline: 0;
  margin: 30px auto;
  opacity: 0;
  animation: fadeIn 1.5s ease-out 0.9s forwards;
  z-index: 100;
}

.button-white:hover {
  color: var(--color-bg);
  background-color: var(--color-black);
}

.float-shape {
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
}



/* Mobile */
@media (max-width: 640px) {
  .main-logo {
    width: 280px;
  }

  h1 {
    font-size: 2em;
  }

  p {
  font-size: 1.2em;
  }

  .logo-desc {
    margin-top: 10px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes rainbow {
  0% {
    color: var(--color-1);
  }
  33% {
    color: var(--color-2);
  }
  66% {
    color: var(--color-3);
  }
  100% {
    color: var(--color-1);
	}
}

@keyframes floatAnimation {
  0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
    100% {
      transform: translateY(0);
    }
}

@keyframes spin {
  0% { 
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}