@font-face {
    font-family: reserve;
    src: url(../fonts/reserve.ttf);
}

@font-face {
    font-family: bolt;
    src: url(../fonts/bolt.ttf);
}

body {
    text-transform: uppercase;
    background-color: black;
    padding: .5rem;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.error-img {
    display: none;
}

.error {
    display: block;
    position: absolute; 
    left: 0; 
    right: 0;
    bottom: 0;
    margin-left: auto; 
    margin-right: auto; 
    width: 57%;
    min-width: 400px;
}

.hidden {
    display: none;
}

.ibi {
    background-color: white;
    margin: 0 auto;
}

h1 {
    padding: .25rem;
    text-align: center;
    font-family: reserve;
    font-size: 1.125rem;
    font-weight: 100;
}

.ibi span {
    font-size: 1rem;
}

.emblems {
    max-height: 400px;
    width: calc(100% - 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

.emblems img {
    width: 33%;
    max-width: 175px;
    height: 100%;
    max-height: 350px;
}

.ibi_alien {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    background-color: #fff;
    padding: .5rem;
}

.ibi_alien img {
    max-height: 1.5rem;
    width: auto;
}

.input_alien {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: .5rem;
}

.input_alien img {
    max-height: 1.5rem;
    width: auto;
}

.alien-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.input h1 {
    margin: .5rem 0;
    color: #fff;
}

form {
    max-width: 375px;
    margin: 0 auto;
    margin-top: 1.25rem;
}

label {
    color: #fff;
    font-family: reserve;
}

form div {
    display: flex;
    gap: 4px;
}

div input:first-of-type {
    width: 78%;
    border-radius: 10px 0 0 10px;
}

div input:last-of-type {
    width:18%;
    font-family: reserve;
    border-radius: 0 10px 10px 0;
    background-color: #FEFF99;
    height: 100%;
    -webkit-appearance: none;
    -webkit-border-radius: 0 10px 10px 0;
}

input {
    border: none;
    padding: .75rem;
    margin-top: .5rem;
}

@media screen and (min-width: 868px) {   
    
    .error {
        bottom: auto;
        width: 100%;
    }
}

@media screen and (min-width: 1200px){
    
    body {
        padding: 2.5rem 2rem;
    }

    h1 {
        padding: .25rem;                                   
        font-size: 26.5px;
        font-weight: 100;
    }

    .emblems img {
        max-width: none;
    }

    .ibi_alien {
        gap: 1.5rem;
    }

    .ibi_alien img {
        max-height: 1.75rem;
    }    

    .ibi_alien img {
        max-height: 2.75rem;
        width: auto;
        margin:.5rem 0;
    }

    .input h1 {
        margin: 2rem 0;
    }

    
    .input_alien img {
        max-height: 1.75rem;
        width: auto;
    }
    
    .error {
        width: 57%;
    }
}

