/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}




/* Holding page main styles
   ========================================================================== */

@font-face {
   font-family: 'cinzelregular';
   src: url('../fonts/cinzel-regular-webfont.woff2') format('woff2'),
        url('../fonts/cinzel-regular-webfont.woff') format('woff'),
        url('../fonts/cinzel-regular-webfont.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;

}

@font-face {
   font-family: 'kumbh_sansregular';
   src: url('../fonts/kumbhsans-regular-webfont.woff2') format('woff2'),
        url('../fonts/kumbhsans-regular-webfont.woff') format('woff'),
        url('../fonts/kumbhsans-regular-webfont.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;

}

body {
    background-color: #f6f6f6;
    font-size: 16px;
    letter-spacing: 1px;
    font-family: 'kumbh_sansregular';
}

h1 {
    margin: 0;
    font-family: 'cinzelregular';
}

p {
    margin: 0;
}

.wrapper {
    max-width: 590px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.logo {
    max-width: 320px;
    margin: 0 auto;
}

.main {
    padding: 160px 0 220px;
}

.main p {
    line-height: 30px;
}

.page-heading {
    font-size: 48px;
    margin-bottom: 30px;
    letter-spacing: .4em;
    text-transform: uppercase;
}

.footer {
    position: relative;
    padding-top: 20px;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 175px;
    height: 2px;
    background-color: black;
}

.footer p {
    line-height: 30px;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive styles */

@media only screen and (max-width: 768px) {

    .logo {
        max-width: 280px;
    }

    .main {
        padding: 120px 0 180px;
    }

    .page-heading {
        font-size: 42px;
    }

}

@media only screen and (max-width: 520px) {

    body {
        font-size: 15px;
    }

    .logo {
        max-width: 250px;
    }

    .main {
        padding: 60px 0 60px;
    }

    .page-heading {
        font-size: 38px;
        margin-bottom: 20px;
    }

}

@media only screen and (max-width: 420px) {

    .logo {
        max-width: 230px;
    }

    .page-heading {
        font-size: 36px;
    }

}
