@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-20px);
	}
	100% {
		transform: translatey(0px);
	}
}

@keyframes blurin {
    /* from {filter: blur(24px); -webkit-filter: blur(24px); transform: scale(85%); opacity: 0;}
    from {filter: blur(0); -webkit-filter: blur(0); transform: scale(100%); opacity: 100;} */
    from {filter: blur(24px); -webkit-filter: blur(24px); transform: scale(90%); opacity: 0;}
    to {filter: blur(0px); -webkit-filter: blur(0px);}
}

:root{
    --darkgrey: #1A1A1A;
    --lightgrey: #323232;
    --lightergrey: #A3A3A3;
    --lightestgrey: #D9D9D9;
    --gold: #FFD70C;
}


::-webkit-scrollbar-thumb {
    background: var(--lightergrey);
    border-radius: 2px;
}

::-webkit-scrollbar{
    background: var(--lightgrey);
    width: 4px;
    border-radius: 2px;
}


html{
    overflow-x: hidden;
    background-color: var(--darkgrey);
    scroll-behavior: smooth;
}

body{
    transition: .5s;
    margin: 0;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    color: white;
    overflow-x: hidden;
}

yel{
    color: var(--gold);
}

nav{
    position: fixed;
    display: flex;
    align-items: center;
    padding: 0px 48px 0px 48px;
    top: 0;
    left: 0;
    width: 100vw;
    height: 64px;
    border-bottom: 2px solid white;
    background-color: #ffffff3e;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
    transition: 1s;
}

nav a#logo{
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

nav a#logo svg{
    fill: var(--gold);
    height: 70%;
    width: auto;
}

nav ul.links{
    padding: 0;
    margin: 0;
    margin-left: 64px;
    height: 64px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    cursor: pointer;
}

nav ul.links a, nav ul.links li{
    color: white;
    text-decoration: none;
    font-weight: 200;
    font-size: 1rem;
    list-style: none;
    width: auto;
    display: block;
    position: relative;
    cursor: pointer;
    transition: .2s;
}
nav ul.links li:hover{
    color: var(--gold);
}

nav ul.links li ul{
    position: absolute;
    left: 0;
    top: 20px;
    padding: 4px;
    background: var(--lightgrey);
    border-bottom: 0px solid white;
    overflow: hidden;
    height: 0;
    opacity: 0;
    border-radius: 0px 8px 0px 0px;
    box-shadow: 2px 4px 7px rgba(0, 0, 0, .15);
    transition: .5s;
}

nav ul.links li ul li{
    margin: 10px;
}

nav ul.links li:hover ul{
    border-bottom: 1px solid white;
    height: auto;
    opacity: 1;
}

nav span.menubutton{
    position: absolute;
    right: 64px;
    margin-right: 64px;
    font-size: 2rem;
    font-weight: 200;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}

h1{
    font-weight: bolder;
    font-size: 8rem;
    line-height: calc(1.2*8rem);
    letter-spacing: -2%;
    margin: 0;
    cursor: default;
}
h2{
    font-weight: bolder;
    font-size: 5rem;
    line-height: calc(1.2*5rem);
    letter-spacing: -2%;
    margin: 0;
    cursor: default;
}
h3{
    font-weight: normal;
    font-size: 3rem;
    line-height: calc(1.2*3rem);
    letter-spacing: -2%;
    margin: 0;
    cursor: default;
}
h4{
    font-weight: normal;
    font-size: 2rem;
    line-height: calc(1.2*2rem);
    letter-spacing: -2%;
    margin: 0;
    cursor: default;
}
h5{
    font-weight: lighter;
    font-size: 1rem;
    line-height: calc(1.2*2rem);
    letter-spacing: -2%;
    margin: 0;
    cursor: default;
    margin: 0;
}
p{
    font-weight: normal;
    font-size: 1.2rem;
    line-height: calc(1.2*1.2rem);
    letter-spacing: 1%;
    margin: 0;
    margin-top: 5px;
}

article{
    width: calc(100vw - 2*48px);
    display: block;
    margin: auto;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

span.descimg{
    padding: 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, .3);
    border: 1px solid white;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: .3;
    cursor:default;
    transition: .3s;
    animation: 5s running infinite float;
}

