/* table of contents

 1. global styles

 2. typography

 3. components

    3.1 buttons

    3.2 inputs

 4. media queries
 */


/*  ================
    global styles
    ================ */

*, ::before, ::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Helvetica Neue", sans-serif;
}

/*  ================
    typography
    ================ */

.container p {
    line-height: 1.5;
}

.container h2 {
    color: #3A7A90;
    margin: 1em 0 1em 0;
}

.header-text {
    color: #8A9297;
    text-transform: uppercase;
    font-size: 1em;
}

.staubli-box {
    color: white;
    line-height: 1.5;
}

.bigger-text {
    font-size: 1.3em;
}

.copyright,
.policies a {
    color: #8A9297;
}

.policies a {
    text-decoration: none;
    margin: 1em 1.5em 0 0;
}

/*  ================
    layouts
    ================ */

.iframe-wrapper {
    height: 100vh;
    display: none;
}

.copyright {
    margin: 1em 0 0 0;
    padding: 1em 0 0 0;
    border-top: 1px black solid;
}

footer {
    margin: 5em 0 0 0;
    background: #EDEDED;
    padding: 1em 0 1em 0;
}

.footer,
.container {
    width: 90%;
    margin: 0 auto;
}

.social-box img {
    width: 100%;
}

.social-box {
    margin-left: auto;
    display: grid;
    grid-template-columns: 30px 30px 30px 30px;
    grid-gap: 1.5em;
}

.row {
    display: flex;
}

.video {
    margin: 2em 0 4em 0;
}

#myVideo,
.video {
    width: 100%;
}

.button-wrapper {
    margin: 0 auto;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staubli-img {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-image: url("./src/200722_VueBlocOperatoire_Validation05_HeaderLP.jpg");
    background-position: center;
    background-size: cover;
}

.staubli-box {
    background: #3A7A90;
    padding: 1em 4em 1em 1em;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.header-img {
    margin-left: auto;
    width: 110px;
}

.header-img img,
.footer-logo img {
    width: 100%;
}

.header {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1em;
}

/*  ================
    components
    ================ */

/* buttons */

.myButton {
    background: #3A7A90;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: bold;
    padding: .3em 1.7em;
    text-decoration: none;
}

.myButton:active {
    position: relative;
    top: 1px;
}

/* inputs */

/*  ================
    media queries
    ================ */

@media (min-width: 992px) {
    .container,
    .footer {
        width: 70%;
    }

    .staubli-img {
        background-position: bottom;
    }
}

@media (min-width: 1200px) {
    .container,
    .footer {
        width: 60%;
    }
}
