@import url("https://fonts.googleapis.com/css2?family=Tienne:wght@400;700;900&display=swap");

/* Hero Section Font Family */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");

/* Navbar, Languages-used etc and other stuff font-family */
@import url("https://fonts.googleapis.com/css2?family=Poppins: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");

/* email layout */
@import url("https://fonts.googleapis.com/css2?family=Reddit+Mono:wght@200..900&family=Tienne:wght@400;700;900&display=swap");

:root {
    --background-colour: #161616;
    --text-colour: #999;
    --highlight-text-colour: #fff;
    --accent-colour: #ffa500;
    --accent-colour-dark: #0d0d0d;
}

html {
    font-size: 1.05vw;
}

body {
    position: relative;
    scrollbar-color: #3a3a3a var(--background-colour);
    scrollbar-width: thin;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    font-family: "Tienne", serif;
    background-color: var(--background-colour);
    color: var(--highlight-text-colour);
    overflow: hidden;
    min-height: 100vh;
}

img {
    width: 100%;
}

b {
    font-weight: 600;
}

/* FireFox Scrollbar */

::-webkit-scrollbar-thumb {
    background-color: #3a3a3a;
    border-radius: 10px;
    width: 0.4rem;
}

::-webkit-scrollbar-track {
    background-color: var(--background-colour);
}

::-webkit-scrollbar {
    width: 0.4rem;
    height: 0.25rem;
}

::-webkit-scrollbar {
    color: var(--background-colour);
}

/* PRELOADER */

#common-preloader {
    background-color: #0d0d0d;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: grid;
    place-content: center;
    opacity: 0;
    z-index: -1000;
}

#common-preloader > svg path,
#common-preloader > svg rect {
    fill: var(--accent-colour);
}

.preloader-drop {
    animation: preloader-drop 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes preloader-drop {
    100% {
        transform: translateY(-100%);
    }
}

/* Common Transition Properties */

.content {
    opacity: 0;
    transition: all 0.5s ease-out;
}

#main-content {
    min-height: 100vh;
}

/* Header */
header {
    /* font-size: 18px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding: 1.25rem 4.375rem 3.75rem 4.375rem; */
    padding-inline: 4.375rem;
    /* padding-top: 1.25rem; */
    padding-top: 2rem;
}

#header-name {
    color: var(--highlight-text-colour);
    text-decoration: none;
    cursor: pointer;
    font-size: 3.5rem;
    font-weight: 700;
}

.dot-bold {
    color: var(--accent-colour);
}

#header-options {
    font-size: 1.15rem;
    font-family: "Poppins", sans-serif;
    display: flex;
    gap: 3.5rem;
    font-weight: 600;
}

#header-options > a {
    position: relative;
    text-decoration: none;
    color: var(--highlight-text-colour);
    cursor: pointer;
    transition: all 0.4s;
}

#header-options > a:hover {
    color: var(--accent-colour);
}

#header-options a::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--accent-colour);
    left: 0;
    bottom: -0.25rem;
    transition: width 0.4s ease-out;
}

#header-options a:hover::before {
    width: 100%;
}

/* Footer */
footer {
    margin-top: 20rem;
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-container {
    width: fit-content;
}

.top-footer {
    width: 100%;
    display: grid;
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
}

.top-footer p {
    font-family: "Poppins", sans-serif;
    color: #474747;
    font-size: 1.25rem;
}

.top-footer img {
    width: 2rem;
}

.footer-socials {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.main-footer {
    position: relative;
    bottom: -30%;
    text-align: center;
}

.main-footer > h1 {
    font-size: 13rem;
    background: linear-gradient(
        rgba(255, 255, 255, 1) 15%,
        rgba(255, 255, 255, 0) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}