span.descimg:hover{
    opacity: 1;
    box-shadow: 2px 4px 7px rgba(0, 0, 0, .15);
    animation-play-state: paused;
}

button{
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    gap: 4px;
    align-items:center;
    justify-content: space-evenly;
    min-width: 72px;
    padding: 12px 12px;
    background-color: var(--lightergrey);
    color: var(--darkgrey);
    border-radius: 24px;
    border: none;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, .15);
    cursor: pointer;
    transition: .2s;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

button:not(:disabled):hover{
    transform: scale(102%);
    box-shadow: 4px 6px 12px rgba(0, 0, 0, .3);
}
button:not(:disabled) span:nth-child(2){
    transition: .5s;
}
button:not(:disabled):hover span:nth-child(2){
    transform: translateX(15%);
}



button:not(:disabled):active{
    transform: scale(97%);
    box-shadow: 2px 4px 12px rgba(0, 0, 0, .15);
    outline: 3px solid white;
}

button:disabled{
    background-color: color-mix(in oklab, var(--lightergrey) 70%, var(--lightgrey) 30%);
    cursor: not-allowed;

}

button:disabled::after{
    content: 'Brevemente Disponível';
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -100%;
    padding: 4px 0px;
    color: var(--darkgrey);
    background-color: var(--lightergrey);
    font-size: .8rem;
    font-weight: normal;
    z-index: 1;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, .15);
    transition: .3s;
    text-align: center;
}

button:disabled span{
    opacity: .6;
}

button:disabled:hover{
    transform: scale(99%);
}
button:disabled:hover::after{
    bottom: calc(50% - 12px);
}

.grid{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.content{
    background-color: var(--lightgrey);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 2px 4px 12px rgba(0, 0, 0, .15);
    position: relative;
}

.content p:first-of-type{
    margin-top: 24px;
}
.content p:last-of-type{
    margin-bottom: 24px;
}

.content h5{
    margin-bottom: -1rem;
}

div.button a{
    text-decoration: none;
}

footer{
    padding: 2rem;
    outline: 5px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0px -12px 8px rgba(0, 0, 0, .3);
}

footer div.wrapper{
    margin: 0;
    padding: 0;
    width: 80vw;
    display: grid;
    grid-template-columns: 2fr 3fr 3fr;
    gap: 24px;
}

footer div.wrapper svg{
    fill: var(--gold);
    width: 80%;
    height: 80%;
}

footer div.wrapper a{
    color: var(--lightestgrey);
    cursor: pointer;
    transition: .2s;
}

footer div.wrapper a:hover{
    color: color-mix(in srgb, var(--lightestgrey) 60%, var(--gold) 40%)
}

footer div.wrapper p{
    color: var(--lightestgrey);
    text-align: justify;
}


@media screen and (max-width: 800px) {
    h1{ font-size: 6rem; line-height: calc(1.2*6rem);}
    h2{ font-size: 4rem; line-height: calc(1.2*4rem);}
    h3{ font-size: 2rem; line-height: calc(1.2*2rem);}
    h4{ font-size: 1rem; line-height: calc(1.2*1rem);}

    article{
        width: calc(100vw - 2*24px);
    }

    nav{
        height: 48px;
        padding: 0px 24px 0px 24px;
        flex-direction: column;
        align-items: flex-start;
        overflow-y: hidden;
    }
    nav a#logo{
        height: 48px;
    }
    nav ul.links{
        padding: 0;
        margin: 0;
        margin-top: 24px;
        height: 48px;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    nav ul.links li ul{
        background-color: var(--darkgrey);
    }
    nav span.menubutton{
        margin-right: 24px;
        display: flex;
        height: 48px;
    }

    footer div.wrapper{
        grid-template-columns: 1fr 2fr;
    }
    footer div.wrapper div.factosrapidos{
        grid-column: 1 / span 2;
    }
}


@media screen and (max-width: 600px) {
    h1{ font-size: 4rem; line-height: calc(1.2*4rem);}
    h2{ font-size: 3rem; line-height: calc(1.2*3rem);}
    h3{ font-size: 1.7rem; line-height: calc(1.2*1.7rem);}

    footer div.wrapper{
        grid-template-columns: 1fr;
    }
    footer div.wrapper div.factosrapidos{
        grid-column: 1;
    }
}