* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-color: #f4f4f4;
    margin: auto;
    font-family: 'Times New Roman', Times, serif;
}

.msgErro {
    margin-top: 0;
    margin-bottom: 1rem;
    color: red;
    font-weight: 500;
    display:none;
}

.container-principal {
    display: flex;
    width: 800px; 
}

.geradorDeCEP {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 400px;
    margin-right: 1rem;
    margin: auto;
}

.geradorDeCEP h1 {
     font-family: "Fascinate Inline", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.geradorDeCEP input {
    width: 60%;
    height: 25px;
    padding: .2rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.geradorDeCEP input::placeholder{
    padding: .2rem;
   
}


.geradorDeCEP button {
    width: 200px;
    height: 40px;
    background-color: rgb(243, 219, 0);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(0,0,00.1);
    transition: background-color 0.3s ;
}

.geradorDeCEP button:hover {
    background-color: rgb(244, 233, 18);
}

.cepGerado {
    display: flex;
    flex-direction: column;
    width: 400px;
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0,0,00.1);
}

.cepGerado div {
    display: flex;
    justify-content: space-between;    
    align-items: center;
    margin-bottom: 0.5rem;
}

.info {
    padding: .5rem;
    width: 300px;
    min-height: 30px;
    border-radius: 5px;
    margin-left: .1rem;
    border: 1px solid black;
}

.clipboard-copy {
    margin-right: .2rem;
    display: flex;
    align-items: center;
}

.clipboard-copy img {
    width: 20px;
    height: 20px;
    cursor: pointer;
    padding: auto
}

@media screen and (width < 784px){
    .container-principal {
       flex-direction: column;
       align-items: center;
    }

    .geradorDeCEP {
        margin-bottom: 1.5rem;
    }

    .geradorDeCEP h1 {
        margin-bottom: .5rem;
    }

    .cepGerado {
        width: 350px;
        margin: auto;
    }

}
