/*Seta alguns estilos padrões*/
@font-face {
    font-family: 'Insta' ;
    src: url('fonts/Fontspring-DEMO-blue_vinyl_regular_ps_ot.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none; /*tira as linhas dos links*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}



body{
    width: 100%; /*largura*/
    min-height: 100vh; /*altura mínima*/
    background-color:rgb(243, 243, 243); 
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /*alinhamento horizontal (ao centro)*/
    
}

.codegram-wrapper{ 
    display: flex; /*alinha os elementos em linha ocupando o espaço que eles realmente necessitam dentro do container*/
    align-items: center; /*alinhamento vertival dos ítens*/
    justify-content: start; /*alinhamento horizontal (da esquerda pra direita)*/
    width: 60%;
    height: 100vh;
}



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

.codegram-logos img {
    opacity: 0;
    height: 25rem;
    position: absolute;
    object-fit: cover;   
    transition: opacity 800ms;
}

.codegram-logos img.selected {
    opacity: 1;
}

.codegram-continue {
    display: flex;
    align-items: center;
    justify-content: space-around;
    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) { /*seletor que pega os filhos do elemento*/
    min-height: 19rem;
} 

.codegram-name {
    height: 3rem;
    font-family: "Insta";
    font-size: 35px;
}

.profile-photo {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden; /*a imagem não excede a div pra fora*/
}

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

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

.codegram-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; /*deixa o mesmo espaçamento dos lados quando no meio*/
    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: 1024px) {
    .codegram-wrapper {
        width: 90%;
    }
}

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

    .codegram-wrapper {
        width: 90%;
    }

    .codegram-logos  {
        display: none;
    }
    
    .codegram-continue {
        width: 100%;
    }

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