@import url(https://fonts.bunny.net/css?family=acme:400);

* {
    box-sizing: border-box; 
}

body {
    font-family: 'Acme', sans-serif; 
    margin: 0;
    padding: 0; 
}

/* main style */
.container {
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 100vh; 
}

.left {
    width: 60%; 
}

/* right */
.desktop-hero {
    background: url("./images/hero-desktop.jpg") center no-repeat; 
    background-size: cover; 
    width: 40%; 
    height: 100vh; 
}

/* left inner styles */
.inner {
    width: 70%;  
    margin: 0 auto; 
}

.logo {
    width: 200px; 
}

.mobile-hero {
    display: none; 
}

h1 {
    font-size: 4.5rem;
    text-transform: uppercase; 
    letter-spacing: 5px;
    color: #222222; 
    margin-bottom: 0; 
}

h1 span {
    font-weight: 300;    
    color: #ff0900; 
}

p {
    line-height: 1.8; 
    color: #ff0900;  
}

form {
    position: relative; 
}

input {
    width: 120%; 
    padding: 1rem 1.5rem; 
    outline: none; 
    border: 2px solid #777777; 
    border-radius: 2px;
    font-size: .9rem;  
}

input::placeholder {
    color: #555555;
}

button {
    position: absolute; 
    top: 0; 
    right: 0;  
    height: 100%; 
    padding: .5rem 2rem;
    border-radius: 2px;
    border: 2px solid #ff0900; 
    background: #ff0900; 
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

@media screen and (max-width:900px) {
    .container {
        height: auto; 
        margin: auto;
    }

    .left {
        width: 100%; 
    }

    .inner {
        width: 100%;  
        margin: auto; 
    }

    h1 {
        font-size: 3.5rem; 
        text-align: center;
    } 

    p, form {
        margin: 20px 40px;
        text-align: center;  
    }

    .logo {
        margin: 20px; 
        text-align: left;   
    }

    .desktop-hero {
        display: none; 
    }

    .mobile-hero {
         display: block;  
         width: 100%; 
    }
}