/*  --------|| CSS SETUP ||--------    */
:root {
    --cornflower-500: hsl(228, 100%, 76%);
    --cornflower-800: #343E66;
    --bubblegum-500: #F4B2FF;
    --bubblegum-900: #302033;
    --cirkus-500: #FF5F2E;
    --grass-500: #448442;
    --grass-700: #294F28;
    --lime-500: #C4ED43;
    --toast-100: #F6EDE5;
    --toast-300: #e5cab2;
    --toast-500: #D3A67F;
    --toast-700: #7f644c;
    --velvet-600: #1c121a;
    --primary-font: "Archivo", sans-serif;
    --font-size-12: 0.72rem;
    --font-size-14: 0.8rem;
    --font-size-15: 0.938rem;
    --font-size-16: 1rem;
    --font-size-20: 1.25rem;
    --font-size-22: 1.3rem;
    --font-size-26: 1.625rem;
    --font-size-32: 2rem;
    --font-size-38: 2.3rem;
    --font-size-50: 3rem;
    --font-size-58: 3.6rem;
    --font-variable-100: "wdth" 100;
    --font-variable-105: "wdth" 105;
    --font-variable-110: "wdth" 110;
    --font-variable-116: "wdth" 116;
    --font-variable-125: "wdth" 125;
    --mw-tablet: 700px;
    --mw-desktop: 1000px;
    --logo-hover-time: 2.5s;
}

html {
    box-sizing: border-box;
    height: 100%;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--toast-100);
    font-family: var(--primary-font);
    color: var(--velvet-600);
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
    padding: 0;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}


/*  --------|| GENERAL STYLES ||--------    */

h2 {
    font-size: var(--font-size-26);
    font-variation-settings: var(--font-variable-110);
    position: relative;
    margin-bottom: 1rem;
}

