/* fontes locais */
@font-face
{
    font-family: Sora;
    src: url(../font/Sora.ttf);
}

/* animações */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}

/* cores padrão */
:root
{
    --apple-blue: #007AFF;
    --apple-green: #30DB5B;
    --light-blue: #3d9bff;
    --light-green: #57f97f;
    --youtube-red: #FF0000;
    --std-gray: #808080;
    --transparent: transparent; 
}

/* estilo global */
html
{
    font-family: Sora;
    color: white;
    cursor: url('../img/cursor.cur'), auto;
}

/* fundo */
body
{
    min-height: 100vh;
    background: #171717;
}

/* Lottie Animations */
#check-icon
{
    padding: 10px;
}

#scroll-icon
{
    padding-block: 50px;
}

/* barra de rolagem */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--std-gray); }
::-webkit-scrollbar-thumb { background: var(--light-blue); }
::-webkit-scrollbar-thumb:hover { background: var(--apple-blue); }

/* estilos predefinidos */
.flex { display: flex; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.justify-center { justify-content: center; }
.justify-around { justify-content: space-around; }
.justify-between { justify-content: space-between; }
.justify-evenly { justify-content: space-evenly; }
.align-center { align-items: center; }
.uppercase { text-transform: uppercase; }
.std-gray { color: var(--std-gray); }
.gap-adjust { gap: 100px; }

/* estilos padrão */
main
{
    flex-direction: column;
    text-align: center;
    margin-inline: 30px;
    gap: 15px;
}

h1
{
    font-size: 60pt;
    font-weight: bold;
    text-align: center;
}

h2
{
    font-weight: bold;
    text-align: left;
    font-size: 30pt;
    margin-block: 80px;
}

h2::after
{
    content: url(../img/diagonal-arrow2.svg);
    position: relative;
    margin-left: 8px;
}

h3
{
    font-size: 20pt;
    font-weight: bold;
    text-align: center;
    margin: 5px;
}

p
{
    font-size: 15pt;
}

b
{
    font-weight: bold;
}

/* barra de navegação */
header
{
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;

    width: 100%;
    top: 20px;
    z-index: 1;
}

div#dynamic-island
{
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 50px;
    padding: 15px;
    width: 70vw;
    padding-inline: 30px;

    -moz-backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--std-gray);
    background-color: var(--transparent);
    border-radius: 100px;
}

div#dynamic-island p
{
    font-size: 20pt;
    font-weight: bold;
    color: white;
}

div#dynamic-island span
{
    opacity: 0.5;
    font-size: 10pt;
    font-weight: lighter;
    transition: 0.5s all;

    display: flex;
    align-items: center;
}

#dynamic-island span::before
{
    content: url(../img/instagram.svg);
    filter: invert(1);
    margin-right: 3px;
}

#dynamic-island span::after
{
    content: url(../img/diagonal-arrow.svg);
    filter: invert(1);
    margin-left: 3px;
}

#dynamic-island span:hover
{
    opacity: 1;
}

div#dynamic-island img
{
    content: url(../img/memoji/IMG-7381.PNG);
    height: 70px;
}

/* conteudo */
main img
{
    height: 300px;
    margin-block: 10px;
}

main p
{
    display: inline-block;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 0;
}

main p::after
{
    content: '|';
    color: var(--apple-blue);
    margin-left: 2px;
}

main p::before
{
    content: '|';
    color: var(--apple-blue);
    margin-right: 2px;
}

#main-wrapper
{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

img.spanImage
{
    height: 20px;
}

span.text
{
    color: var(--std-gray);
    font-size: 12pt;
}

span.btn
{
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    margin-block: 5px;
    border: 1px solid var(--std-gray);
    border-radius: 15px;
    padding-inline: 15px;
    padding-block: 10px;
    gap: 10px;
}

span#be /* Behance */
{
    background-color: transparent;
}
span#be:hover
{
    background-color: var(--apple-blue);
    border: 1px solid transparent;
}

span#wpp /* Whatsapp */
{
    background-color: transparent;
}
span#wpp:hover
{
    background-color: var(--apple-green);
    border: 1px solid transparent;
}

span#be:hover > img.spanImage,
span#wpp:hover > img.spanImage
{
    transition: all 2s ease-in-out;
    filter: grayscale(1) brightness(1000);
}

div#btn
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: left;
    gap: 10px;
}

.link
{
    padding-inline: 5px;
    margin-top: 10px;
    height: 40px;
    z-index: -1;
}

/* tela de carregamento */
.loader-container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    background: #000;
    transition: all 0.5s ease-in-out;
    z-index: 100;
}

.loader-container-hidden {
    display: none;
}

.loader-container img {
    height: 120px;
    transition: 0.1s;
}

div.service,
div.tool
{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    background: var(--transparent);
    border: 1px solid var(--std-gray);
    border-radius: 30px;
    padding: 20px;
    width: 20vw;
    height: auto;
}

.reveal
{
    transition: all 1s ease;
    transform: translateY(150px);
    opacity: 0;
}

.reveal.active
{
    transform: translateY(0px);
    opacity: 1; 
}

div.tool img
{
    height: 50px;
    width: 50px;
    padding-block: 10px;
}

footer
{
    color: var(--std-gray);
    text-align: center;
    padding-top: 50px;
    padding-bottom: 10px;
}

@media only screen and (min-width: 758px)
{
    .loader-container img {
        height: 200px;
    }

    #scroll-icon
    {
        transform: scale(1.5);
    }
}
