/* This CSS is based on SIMPLE GRID by ZACH COLE 2016 */

/* RESET any default browser styling */
/* you won't need to change anything here */

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    left: 0;
    top: 0;
    font-size: 100%;
}

/* we want images to be 100% width of the column they are in within the grid */
/* you should not need to edit this */
img {
    width: 100%;
    margin: 18px 0 18px 0;
}

/* Paragraph FONT STYLES */
/* edit these to reflect how you would like you copy text to appear */

* {
    font-family: 'sofia-pro', sans-serif;
    font-weight: 400;
    color: #333447;
    color: inherit;
}

/* HEADING FONT STYLES */
/* edit these to reflect how you would like you Header text to appear */

h1 {
    font-size: 5rem;
    font-family: 'bd-supper', sans-serif;
    font-weight: 700;
    font-style: normal;
}

h2 {
    font-size: 3.75rem;
    font-family: 'bd-supper', sans-serif;
    font-weight: 600;
    font-style: normal;
}

h3 {
    font-size: 1.8rem;
    font-family: 'bd-supper', sans-serif;
    font-weight: 400;
    font-style: normal;
}

h4 {
    font-size: 1.125rem;
    font-family: 'bd-supper', sans-serif;
    font-weight: 300;
    font-style: normal;
}

h5 {
    font-size: 1rem;
}

h6 {
    font-size: 0.875rem;
}

p {
    font-size: .85rem;
    font-family: 'sofia-pro', sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 18px 0 18px 0;
}



/* POSITIONING */
/* add these classes to position an element */
/* eg: <h1 class="center">A centered title</h1> */

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}



.justify {
    text-align: justify;
}

/* ==== GRID SYSTEM ==== */
/* don't need to edit anything from here down */
/* this sets up the responsive grid for you which you can use in your html */

.container {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.row {
    position: relative;
    width: 100%;
}

.row [class^="col"] {
    float: left;
    margin: 0.5rem 2%;
    min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
    width: 100%;
}

.col-1-sm {
    width: 4.33%;
}

.col-2-sm {
    width: 12.66%;
}

.col-3-sm {
    width: 21%;
}

.col-4-sm {
    width: 29.33%;
}

.col-5-sm {
    width: 37.66%;
}

.col-6-sm {
    width: 46%;
}

.col-7-sm {
    width: 54.33%;
}

.col-8-sm {
    width: 62.66%;
}

.col-9-sm {
    width: 71%;
}

.col-10-sm {
    width: 79.33%;
}

.col-11-sm {
    width: 87.66%;
}

.col-12-sm {
    width: 96%;
}

.row::after {
    content: "";
    display: table;
    clear: both;
    position: relative;
}

.hidden-sm {
    display: none;
}

@media only screen and (min-width: 33.75em) {

    /* 540px */
    .container {
        width: 80%;
    }
}

@media only screen and (min-width: 45em) {

    /* 720px */
    p {
        font-size: 1rem;
    }

    .col-1 {
        width: 4.33%;
    }

    .col-2 {
        width: 12.66%;
    }

    .col-3 {
        width: 21%;
    }

    .col-4 {
        width: 29.33%;
    }

    .col-5 {
        width: 37.66%;
    }

    .col-6 {
        width: 46%;
    }

    .col-7 {
        width: 54.33%;
    }

    .col-8 {
        width: 62.66%;
    }

    .col-9 {
        width: 71%;
    }

    .col-10 {
        width: 79.33%;
    }

    .col-11 {
        width: 87.66%;
    }

    .col-12 {
        width: 96%;
    }

    .hidden-sm {
        display: block;
    }
}

@media only screen and (min-width: 60em) {

    /* 960px */
    p {
        font-size: 1.3rem;
    }

    .container {
        width: 75%;
        max-width: 60rem;
    }
}



/* links */

a {
    text-decoration: none;
    transition: color 0.2s ease-in-out;
    transition-property: color, text-decoration, opacity;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
}

a:hover {
    color: #FFFFFF;
}

.scaled:hover {
    transform: scale(1.1);
    transition: scale 0.2s ease-in-out;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    cursor: pointer;
}


/* home page */
.header-home {
    background-color: #6495ed;
}

.background-home {
    background-color: #BCD5FA;
}

.home-light {
    color: #1565C0;
}

.home-dark {
    color: #0B3E89;
}

.home-link {
    color: #1976D2;
}

/* chance and choice */
.header-chance {
    background-color: #95d5b2;
}

.chance-background {
    background-color: #D8F3DC;
}

.chance-dark {
    color: #40916C;
}

.chance-light {
    color: #52B788;
}

/* publicaton */
.header-publication {
    background-color: #BC8A5F;
}

.publication-background {
    background-color: #DDC4AE;
}

.publication-dark {
    color: #6F4518;
}

.publication-light {
    color: #A47148;
}

/* image that change */
.header-code-image {
    background-color: #F7A399;
}

.code-image-background {
    background-color: #ffe3e0;
}

.code-image-dark {
    color: #EB3F28;
}

.code-image-light {
    color: #F1705F;
}

/*hand gen type */
.header-hand {
    background-color: #000000;
}

.hand-header-text {
    color: #FFFFFF;
}


/* extension */
.header-extension {
    background-color: #AFAFAF;
}

.extension-background {
    background-color: #E4E4E4;
}

.extension-dark {
    color: #4D4D4D;
}

.extension-light {
    color: #555555;
}


/* elements of design */
.header-elements {
    background-color: #FAA75C;
}

.elements-background {
    background-color: #FDCF8F;
}

.elements-light {
    color: #F4762D;
}

.elements-dark {
    color: #ED4D0C;
}

/* scroll button */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border-width: 5px;
    border-color: black;
    outline: none;
    background-color: transparent;
    color: black;
    cursor: pointer;
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 30px;
    /* Increase font size */
    font-family: 'bd-supper', sans-serif;
}

#myBtn:hover {
    transform: scale(1.1);
    /* Add a dark-grey background on hover */
}
