@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&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');

html, * {
    scroll-behavior: smooth;
    padding: 0;
    border: 0;
    margin: 0;
}

#dark-mode {
    background: black;
    color: white;
}

#light-mode {
    background: rgb(240, 240, 240);
    color: black;
}

#nav {
    background: rgb(30, 30, 40);
    border-top: 10px transparent solid;
    border-bottom: 10px transparent solid;
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    z-index: 1;
    align-items: center;
}

#logo {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-size: 30px;
    border-left: 100px transparent solid;
    text-decoration: none;
}

#links {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-right: 6.41%;
    margin-left: auto;
    z-index: 1;
}

.nav-link {
    margin-right: 20px;
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    transition: width 0.4s ease;
}

#light-mode .nav-link::after {
    background: black;
}

#dark-mode .nav-link::after {
    background: white;
}

.nav-link.revealed::after {
    width: 100%;
}

a {
    color: inherit;
}

#theme-button {
    margin-right: 4%;
    background: none;
}

.section {
    height: 90vh;
    border-top: 10vh transparent solid;
    border-left: 100px transparent solid;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 30px;
    border-right: 100px transparent solid;
    line-height: 40px;
    position: relative;
}


.heading {
    padding-top: 45px;
    padding-bottom: 45px;
    font-size: 50px;
    font-weight: 700;
    color: rgb(89, 89, 89);
}

#about {
    font-size: 25px;
}

.social-link {
    display: block;
}

#footer {
    font-size: 20px;
    border-bottom: 30px transparent solid;
    position: absolute;
    bottom: 0;
}
