*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
}

body{
    width: 100%;
    min-height: 100vh;
    background-color: rgb(243, 243, 243);
    margin: 0;
    display: flex;
    justify-content: center;
}

.instagram-wrapper{
    display: flex;
    align-items: center;
    justify-content: start;
    width: 60%;
    height: 100vh;
}

.instagram-phone{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.instagram-phone img{
    height: 40rem;
}

.instagram-continue{
    display: flex;
    align-items: center; /* horizontal */
    justify-content: space-around; /* vertical */
    flex-direction: column;
    width: 50%;
    min-height: 34rem;
}

.group{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background-color: #ffffff;
    width: 100%;
    padding: 1.3rem 0;
    border: 1px solid lightgray;
}

.group:nth-child(1){
    min-width: 19rem;
}
.group-login{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    width: 100%;
    padding: 1.3rem 0;
    border: 1px solid lightgray;
}

.cadastro{
    margin-left: 3px;
}

.group-login:nth-child(1){
    min-width: 19rem;
}

.instagram-logo{
    height: 3rem;
}

.profile-photo{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
}

.profile-photo img{
    height: 6rem;
}

.instagram-login{
    background-color: #0095f6;
    color: #ffffff;
    padding: 8px;
    border-radius: 4px;
    margin-top: 8px;
}

.instagram-login-sem-user{
    background-color: #0095f6;
    color: #ffffff;
    padding: 8px;
    padding-left: 44%;
    padding-right: 44%;
    border-radius: 4px;
    margin-top: 8px;
}

#email{
    color: gray;
    margin-top: 10px;
    margin-bottom: 5px;
    width: 300px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#password{
    color: gray;
    margin-bottom: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 300px;
}

fieldset {
    border-top: -0.5px solid gray;
    border-bottom: none;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    text-align: center;
    margin: 20px 0;
 }
 
 fieldset legend {
    padding: 1px 10px;
}



.facebook{
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.facebook img{
    width: 15px;
    margin-right: 5px;
}

.instagram-logout{
    color: #0095f6;
    margin-top: 1rem;
}

.not-account{
    color: rgb(160, 160, 160);
}

.link-blue{
    color: #0095f6;
}

.get-the-app{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.3rem 0;

}

.download{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    padding: 1rem;
}

.app-download{
    height: 3rem;
    width: 10rem;
    background-size: cover;
}

.app-download:nth-child(1){
    background-image: url('../img/apple-button.png');
}

.app-download:nth-child(2){
    background-image: url('../img/googleplay-button.png');
}

/* media queries */

@media(max-width:1170px){
    .instagram-wrapper{
        width: 90%;
    }
}

@media(max-width: 780px){
    body{
        background-color: #ffffff;
    }

    .instagram-wrapper{
        width: 90%;
    }

    .instagram-phone{
        display: none;
    }

    .instagram-continue{
        width: 100%;
    }

    .group{
        border: 1px solid transparent;
    }
    .group-login{
        border: 1px solid transparent;
    }
    
}

@media(max-width: 350px) {
    .download{
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    .download a{
        margin-bottom: 5%;
    }
}