/*
Theme Name:     Colgate Insta Win 2.0
Description:    Colgate Project
Author:         toolbox

*/

:root {
    --primary: #fff;
}

@font-face {
    font-family: 'Gotham-Bold';
    src: url('./fonts/Gotham-Bold.otf')  format('opentype');
}

html{
    font-size: 16px;        
}

body{
    font-family: 'Gotham-Bold', sans-serif;
    color: #ffffff;
    background-color: #a31c25;
    width: 100%; 
    position: relative;    
}

body *{
    font-family: 'Gotham-Bold', sans-serif;    
}

.logo-area{
    width: 28vw;
    margin-left: 8vw;
}

.title-colgate{
    position: absolute;
    width: 45vw;
    top: 5vh;
    right: 10vw;
}

.form-area{
    width: 100%;
}

.full-image img{
    width: 100%;
    height: auto;
}

a{
    color: #ffffff;
}

*:focus {
    outline: none;
    
}

.success, .error, .button-area{
    display: none;
}

.error{
    margin-top: 40vh;
}

.success, .button-area{
    margin-top: 45vh;
}

.error{
    padding-top: 2.5vh;    
    margin-bottom: 2.5vh;
}

.success.show, .error.show, .button-area.show{
    width: 100%;
    display: block;
}

p{
    font-size: 2.5rem;
    line-height: 2.8rem;    
}

h1{
    font-size: 3.4rem;
    letter-spacing: 2px;
}

button{
    font-size: 2.5rem;
    background-color: #e50004;
    border: 1px solid #e50004;
    color: #ffffff;
    border-radius: 30px;
    padding: 1rem 1.5rem;
}

.center{
    text-align: center;
}

.success p{
    padding-bottom: 2rem;
}

.background {
    position: absolute;
    width: 100vw;
    height: auto;
    top: 0;
    right: 0;
    z-index: 2;
}

.content{
    position: relative;
    z-index: 4;
}

.show-result{
    display: none;
}

.show-result.show{
    display: block;
}

/**
  * Arc
  *
  * @author jh3y - jheytompkins.com
*/
.container {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    height: 175px;
    overflow: hidden;
    width: 100%;
    display: flex;
}

.container.hide{
    display: none;
}

.arc.show, .arc.hide{
    display: flex!important;
}

.arc.hide{
    opacity: 0;
}

.arc.show{
    opacity: 1;
}

.arc:before {
  -webkit-animation: spin 0.5s infinite linear;
          animation: spin 0.5s infinite linear;
  border-radius: 100%;
  border-top: 6px solid var(--primary, #fff);
  content: '';
  display: block;
  height: 50px;
  width: 50px; }

@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }

@keyframes spin {
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg); } }
