* {
    margin: 0;
    padding: 0;
    outline: 0;
}

body, html {
    height: auto;
    width: 100%;
}

body {
    background: #000000 url("../img/iq/iq_bg.jpg");
    color: #fffffe;
    font-family: 'OpenSans', sans-serif;
    overflow-x: hidden; 
    padding: 0;
    margin: 0; 
    height: auto;
    width: 100%;
}

h2 {
    margin-top: 30px;
    font-family: 'OpenSans', sans-serif;
    font-size: 3em;
    font-weight: bold;
    letter-spacing: 5px;
    color: #9698a4;
}
a {
    color: #fffffd;
    cursor: pointer;
    display: block;
    font-family: 'OpenSans', sans-serif;
    font-size: 1.3em;
    font-weight: 500;
    line-height: 15px;
    margin: 0 auto;
    padding: 3px 5px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    width: 18%;
}

a:hover {
    background: #00a2fc;
}


/*Wrapper*/
.wrapper {
    display: block;
    margin: 0 auto;
    padding-bottom: 10px;
    max-width: 950px;
    text-align: center;
    font-size: .7em;
    width: 83%;
}


/*Header*/
header {
    background: #171a1b;
    display: block;
    margin: 0 auto;
    width: 100%;
}
header img {
    margin: 0;
    display: inline-block;
    max-height: 100px;
    max-width: 23px;
    padding: 0 0;
}

header p {
    margin: 0;
    padding: 10px auto;
    color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: .7em;
    letter-spacing: .2em;
}

/*Top Content Section*/
.q2, .q3, .q4 {
    display: none;
} 

#iqgame {
    margin: 50px auto;
    text-align: center;

}
#pregunta1 {
    margin: 0 auto;
    padding: 0 10px 25px 0;
    text-align: center;
    z-index: 99;
    top: 150px;
    left: 0;
    right: 0;
    position: absolute;
}
#pregunta2 {
    margin: 40px auto 0 auto;
    text-align: center;
    z-index: 99;
    left: 0;
    right: 0;
    position: absolute;
    top: 75px;
}
#pregunta3 {
    margin: 10px auto 0 auto;
    text-align: center;
    z-index: 99;
    left: 0;
    right: 0;
    position: absolute;
    top: 90px;
}
.letra:hover {
    background-position: 0 0;
}

.letter-a {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 82px;
    height: 90px;
    background: url("../img/iq/iq_a_a.png") no-repeat;
}

.letter-a:hover {
    background: url("../img/iq/iq_a_a-h.png");
}

.letter-d {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 80px;
    height: 90px;
    background: url("../img/iq/iq_a_d.png") no-repeat;
}

.letter-d:hover {
    background: url("../img/iq/iq_a_d-h.png");
}
.letter-f {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 80px;
    height: 90px;
    background: url("../img/iq/iq_a_f.png") no-repeat;
}

.letter-f:hover {
    background: url("../img/iq/iq_a_f-h.png");
}
.letter-h {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 80px;
    height: 80px;
    background: url("../img/iq/iq_a_h.png") no-repeat;
}

.letter-h:hover {
    background: url("../img/iq/iq_a_h-h.png");
}
.letter-a2 {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 80px;
    height: 188px;
    background: url("../img/iq/iq_a_a2.png") no-repeat;
}

.letter-a2:hover {
    background: url("../img/iq/iq_a_a2-h.png");
}
.letter-b2 {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 80px;
    height: 188px;
    background: url("../img/iq/iq_a_b2.png") no-repeat;
}

.letter-b2:hover {
    background: url("../img/iq/iq_a_b2-h.png");
}
.letter-c2 {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 80px;
    height: 188px;
    background: url("../img/iq/iq_a_c2.png") no-repeat;
}


.letter-c2:hover {
    background: url("../img/iq/iq_a_c2-h.png");
}
.letter-d2 {
    display: inline-block;
    margin: 0 20px 0 20px;
    width: 80px;
    height: 200px;
    background: url("../img/iq/iq_a_d2.png") no-repeat;
}

.letter-d2:hover {
    background: url("../img/iq/iq_a_d2-h.png");
}
.letter-a3 {
    display: inline-block;
    margin: 20px 10px;
    width: 100px;
    height: 32px;
    background: url("../img/iq/iq_a_a3.png") no-repeat;
}

.letter-a3:hover {
    background: url("../img/iq/iq_a_a3-h.png");
}
.letter-b3 {
    display: inline-block;
    margin: 20px 10px;
    width: 130px;
    height: 30px;
    background: url("../img/iq/iq_a_b3.png") no-repeat;
}

.letter-b3:hover {
    background: url("../img/iq/iq_a_b3-h.png");
}
.letter-c3 {
    display: inline-block;
    margin: 20px 10px;
    width: 110px;
    height: 30px;
    background: url("../img/iq/iq_a_c3.png") no-repeat;
}

.letter-c3:hover {
    background: url("../img/iq/iq_a_c3-h.png");
}
.letter-d3 {
    display: inline-block;
    margin: 20px 10px;
    width: 165px;
    height: 30px;
    background: url("../img/iq/iq_a_d3.png") no-repeat;
}

.letter-d3:hover {
    background: url("../img/iq/iq_a_d3-h.png");
}
ul {
    margin: 0 auto;
    display: inline-block;
    text-align: center;
    z-index: 999;
    top: 28vh;
    left: 0;
    right: 0;
    position: absolute;
}

#cel {
    border-radius: 6px;
    height: 100px;
    margin: 0 auto;
    padding: 25px 10px 25px 10px;
    text-align: center;
    font-size: .7em;
    width: 15%;
    z-index: 1;
    position: relative;
    bottom: 320px;
    left: 180px;

}

#social {
    margin: 0 auto;
    float: right;
    width: 45%;
}
#popup #optin-form {
    font-weight: 700;
}
#popup #optin-button b {
    text-decoration: underline;
}
#popup .privacy {
    color: #9698a4;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    font-weight: 400;
    line-height: 16px;
    margin-bottom: 10px;
}
.form-control {
    display: block;
    border-radius: 10px;
    width: 80%;
    height: 30px;
    padding: 3px 20px 3px 20px;
    font-size: 1.5em;
    line-height: 1.42857143;
    color: #000;
    text-align: center;
    margin: 10px auto;
}

#popup div {
    margin-bottom: 20px;
}

.pin {
    display: block;
    margin: 0 auto;
}

/*Footer*/
footer {
    background: #171a1b;
    display: inline-block;
    padding: 32px 0;
    width: 100%;
}
footer p {
    border: none;
    background: none;
    color: #9698a4;
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.7em;
    font-weight: 400;
    line-height: 1.5em;
    margin: 0 auto;
    padding: 1px 30px 1px 30px;
}

ul {
    position: relative;
    top: -400px;
}

#pregunta1~ul {
    position: relative;
    top: -235px;
}

#pregunta2~ul {
    position: relative;
    top: -245px;
}

#pregunta3~ ul {
    position: relative;
    top: -225px;
}

#blackboard {
    display: block;
    margin: 0 auto;
}




