*{
    box-sizing: border-box;
}

body{
    margin: 0;
}

:root{
    --red:#EF4444;
}
.section{
    display: flex;
    align-items: center;
    justify-content: center;
}
.container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5rem;
}
.main-form{
    box-shadow: 3px 10px 20px rgb(0 0 0 / 0.2);
    padding: 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    max-width: 900px;
    background-image: url("./Images/blackBg.png");
}
form{
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content:center;
    align-items: flex-start;
}
label{
    width: auto;
    align-self: flex-start;
    margin-bottom: 1rem ;
    font-size: 1.5rem;
    border-bottom: 2px solid white;
    background: transparent;
    color: white;
}
input{
    width: 50%;
    border: none;
    font-size: 1rem;
    color: white;
    background: transparent;
}

input[type=text]:focus{
    outline: 0;
}

h1{
    padding: 0 2rem;
    color: white;
    font-size: 3rem;
    align-self: flex-start;
}
nav{
    padding: 1rem 2rem;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}
a{
    text-decoration: none;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: larger;
}
a:hover{
    background-color: white;
    color: black;
}
button{
    border: 2px solid white;
    font-size: larger;
    background: transparent;
    color: white;
    padding: 1rem;
}
button:hover{
    cursor: pointer;
    background-color: white;
    color: black;
}
.sub-container{
    display: flex;
}
.output-gif{
    
    background-size: cover;
    background-position: center center;
    width: 250px;
    height: 250px;
    display: none;
    border: 2px solid white;    
}
.output{
    font-weight: bold;
    background-color: blue;
    padding: 1rem;
    text-align: center;
    font-size: 1.3rem;
    display: none;
    color: white;
}

p{
    margin: 0.5rem 0 0 0;
    display: none;
    color: white;
    font-size: larger;
    text-align: center;
}

@media screen and (max-width:700px) {

    .sub-container{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
    h1{
        text-align: center;
    }
    .output-gif{
        margin-left: 2rem;
    }
    label{
        font-size: 1.2rem;
        display: inline-block;
    }
}