@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
@media screen and (orientation:portrait) and (max-width:768px) {
    
    * {
        margin: 0;
        padding: 0;
        /* outline: 1px solid red; */
    }

    html, body {
        height: 100%;
        font-family: Bai Jamjuree;
    }

    #bg-header{
        width: 100%;
        position: absolute;
        margin-top: -95px;
    }

    

    img {
        display: flex;
        margin: auto;
    }


    #logo-1 {
        margin-top: 95px; 
        width: 110px;
    }

    h1 {
        color: hsl(210, 10%, 33%);
        margin-top: 50px;
        text-align: center;
        font-size: 1.7em;
        font-weight: 700;
        white-space: pre;
    }

    p {
        color: hsl(201, 11%, 66%);
        text-align: center;
        font-size: 4.2vw;
        margin-top: 20px;
        font-weight: 400;
    }

    a {
        border: 1px solid rgba(0, 0, 0, 0);
        border-radius: 40px;
        padding: 15px;
        display: block;
        text-align: center;
        width: 73vw;
        margin: auto;
        margin-top: 40px;
        text-decoration: none;
        cursor: pointer;
    }

    .ios {
        background-color: hsl(171, 66%, 44%);
        color: white;
        font-weight: 500;
        box-shadow: 2px 3px 10px hsl(171, 66%, 34%);
    }

    .mac {
        margin-top: 20px;
        background-color: hsl(233, 100%, 69%);
        color: white;
        font-weight: 500;
        box-shadow: 2px 3px 10px hsl(233, 45%, 43%);
    }

    h2 {
        margin-top: 200px;
        /* width: fit-content; */
        /* transform: translateY(200px); */
        text-align: center;
        font-size: 1.4em;
        white-space: pre;
        color: hsl(210, 10%, 33%);
    }

    main > p {
        font-size: .9em;
        white-space: pre;
        margin-top: 2px;
    } 

    #devices {
        width: 280px;
        margin-top: 40px;
    }

     #sm-space > h2 {
         margin-top: -55px; 
    }

    #smTexto h2 {
        margin-top: 50px;
    }

    #smTexto p {
        width: 300px;
        margin: auto;
        margin-top: 10px;
    }

    #sm-space > p {
        white-space: pre;
        margin-top: 2px;
    }  

    #img-2 {
        margin-top: 40px;
        width: 300px;
    }

    #access {
        margin-top: -170px;
        white-space: pre;
    }

    #Supercharge {
        margin-top: -40px;
    }

    #Supercharge h2 {
        margin-top: -10px;
    }

    #access p {
        margin-top: -20px;
    }

    #up {
        margin-top: 129px;
    }

    #suba {
        margin-top: -10px;
    }

    #bottom {
        margin-bottom: 20px;
    }

    /* .bloco {
        outline: 1px solid red;
    } */

    #empresas img {
        width: 160px;
        /* margin-top: 20px; */
    }


    #pre-footer h1 {
        margin-top: 130px;
    }

    #pre-footer p {
        white-space: pre;
        margin-top: -2px;
    }

    footer {
        margin-top: 100px;
        background-color: hsla(202, 11%, 66%, 0.132);
        text-align: center;
        height: 420px;
    }
    

    footer p {
        color: hsl(204, 6%, 34%);
    }

    #logo-footer {
        width: 45px;
        padding: 20px;
        
    }

    #social{
        display: flex;
        transform: translateY(25px);
    }

    #left{
        transform: translateX(50px);
    }

    #right {
        transform: translateX(-50px);
    }
}
@media screen and (orientation:landscape) and (min-width: 600px){

    html, body {
        width: 99%;
        height: 100%;
        font-family: Bai Jamjuree;
    }

    #bg-header{
        width: 99.2%;
        margin-top: -50px;
        position: absolute;
    }

    #logo-1 {
        display: flex;
        margin: auto;
        transform: translateY(80px);
        width: 100px;
    }

    header > h1 {
        margin-top: 160px;
        color: hsla(216, 7%, 27%, 0.937);
        text-align: center;
        font-size: 2.3rem;
        transform: translateY(-40px);
        font-weight: 600;
    }

    p {
        color: hsl(201, 11%, 66%);
        text-align: center;
        font-size: 2vw;
        width: 90%;
        margin: auto;
        margin-top: -30px;
        font-weight: 400;
    }

    a {
        border: 1px solid rgba(0, 0, 0, 0);
        border-radius: 40px;
        padding: 15px;
        display: block;
        text-align: center;
        width: 20vw;
        margin-top: 40px;
        text-decoration: none;
    }

    #divA{
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .ios {
        background-color: hsl(171, 66%, 44%);
        color: white;
        font-weight: 500;
        box-shadow: 2px 3px 10px hsl(171, 66%, 34%);
    }

    .mac {
        /* margin-top: 20px; */
        background-color: hsl(233, 100%, 69%);
        color: white;
        font-weight: 500;
        box-shadow: 2px 3px 10px hsl(233, 45%, 43%);
    }

    h2 {
        margin-top: 140px;
        text-align: center;
        font-size: 1.9em;
        color: hsl(210, 10%, 33%);
    }

    main > p {
        font-size: 1em;
        margin-top: 2px;
        width: 600px;
    }

    #sm-space {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
        justify-content: space-around;
    }

    #smTexto {
        margin-left: -40px;
        transform: translateY(-80px);
    }

    #smTexto h2 {
        font-size: 1.5em;
        margin-bottom: -100px;
    }

    #smTexto p{
        font-size: 1em;
        transform: translateY(100px);
        width: 450px;
    }

    #devices {
        width: 500px;
        height: 400px;
        transform: translateX(-45px);
        margin-top: 40px;
    }

    #img-2{
        width: 700px;
        display: flex;
        margin: auto;
        margin-top: 30px;
    }

    #Supercharge h2 {
        font-size: 1.3em;
        margin-bottom: 39px;
    }

    #access h2{
        margin-bottom: 35px;
    }

    #Supercharge img{
        display: flex;
        width: 56px;
        height: 50px;
        margin: auto;
        margin-top: 40px;
        margin-bottom: -120px;
    }

    .bloco {
        /* outline: 1px solid red; */
        width: 500px;
    }

    .bloco p {
        font-size: 1em;
    }

    #reforma {
        width: 100;
    }

    #Supercharge {
        display: flex;
        flex-direction: row;
    }

    #empresas {
        display: flex;
        align-items: center;
        justify-content: space-around;
        margin-top: 200px;
        margin-bottom: 150px;
    }

    #empresas img {
        width: 120px;
        /* margin-top: 20px; */
    }


    #pre-footer h1 {
        margin-top: 130px;
        margin: auto;
        text-align: center;
        margin-top: 100px;
    }

    #pre-footer p {
        margin-top: 10px;
        font-size: 1em;
        width: 500px;
    }
    
    #btn-final {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 50px;
    }  


    footer {
        margin-top: 100px;
        background-color: hsla(202, 11%, 66%, 0.132);
        width: 100%;
        display: flex;
        justify-content: space-around;
        height: 130px;
    }

    footer img {
        width: 50px;
        height: 50px;
        margin-top: 40px;
    }

    #textos {
        display: flex;
        margin-top: 80px;
        display: flex;
        gap: 10px;
    }

    #social img {
        width: 30px;
        height: 30px;
        margin-right: 10px;
        margin-top: 40px;
    }

    #social {
        gap: 40px;
    }

    footer p {
        color: hsl(204, 6%, 34%);
        flex-direction: row;
        font-size: 15px;
        flex-wrap: wrap;
    }
}