/*! HTML5 Boilerplate v7.2.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
   * Remove text-shadow in selection highlight:
   * https://twitter.com/miketaylr/status/12228805301
   *
   * Vendor-prefixed and regular ::selection selectors cannot be combined:
   * https://stackoverflow.com/a/16982510/7133471
   *
   * Customize the background color to match your design.
   */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
   * A better looking default horizontal rule
   */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
   * Remove the gap between audio, canvas, iframes,
   * images, videos and the bottom of their containers:
   * https://github.com/h5bp/html5-boilerplate/issues/440
   */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
   * Remove default fieldset styles.
   */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
   * Allow only vertical resizing of textareas.
   */

textarea {
    resize: vertical;
}

/* ==========================================================================
     Browser Upgrade Prompt
     ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
     Author's custom styles
     ========================================================================== */
body * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li {
    padding: 0;
    margin: 0;
    font-weight: normal;
}

@font-face {
    font-family: "montserratregular";
    src: url("../fonts/montserrat/regular/montserrat-regular-webfont.woff2") format("woff2"),
        url("../fonts/montserrat/regular/montserrat-regular-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "montserratbold";
    src: url("../fonts/montserrat/bold/montserrat-bold-webfont.woff2") format("woff2"),
        url("../fonts/montserrat/bold/montserrat-bold-webfont.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    width: 100%;
    padding: 0 24px;
}

.main p {
    font-family: "montserratbold";
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
    text-wrap: wrap;
}

.main img {
    width: 300px;
}

.actions {
    display: flex;
    gap: 32px;
}

.actions img {
    width: 150px;
    height: 47px;
}

@media only screen and (max-width: 1024px) {
    .main p {
        font-size: 16px;
    }
}

@media only screen and (max-width: 768px) {
    .main img {
        width: 200px;
    }

    .main p {
        font-size: 12px;
    }

    .actions {
        gap: 16px;
    }

    .actions img {
        width: 150px;
        height: 47px;
    }
}

@media only screen and (max-width: 425px) {
    .actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}