@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@100;700&display=swap');

:root{
    --neon-main: #54E6AF;
    --neon-light: #B3FFE2;
    --gray-light: #C2CBE5;
    --gray-dark: #5A668A;
    --gray-darkest: #2C344B;
    --black-shade: #0b101d;
    --white: #ffffff;
}

*{
    font-family: 'Chivo', sans-serif;
    margin: 0;
    padding: 0;
}

body{
    position: relative;
    background-color: black;
    background-image: url(assets/mobile/image-host.jpg);
    background-size: cover;
}

body::after{
    content: "";
    position: absolute;
    top: -3.5rem;
    bottom: -5rem;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Header */
picture{
    display: flex;
    justify-content: center;
    margin: 3.5rem auto 3.5rem auto;
}

/* Main Content */
.content {
    display: block;
    justify-content: center;
    margin-left: 0.9rem;
    margin-right: 0.9rem;

}

.content h1{
    color: var(--neon-main);
    text-transform: uppercase;
    font-weight: 100;
    font-size: 1.625rem;
    text-align: center;
    line-height: 2.5rem;
}

.content p{
    color: var(--gray-light);
    font-size: 1rem;
    line-height: 1.6rem;
    text-align: center;
    margin: 1rem auto -1.75rem auto;
}

#white{
    color: var(--white);
}

/* Platforms */

.platforms{
    display: flex;
    align-items: center;
    margin-left: 0.9rem;
    margin-right: 0.9rem;
    box-sizing: border-box;
}

.platforms img{
    filter: invert(37%) sepia(58%) saturate(303%) hue-rotate(187deg) brightness(92%) contrast(80%);;
    width: 3.75rem;
    height: auto;
    opacity: 0.7;

}

/* Forms */

form {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto 1.625rem 4rem 1.625rem;
}

.email-div{
    display: flex;
    flex-direction: column;
}

.error{
    font-weight: 700;
    font-size: 0.625rem;
    color: red;
    margin: 0.5rem auto 1rem 1.75rem;
    display: none;
}

.email-input{
    border: none;
    padding: 0.7rem;
    padding-right: 0;
    border-radius: 1.25rem;
    background-color: var(--gray-darkest);
    height: 1.5rem;
}

input[type="email"]{
    color: white;
}

input:focus{
    outline: none;
    border-color: transparent;
}


input::placeholder{
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding-left: 1rem;
    color: var(--white);
    opacity: 0.5;
}


.btn-div{
    display: flex;
    justify-content: center;
}

.reqAcc-btn{
    margin-top: 1rem;
    border: none;
    padding: 1rem;
    border-radius: 1.5rem;
    background-color: var(--neon-main);
    height: 3rem;
}

.reqAcc-btn:hover{
    background-color: var(--neon-light);
}

input[type="submit"]{
    font-weight: 700;
    justify-items: center;
}




/* Media Queries */


/* Tablet */


@media (min-width: 768px){

body{
    display: flex;
    flex-direction: column;
    background-color: var(--black-shade);
    background-image: url(assets/tablet/image-host.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

body::after{
    background-color: transparent;
}

main{
    display: flex;
    flex-direction: column;
    background-color: var(--black-shade);
    margin-right: 6rem;
    margin-top: 6rem;
    margin-bottom: -3.85rem;
}
/* Header */


header picture{
    display: flex;
    justify-content: left;
    margin: 3.5rem auto 3.25rem 2.5rem;
}

/* Main Content */
.content {
    display: block;
    justify-content: center;
    margin: 6rem 6rem auto 2.5rem;
}

.content h1{
    font-size: 2.70rem;
    text-align: left;
    line-height: 3.5rem;
}

.content p{
    font-size: 1.125rem;
    line-height: 1.8rem;
    text-align: left;
    margin: 2rem auto 0 0;
    width: 82%;
}

/* Platforms */

.platforms{
    width: 75%;
    margin-top: -1.5rem;
    margin-left: 1.5rem;
    order: 5;

}

.platforms img{
    width: 5.75rem;
    height: auto;
}

/* Forms */

form {
    display: flex;
    justify-content: left;
    flex-direction: row;
    margin: 3rem 1.625rem 0rem 2.5rem;
    order: 3;
}

.error{
    font-size: 0.75rem;
    margin-top: 1rem;
    margin-left: 2.15rem;
}

.email-input{
    padding: 1rem;
    border-radius: 1.75rem 0px 0px 1.75rem;
    width: 100%;
    padding-right: 6rem;
    padding-left: 1rem;
}

input::placeholder{
    font-size: 0.9rem;
    margin-left: 1rem;
}


.reqAcc-btn{
    border: 0.4rem solid var(--gray-darkest);
    padding: 0px 1.75rem 0px 1.75rem;
    border-radius: 1.75rem;
    height: 3.5rem;
    margin-left: -1.55rem;
    margin-top: 0;
}

input[type="submit"]{
    font-size: 0.9rem;
}

/* Footer */

footer{
    background-color: var(--black-shade);
}

.img-pattern{
    position: absolute;
    margin: 9.1rem auto 0 2.5rem;
    padding: 3rem 6rem;
    background-image: url(assets/desktop/bg-pattern-dots.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
}

}


/* Desktop */
@media (min-width: 1440px){


body{
    background-image: none;
    
}

body::after{
    margin-top: 8.75rem;
    left: 0rem;
    width: 100%;
    height: 50rem;
    background-image: url(assets/desktop/image-host.jpg);
    background-size: auto;
    background-repeat: no-repeat;
    background-position: right;
}

main{
    margin-right: 6rem;
    margin-left: 2.5rem;
    margin-top: 0;
    margin-bottom: -3.85rem;
}

/* Header */
header{
    margin-left: 2.5rem;
}
header picture{
    margin: 8rem auto 6.25rem 2.5rem;
}

/* Main Content */

main{
    width: 59.5%;
    margin-bottom: 0rem;
}

.content {
    margin: 3.74rem 4rem auto 2.5rem;
}

.content h1{
    font-size: 3.25rem;
    line-height: 4.25rem;
}

.content p{
    width: 60%;
}

/* Platforms */

.platforms{
    width: 67%;
}

.platforms img{
    width: 6.75rem;
}

/* Forms */

.email-input{
    margin-right: 0;
}

/* Footer */

footer{
    display: flex;
    justify-content: right;
}

.img-pattern{
    margin: -6.25rem 0 0 0;
    padding: 4.60rem 10.25rem;
    background-image: url(assets/desktop/bg-pattern-dots.svg);
}


}
