html {
    font-size: 62.5%;
    height: 100%;
    min-height: 100%;
}

body {
    color: white;
    font-family: 'Righteous', cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    height: 100%;
    min-height: 100%;
    background: url(../img/body_bg.jpg) no-repeat center bottom;
    background-size: cover;
    text-align: center;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

ul {
    list-style: outside none none;
    margin: 0px;
    padding: 0px;
}

img {
    max-width: 100%;
}


/*******************************CONTAINERS*******************************/

.container {
    width: 60%;
    margin: 0 auto;
}

header {
    position: relative;
    z-index: 15;
}

#main {
    margin-top: 5%;
    transition: all linear 0.3s;
    opacity: 1;
}

#main.invisible {
    opacity: 0;
}

.mobile_bg {
    display: none;
}

.matched {
    display: none;
}

.loader-container {
    width: 117px;
    margin: 5% auto;
}

.loader-circle-1 {
    height: 117px;
    width: 117px;
    background: rgb(97, 46, 141);
}

.loader-circle-2 {
    height: 97px;
    width: 97px;
    background: rgb(194, 34, 134);
}

.loader-circle-3 {
    height: 78px;
    width: 78px;
    background: rgb(234, 34, 94);
}

.loader-circle-4 {
    height: 58px;
    width: 58px;
    background: rgb(237, 91, 53);
}

.loader-circle-5 {
    height: 39px;
    width: 39px;
    background: rgb(245, 181, 46);
}

.loader-circle-6 {
    height: 19px;
    width: 19px;
    background: rgb(129, 197, 64);
}

.loader-circle-7 {
    height: 10px;
    width: 10px;
    background: rgb(0, 163, 150);
}

.loader-circle-8 {
    height: 5px;
    width: 5px;
    background: rgb(22, 116, 188);
}

.loader-circle-1,
.loader-circle-2,
.loader-circle-3,
.loader-circle-4,
.loader-circle-5,
.loader-circle-6,
.loader-circle-7,
.loader-circle-8 {
    border-bottom: none;
    border-radius: 50%;
    -o-border-radius: 50%;
    -ms-border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    animation-name: loader-spinner;
    -o-animation-name: loader-spinner;
    -ms-animation-name: loader-spinner;
    -webkit-animation-name: loader-spinner;
    -moz-animation-name: loader-spinner;
    animation-duration: 4600ms;
    -o-animation-duration: 4600ms;
    -ms-animation-duration: 4600ms;
    -webkit-animation-duration: 4600ms;
    -moz-animation-duration: 4600ms;
    animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
    -ms-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    animation-timing-function: linear;
    -o-animation-timing-function: linear;
    -ms-animation-timing-function: linear;
    -webkit-animation-timing-function: linear;
    -moz-animation-timing-function: linear;
}

@keyframes loader-spinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-o-keyframes loader-spinner {
    from {
        -o-transform: rotate(0deg);
    }
    to {
        -o-transform: rotate(360deg);
    }
}

@-ms-keyframes loader-spinner {
    from {
        -ms-transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-spinner {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes loader-spinner {
    from {
        -moz-transform: rotate(0deg);
    }
    to {
        -moz-transform: rotate(360deg);
    }
}

.rotate_img {
    background-image: url(../img/members.jpg);
    width: 200px;
    margin: 0 auto;
    border-radius: 300px;
    border: solid 5px white;
    margin-top: 5%;
    height: 200px;
    background-repeat: repeat-x;
    -webkit-animation: backgroundScroll 4s linear;
    animation: backgroundScroll 4s linear;
}

@-webkit-keyframes backgroundScroll {
    from {
        background-position: 0px 0;
    }
    to {
        background-position: -1000px 0;
    }
}

@keyframes backgroundScroll {
    from {
        background-position: 0 0;
    }
    to {
        background-position: -1000px 0;
    }
}


/*******************************TYPOGRAPHY*******************************/

h1 {
    font-weight: 400;
    font-size: 4.0vw;
    text-align: center;
    color: #000000;
    margin: 0;
    padding: 2% 0;
}

h1 span {
    color: #000000;
}

h2 {
    font-weight: 400;
    margin-bottom: 8%;
}

h2 span {
    color: #ffffff;
}

.rotate_img {
    margin-top: 3%;
}

p.matched {
    font-size: 4.0vw;
    width: 40%;
    margin: 0 auto;
    text-transform: uppercase;
    margin-top: 5%;
    padding: 1% 0;
}


/*******************************MEDIA QUERIES*******************************/

@media (min-width: 320px) and (max-width: 767px) {
    body {
        background: #47016d;
        /* Old browsers */
        background: -moz-linear-gradient(top, #47016d 0%, #6a019b 50%, #6a019b 50%, #650186 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #47016d 0%, #6a019b 50%, #6a019b 50%, #650186 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #47016d 0%, #6a019b 50%, #6a019b 50%, #650186 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#47016d', endColorstr='#650186', GradientType=0);
        /* IE6-9 */
    }
    .container {
        width: 100%;
    }
    #main {
        z-index: 15;
        position: relative;
    }
    .rotate_img {
        width: 100%;
        height: 100%;
        min-height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 0;
        border: none;
        margin-top: 0;
        display: none;
    }
    .mobile_bg {
        width: 100%;
        height: 100%;
        min-height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        margin-top: 0;
        display: block;
        z-index: 10;
    }
    .mobile_bg img {
        width: 100%;
    }
    .mobile_2,
    .mobile_3,
    .mobile_4 {
        display: none;
    }
    #match {
        position: relative;
        z-index: 15;
    }
    h1 {
        font-size: 8.0vw;
        color: white;
        background: rgba(0, 0, 0, 0.3);
    }

    h1 span {
        color: white;
    }

    h2 {
        background: rgba(0, 0, 0, 0.3);
        padding: 5% 0;
        margin-bottom: 15%;
    }
    p.matched {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        font-size: 8.0vw;
        border-radius: 0;
        padding: 3% 0;
        color: white;
        background: rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {}

@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {}

@media (min-width: 1200px) {}

@media only screen and (min-device-width: 768px) and (max-device-width: 1300px) and (orientation: landscape) {}