p {
    font-size: 1.1rem;
    line-height: 1.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.p-small-txt {
    font-size: var(--font-size-12);
}

a {
    font-variation-settings: var(--font-variable-105);
    text-decoration: none;
    font-weight: 600;
    color: var(--velvet-600);
    text-decoration: none;
    transition: 0.2s ease;
}

a:hover {
    padding-bottom: 2px;
    border-bottom: 2px solid var(--velvet-600);
}

.img-link,
.img-link:hover {
    border: 0;
}

ol, li{
    font-size: 1.1rem;
    line-height: 1.9rem;
}

nav .img-link img,
footer .img-link img {
    transform: scale(1);
    transition: 0.3s ease;
}

nav .img-link img:hover,
footer .img-link img:hover {
    transform: scale(1.2);
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
}

.link-label-txt {
    position: relative;
    z-index: 1;
}

p.autotest-label {
    text-align: center;
}

.p-bold {
    font-weight: 700;
}

/*  --------|| NAV ||--------    */


nav {
    width: 100%;
    height: 40px;
    position: sticky;
    top: -1px;
    background-color: var(--bubblegum-500);
    z-index: 10;
}

nav ul {
    padding: 0 1rem;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}

nav li {
    font-size: var(--font-size-15);
    line-height: 40px;
}

nav a{
    font-weight: 500;
}

nav li a {
    color: var(--velvet-600);
}

nav li img {
    position: relative;
    top: 4px;
    margin-left: 1rem;
}


/*  --------|| LOGO ||--------    */

.logo {
    position: relative;
    width: 120px;
    height: 90px;
    padding: 0 1rem;
    margin: 2rem auto 2rem auto;
    text-align: center;
}

img.logo-img {
    height: 90px;
}

.reframed-a {
    position: absolute;
    height: 26px;
    top: 35px;
    left: 73px;
    scale: 1;
    transition: scale 0.05s ease-out;
}

.logo:hover .reframed-a {
    scale: 0;
}

.hover-logo>* {
    display: none;
    position: absolute;
    top: 35px;
    left: 73px;
    height: 26px;
}

.logo:hover .hover-logo>* {
    display: block;
}

@keyframes rotationAll {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.hover-logo img:first-child {
    opacity: 0;
    animation: hover01 var(--logo-hover-time) infinite linear, rotationAll var(--logo-hover-time) infinite linear;
}

@keyframes hover01 {

    0%,
    20% {
        opacity: 1;
    }

    21%,
    100% {
        opacity: 0;
    }

}

.hover-logo img:nth-child(2) {
    opacity: 0;
    animation: hover02 var(--logo-hover-time) infinite linear, rotationAll var(--logo-hover-time) infinite linear;
}

@keyframes hover02 {

    0%,
    20%,
    41%,
    100% {
        opacity: 0;
    }

    21%,
    40% {
        opacity: 1;
    }

}

.hover-logo img:nth-child(3) {
    opacity: 0;
    animation: hover03 var(--logo-hover-time) infinite linear, rotationAll calc(var(--logo-hover-time)*1.5) infinite linear;
}

@keyframes hover03 {

    0%,
    40%,
    61%,
    100% {
        opacity: 0;
    }

    41%,
    60% {
        opacity: 1;
    }
}

.hover-logo img:nth-child(4) {
    opacity: 0;
    animation: hover04 var(--logo-hover-time) infinite linear, rotationAll calc(var(--logo-hover-time)*2) infinite linear;
}

@keyframes hover04 {

    0%,
    60%,
    81%,
    100% {
        opacity: 0;
    }

    61%,
    80% {
        opacity: 1;
    }
}

.hover-logo img:nth-child(5) {
    opacity: 0;
    animation: hover05 var(--logo-hover-time) infinite linear, rotationAll var(--logo-hover-time) infinite linear;
    z-index: 10;
}

@keyframes hover05 {

    0%,
    80% {
        opacity: 0;
    }

    81%,
    100% {
        opacity: 1;
    }
}

/*  -----------|| CONTENT ||-----------    */

.content {
    padding: 0 1rem;
    margin: 0 auto;
}

a.link-label {
    font-variation-settings: var(--font-variable-110);
    font-size: var(--font-size-12);
    margin-top: 1rem;
    position: relative;
    display: inline-block;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 0;
    background-color: var(--toast-500);
    border-radius: 100px;
    transition: .6s ease;
}

a.link-label::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: var(--cornflower-500);
    clip-path: circle(0%);
    transition: .6s ease;
}


a.link-label:hover::after {
    clip-path: circle(100%);
}

/*  -----------|| FOOTER ||-----------    */
footer {
    margin-top: auto;
    width: 100%;
    background-color: var(--bubblegum-500);
    z-index: 10;
    display: flex;
    flex-flow: column wrap;
}

.footer-content {
    width: 100%;
    height: 40px;
    padding: 0 1rem;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap:1rem
}

.socials li {
    transform: translateX(0);
    transition: 0.4s ease;
}

.socials li:hover {
    transform: translateX(1rem);
}

.footer-content p, .footer-content a {
    font-size: var(--font-size-14);
    line-height: 40px;
    font-weight: 400;
}

/*  -----------|| FOLLOW ||-----------    */
.section-follow {
    width: 100%;
    padding: 2rem;
    background-color: var(--velvet-600);
    color: var(--toast-100);
    text-align: center;
}


.follow li p{
    color: var(--toast-100);
    font-size: var(--font-size-15);
    font-weight: 500;
}

.follow{
    margin: 0 auto;
}


.follow li img {
    position: relative;
    top: 6px;
}

.follow p {
    display: inline-block;
    margin-left: 1rem;
}

/*------------------------------------------*/
/*----------|| Nav Tiny screens ||----------*/
/*------------------------------------------*/

@media(min-width:360px) {
    nav ul {
        justify-content: center;
    }

    nav li:nth-child(-n + 2) {
        display: inline-block;
        margin-right: 0.5rem;
    }

    .follow ul{
    flex-direction: column;
    gap:0.5rem;
}
}

/*------------------------------------------*/
/*---------------|| Tablet ||---------------*/
/*------------------------------------------*/

@media(min-width:700px) {

    /*  --------|| NAV ||--------    */
    nav ul {
        justify-content: flex-start;
    }

    nav li:nth-child(-n + 2){
        margin-right: 1.5rem;
    }

    nav li:nth-of-type(4){
        margin-left: auto;
    }

    /*  --------|| LOGO ||--------    */

    .logo {
        width: 200px;
        height: 150px;
        margin: 4rem auto 3rem auto;
    }

    img.logo-img {
        height: 150px;
    }

    .reframed-a {
        height: 43.3px;
        top: 57px;
        left: 114px;
    }


    .hover-logo>* {
        display: none;
        position: absolute;
        top: 59px;
        left: 115px;
        height: 40px;
    }

    /*  -----------|| CONTENT ||-----------    */

    .content {
        width: var(--mw-tablet);
        padding: 0;
    }

    p.autotest-label {
        text-align: left;
    }

    a.link-label {
        font-size: var(--font-size-16);
        margin-top: 1rem;
        padding: .6rem 1.5rem;
    }

    /*  -----------|| FOOTER ||-----------    */


    .footer-content {
        padding: 0;
        width: var(--mw-tablet);
        margin: 0 auto;
    }

    .footer-content ul {
        height: 40px;
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .follow ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap:1.5rem;
    }

    /*  -----------|| FOLLOW ||-----------    */
    .follow {
        max-width: var(--mw-tablet);
    }

}

/*-------------------------------------------*/
/*---------------|| Desktop ||---------------*/
/*-------------------------------------------*/

@media(min-width:1100px) {
    /*  --------|| NAV ||--------    */

    nav ul {
        max-width: var(--mw-desktop);
        margin: 0 auto;
        position: relative;
    }

    /*  --------|| Logo ||--------    */
    .logo {
        margin: 3rem auto 5rem auto;
    }

    /*  -----------|| CONTENT ||-----------    */

    .content {
        width: var(--mw-desktop);
    }

    /*  -----------|| FOOTER ||-----------    */
    .footer-content {
        width: var(--mw-desktop);
    }

    /*  -----------|| FOLLOW ||-----------    */
    .follow {
        max-width: var(--mw-desktop);
        margin-bottom: 0;
    }

    .follow ul{
    gap:4rem;
    }

}