@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background-image: url(imagens/fundo-madeira.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100vw;
    height: 100vh;
}

p{
    width: 80vw;
    color: white;
    text-align: center;
    font-size: 20px;
    padding-top: 10px;
}

main{
    display: flex;
}

a{
    color: white;
}

#telefone{
    display: flex;
    place-items: center;
    justify-content: center;
    background-image: url(imagens/frame-iphone.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 80vw;
    min-width: 311px;
    height: 627px;
}

#tela{
    position: relative;
    top: 2px;
    width: 270px;
    height: 472px;
    border-radius: 2px;
}

#redes{
    display: flex;
    flex-direction: column;
    width: 20vw;
    place-content:center;
    align-items: center;
    gap: 10px;
}

#redes img{
    width: 15vw;
    max-width: 100px;
    margin-right: 10px;
    border-radius: 50%;
}

#redes img:hover{
    border: 2px solid white;
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 10px black;
    transition: transform 0.2s;
}

@media(max-width:390px){
    p{
        padding-top: 3px;
        width: 100%;
        font-size: 14px;
    }

    main{
        height: auto;
        flex-direction: column;
        align-items: center;
        gap: 3px;    
    }

    #telefone{
        height: 627px;
    }

    #redes{
        flex-direction: row;
    }

    #redes img{
        width: 10vw;
    }
}