@tailwind base;
@tailwind components;
@tailwind utilities;

/* @import url('./fonts/gilroy/stylesheet.css');
@import url('./fonts/texta/stylesheet.css'); */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://gainskillsmedia.com/css/fonts/built/stylesheet.css');
@import url('https://www.gainskillsmedia.com/css/fonts/built/stylesheet.css');


html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    font-family: 'Barlow', sans-serif;
    font: 18px;
    font-weight: 200;
}

body {
    font-family: 'Barlow', sans-serif;
    position: relative;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: 'Barlow', sans-serif;
    /* font-weight: 900 !important; */
}

h1 {
    font-weight: 900;
}

.special-font {
    font-family: 'Barlow', sans-serif;
}

.z-1 {
    z-index: 1;
}

.z-2 {
    z-index: 2;
}

.z-3 {
    z-index: 3;
}

.z-4 {
    z-index: 4;
}

.z-5 {
    z-index: 5;
}

.font-built {
    font-family: 'built-titling';
    font-weight: 700;
}

/* Navbar */
.header-container {
    background: #000;
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-sub-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    width: auto;
}

.nav-logo {
    width: 190px;
    height: auto;
}

.menu-btn-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-btn-body {
    width: 25px;
    height: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12%;
    /* background-color: #fff; */
    border-radius: 2px;
}

.menu-btn-lines {
    width: 80%;
    height: 12%;
    background-color: #fff;
    border-radius: 3px;
}

.nav-list-container {
    color: #fff;
}

.ul-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.nav-link {
    display: block;
    position: relative;
    padding: 30px 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.nav-link-span {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.active {
    border-top: 2px solid #2e7eed;
}

.nav-link:hover {
    color: #C6D93B;
}

.nav-icon {
    font-size: 12px;
    position: relative;
}

.nav-icon::after {
    content: '\f078';
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    -webkit-font-smoothing: antialiased;
    display: var(--fa-display, inline-block);
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
}

.sub-ul-list {
    width: 210px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    background-color: #000;
    z-index: 20;
    padding: 5px 10px;
    top: 84px;
    left: 0;
    transform: translateY(10px);
    transition: visibility 0.2s, opacity 0.2s, transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99), -webkit-transform 500ms cubic-bezier(0.43, 0.26, 0.11, 0.99);
    visibility: hidden;
    opacity: 0;
}

@media screen and (min-width: 991px) {
    .nav-link:hover .sub-ul-list {
        display: flex;
        transform: translateY(0px);
        visibility: visible;
        opacity: 1;
    }
}

.nav-link:hover .nav-icon::after {
    content: '\f077';
}

.sub-link-list {
    display: block;
    padding: 5px 10px;
    color: #fff;
}

.sub-link-list:hover {
    color: #C6D93B;
}

.social-container {
    display: flex;
    align-items: center;
    justify-content: start;
    position: fixed;
    top: 46%;
    z-index: 10;
    width: fit-content;
    height: fit-content;
}

.social-sub-container {
    list-style: none;
    padding: 0;
    transform: translate(-160px, 0);
}

.social-li-container {
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 5px;
    background-color: rgba(0, 0, 0, 1);
    width: 200px;
    text-align: right;
    padding: 10px;
    border-radius: 0 30px 30px 0;
    border: #444 solid 1px;
    transition: all 1s;
}

.social-li-container:hover {
    transform: translate(80px, 0);
    background: rgba(0, 0, 0, 1);
}

.social-li-container:hover i {
    color: #fff;
    background: var(--i);
    transition: all 1s;
    transform: rotate(360deg);
    border: #333 solid 1px;
}

.social-li-container:hover .social-insta {
    background: linear-gradient(115deg, #f9ce34, #ee2a7b, #6228d7);
}

.social-li-container:hover .youtube-body i {
    border: none;
}

.social-body {
    color: #fff;
    text-decoration: none;
    display: block;
    font-weight: normal;
    font-size: 14px;
}

.social-icons {
    /* border: #C6D93B solid 2px; */
    margin-left: 10px;
    color: var(--i);
    padding: 10px;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    aspect-ratio: 1/1;
    font-size: 12px;
    background: #ffffff;
    text-align: center;
    transform: rotate(0deg);
    transition: all linear 1s;
}

/* Footer */
.footer-container {
    background-color: #333;
    min-height: 200px;
    color: #fff;
    padding: 100px 0 90px;
}

.footer-main-logo {
    width: 200px;
}

.footer-arrow {
    font-size: 12px;
    color: #C6D93B;
}

@media screen and (max-width: 992px) {
    .header-sub-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-list-container {
        grid-column: 1/3;
    }

    .ul-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin: 0 0 10px;
    }

    .sub-ul-list {
        position: static;
        transform: translateY(0px);
        visibility: visible;
        opacity: 1;
        padding: 0 10px;
    }

    .active {
        border-top: none;
    }

    .li-list {
        width: 100%;
    }

    .active-toggle {
        color: #C6D93B;
    }

    .nav-active-icon::after {
        content: '\f077';
    }

    .nav-link {
        padding: 5px 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-btn-container {
        display: flex;
        margin: 30px 0;
        align-items: flex-end;
    }
}

@media screen and (max-width: 992px) {
    .footer-container {
        padding: 60px 0;
    }

    .social-container {
        display: none;
    }
}