body{
    font-family: "Nunito Sans", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: hsl(0, 8%, 93%);
}
.container{
    display: flex;
   
    align-items: center;
    text-align: center;
    height: 100vh;
    flex-direction: column;
    background-color:  hsl(0, 8%, 93%);
    ;
    width: 100%;
    gap: 3rem;
}
.navbar{
    display: flex;
    background-color:white;
    box-shadow: 2px 4px 2px rgba(0,0,0,0.2);
    width: 105%;
    text-align: start;
    gap: 70%;
    position: relative;
    padding-left: 10%;
    align-items: center;
}
.switch{
    text-align: center;
    align-items: center;
    display: flex;
    gap: 5px;
    background-color:  rgba(255,255,255,0.4);
    border-radius: 10px;
    box-shadow: 2px 4px 2px rgba(0,0,0,0.2);
    border: 1px solid gray;
    cursor: pointer;
    height: 70%;
}
.navbar .switch:hover{
    transition: 0.3s;
    background-color:  hsl(209, 23%, 22%);
    color: white;
}

.countries-box{
    display: flex;
}
.main-box{
    
    width: 90%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    
}
.search-bars{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;
    position: relative;
    width: 30%;
}
.formulario{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: start;
    position: relative;
    width: 100%;
    gap: 5px;
}
.formulario input{
    padding: 10px;
    width: 85%;
    display: flex;
    border-radius: 10px;
   background-color: rgba(255,255,255,0.4);
    outline: none;
    border:1px solid white;
    box-shadow: 2px 4px 2px rgba(0,0,0,0.3);
    
}
.formulario button{
    background-color: rgba(255,255,255,0.4);
    border:1px solid white;
    border-radius: 10px;
    cursor: pointer;
    padding: 1%;
}
.formulario button:hover{
    transition: 0.3s;
    background-color:  hsl(209, 23%, 22%);
    color: white;
}
.countries-box{
    display: flex;
    gap: 5rem;
}
.contries{
    background-color: white;
    border-radius: 10px;
    display: flex;   
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 2px 4px 2px rgba(0,0,0,0.2);
}
.contries .image{
    width: 100%;
    height: 70%;
    object-fit: cover;
   overflow: hidden;
    border-radius: 10px 10px 0 0;
    background-color: blue;
}
.photo{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 10px 0 0;
    overflow: hidden;
}
.name{
    font-size: 20px;
    font-weight: 700;

}
.results{
    overflow-y:auto;
    max-height: 20%;
    background-color: rgba(255,255,255,0.4);
    padding: 5%;
    width: 80%;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    gap: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 4px 2px rgba(0,0,0,0.2);
}
.result-item{
    padding: 2px;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
}

.result-item:hover{
    background-color: hsl(209, 23%, 22%);
    color: white;
    border-radius: 10px;
    transition: 0.3s;
    padding: 2px;
    cursor: pointer;
}
.buttons-submit-form{
    width: 100%;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-left: 7%;

}
.box-inside-main-box{
   
    width: 100%;
    height: 100%;
    display: flex;
    gap: 5%;
    padding:20px;
    border-radius: 5px;
    background-color:  rgba(255,255,255,0.4);
    box-shadow: 2px 4px 2px rgba(0,0,0,0.2);
}
.box-inside-main-box img{
  width: 100%;
  height: 100%;
}
.flag-main-box{
    width: 30%;
}
.main-information{
    display: flex;
   
    width: 50%;
    text-align: start;
    gap: 10%;
    
}
.box-info h3{
    font-size: 25px;
    text-align: start;
}
.box-info{
    width: 100%;
}
.box-info p{
    font-size: 20px;
}
.button-back{
    padding: 10px;
    width: 10%;
    background-color:rgba(255,255,255,0.4);
    border:1px solid white;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.button-back:hover{
    transition: 0.3s;
    background-color:  hsl(209, 23%, 22%);
    color: white;
}
.another-names{
    
    width: 100%;
    font-size: 20px;
}
.Erro-Message{
    background-color: rgb(243, 80, 80, 0.2);
    width: 40%;
    border-radius: 10px;
    padding-left: 15px;
}