main {
    width: 320px;
    height: 500px;
    position: absolute;
    top: 0;
    bottom: 25px;
    left: 0;
    background-color: #00000000;
    right: 0;
    margin: auto;
    visibility: hidden;
    box-shadow: #000 0px 0px 30px 0px;
}

a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    width: fit-content;
    border: #000 solid 2px;
    border-radius: 10px;
    padding: 1px;
    background-color: rgb(0, 110, 255);
    box-shadow: 0px 0px 5px #000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #000000;
}

#divLinks {
    position: absolute;
    bottom: 14%;
    height: 200px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    gap: 5px 25px;

}

.icones {
    width: 80px;
}

#ligar {
    width: 80px !important;

}

@media (max-width:329px) {
    main {
        width: 98vw;
        height: 98vh;
    }
}

@media (max-height:350px) {
    main {
        height: 100%;
        width: 80%;

    }

    * {
        --bottom: 5% !important;
        --top: 0;
    }

    #insta {
        width: 20% !important;
        position: absolute;
        bottom: var(--bottom) !important;
        left: 60% !important;
        top: 0 !important;
    }

    #logo {
        width: 20% !important;
        left: -60% !important;
        border-radius: 10px;
        right: 0;
        bottom: var(--bottom);
        top: 0 !important;
        position: absolute;
    }

    #qrcode {
        width: 20% !important;
        top: 30% !important;
        left: -40% !important;
    }

    #copiado {
        width: 20% !important;
        height: 40% !important;
        right: -40% !important;
        font-size: 100% !important;
    }

    #copiar {
        height: 10% !important;
        width: 15% !important;
        bottom: 40% !important;
    }

    h1 {
        position: absolute;
        top: -13%;
        left: 0;
        right: 0;

    }

    #video {
        position: absolute;
        top: 20% !important;
        left: 0 !important;
        right: 0 !important;
        margin: auto !important;
        width: 100% !important;

    }
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    gap: 2px;
    
}

.bt {
    background-color: #0084ff !important;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color: #000000;
    width: 100px !important;
    border: 0;
    font-weight: bold;
    border-radius: 5px;
    border: solid 2px #000;
    height: 40px;
}
.span{
    color: #000 !important;
    transform: translateZ(5px);
    width: 100%;
    height: 100%;
    background-color: #003cff0c;
}

.pix:focus {
    box-shadow: 0px 0px 0px 2px rgb(217, 255, 0);
    border: solid 2px #000000;
}

.mais:focus {
    box-shadow: 0px 0px 0px 2px rgb(217, 255, 0);
    border: solid 2px #000000;
}

.home:focus {
    box-shadow: 0px 0px 0px 2px rgb(217, 255, 0);
    border: solid 2px #000000;
}

.orçamento:focus {
    box-shadow: 0px 0px 0px 2px rgb(217, 255, 0);
    border: solid 2px #000000;
}

.pix {
    order: 1;
    width: 50px !important;
}

.mais {
    order: 3;
    width: 105px !important;
}

.home {
    order: 2;
    width: 100px !important;
}

.orçamento {
    order: 4;
    width: 115px !important;
}

.pix {
    bottom: 0;
    left: 0;

    /* border-top-right-radius: 10px;*/
}

.mais {
    bottom: 0;
    right: 0;

    /*border: 0;*/
}

#home {
    bottom: 0;
    left: 33%;
    width: 36%;
    /* border: 0;*/
}

.div {
    width: 99.92%;
    height: 99.9%;
    border-radius: 30px 30px;
    position: absolute;
    /*border: #000 4px solid ;*/
    box-shadow: rgba(0, 0, 0, 0.3) 0px 0px 20px 0px, inset 0px 0px 10px 7px rgb(0, 0, 0, 0.1);
}

* {
    --cor1: rgb(0, 174, 255);
    --cor2: rgb(25, 48, 255);
    --cor3: rgb(110, 110, 110);
}


#div3 {
    background-color: #0084ff;
    visibility: visible;

}

#div2 {
    display: none;
    visibility: visible;
}

#div1 {
    display: none;
    visibility: visible;
}

#div4 {
    display: none;
    visibility: visible;

}

#div4 fieldset {
    border: #000 2px solid;
    text-align: center;
    padding: 5px 5px;
    width: 80%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    background-color:#00a2ff;
    
    position: relative;
}

#div4 fieldset legend {
    font-size: 20px !important;
    text-align: left;

}

#div4 input[type='text'] {
    width: 120px;
}

#div4 input {
    border: #000 solid 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 15px;
    text-align: center;

}

#div4 input[type="checkbox"] {
    box-shadow: #000 0 0 0 2px;
    margin-right: 8px;
    border: 0;
}

#div4 select {
    border: #000 solid 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    width: 120px;
}

#celular {
    height: 15%;
}

#defeitos {
    height: 40%;
}

#div4 form {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 17px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 10px 0;
}

#div4 button {
    border: #000 solid 2px;
    padding: 5px;
    background-color: #ffe600;
    color: #000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 18px;
}

#div4 button:active {
    background-color: #0084ff;
    box-shadow: #000 0px 0px 2px 2px;

}

iframe {
    width: 97%;
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
}

#qrcode {
    width: 50%;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 18%;
}

#copiado {
    color: #000;
    width: 70%;
    height: 10%;
    margin: auto;
    left: 0;
    right: 0;
    border-radius: 30px;
    position: absolute;
    bottom: 31%;
    background-color: rgb(0, 225, 255);
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 900;
    display: none;
}

#copiar {
    position: absolute;
    bottom: 18%;
    height: 7%;
    width: 50%;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 110%;
    border-radius: 20px;
    background-color: var(--cor1);
    border: solid black;
    box-shadow: 0px 0px 10px #000, 0px 0px 15px #000;
}

#copiar:active {
    transform: scale(0.9);
    box-shadow: 0px 0px 10px 5px #000, 0px 0px 10px 0px #000;
}

#insta {
    position: absolute;
    margin: auto;
    width: 40%;
    left: 0;
    right: 0;
    bottom: 13%;
}

#logo {
    width: 60%;
    border-radius: 10px;
    position: absolute;
    top: 6%;
    left: 0;
    right: 0;
    margin: auto;
}

#serviços {
    position: absolute;
    width: 80%;
    height: 300px !important;
    left: 0;
    right: 0;
    margin: auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0px;

}

#images img {
    width: 80%;
    border-radius: 10px;
    border: #d0ff00 3px solid;
}

#images {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

#fotos {
    position: relative;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}
#fotos img{
    box-shadow: #000 0 0 8px 1px;
}

.setas{
    position: absolute;
    background-color: #e5ff00;
    border: 2px solid #000;
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 40px;

}
#direita{
    right: 15px;
}
#esquerda{
    left: 15px;
}
#direita:active{
    box-shadow: #000 0 0 5px;
}
#esquerda:active{
    box-shadow: #000 0 0 5px 2px;
}



ul {
    position: absolute;
    top: 30px;
    text-align: left;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.452);
    animation-duration: 5s;
    animation-name: ok;
    background-color: rgb(69, 48, 129);
    animation: color-change-5x 8s linear 0s infinite normal none;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
}

li {
    text-decoration: none;
    list-style: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    animation: color-change 10s ease-in-out 0s infinite normal none;
}

@keyframes color-change-5x {
    0% {
        background: #ffe600;
    }

    25% {
        background: #00d5f1;

    }

    50% {
        background: #00ff15;
    }

    75% {
        background: #10f568;
    }

    100% {
        background: #ffe600;
    }
}