/* Configuração Global */

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


/* Geral */

body {
    background-color: #FAFAFA;
}

main {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.instagram-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 940px;
    height: 790px;
}


/* Celulares */

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

.instagram-phone img {
    width: 470px;
}


/* Slides do celular */

.slide {
    position: absolute;
    z-index: 1;
    width: 250px;
    height: 445px;
    opacity: 0;
    margin-top: -218px;
    margin-left: -315px;

    -webkit-transition: opacity 2s;
    -moz-transition: opacity 2s;
    -o-transition: opacity 2s;
    transition: opacity 2s;
}

.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 250px;
    height: 445px;
}

/* Login */

.instagram-continue {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*horizontal*/
    justify-content: center;
    /*vertical*/
    width: 50%;
    height: 640px;

}

.group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    background-color: white;
    margin: 5px 0;
    width: 350px;
    padding: 1.3rem 0;
    border: 1px solid lightgray;
}

.group:nth-child(1) {
    min-height: 19rem;

}

.instagram-logo {
    height: 4rem;
    margin: 10px 0;
}

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

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

.instagram-login {
    background-color: #0095F6;
    color: white;
    padding: 8px 14px;
    border-radius: 4px;
}

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

.not-account {
    color: rgb(0, 0, 0);
    margin-top: 20px;
}

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

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

.download {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 150%;
    padding: 1rem;
}

.app-download {
    height: 2.9rem;
    width: 10rem;
    margin: 10px;
    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');
}

/* Links da parte de baixo */

footer {
    display: flex;
    width: 100%;
    height: auto;
    margin: auto;
    bottom: 0;
    color: #8e8e8e;
}

.nav-footer {
    margin: auto;
    justify-content: center;
}

.menu-footer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: auto;
    bottom: 0;
    justify-content: center;
}

.menu-footer li {
    margin: 5px 10px;
    cursor: pointer;
    font-size: 12px;

}

.rodape-footer {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

.change-language {
    margin: 10px;
    border: none;
    background-color: #FAFAFA;
    color: #8e8e8e;
}



/* media queries */

@media (max-width: 900px) {
    .instagram-phone {
        display: none;
    }

    .instagram-continue {
        align-items: center;
    }

}

@media (max-width: 500px) {
    body {
        background-color: white;
    }

    .group {
        border: none;
    }

    .instagram-continue {
        width: 100%;
        justify-content: flex-start;
    }

    .download {
        width: 80%;
    }

}