:root {
    --navbar-height: 80px;
    --bg-color: rgb(26, 26, 26);
    --accent-color: #17967a;
    --accent-color-dark: #0b3b31;
}

html * {
    font-family: "Zain", sans-serif !important;
    font-optical-sizing: auto !important;
    font-weight: 300;
    font-style: normal !important;
    scroll-behavior: smooth;
    
}

body {
    background-color: var(--bg-color);
}

h1 {
    font-size: 5rem;
}

h2 {
    font-size: 3rem;
}

p {
    font-size: 30px;
}

#gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0.3turn, var(--bg-color), var(--bg-color), var(--accent-color-dark));
    z-index: -2;
}

#navbar {
    height: var(--navbar-height);
    min-height: 50px;
    width: 100%;
    position: fixed;
    left: 0;
    top: calc(-1* var(--navbar-height));
    transition: top 1s;
    z-index: 1000;
}

#navbar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    opacity: 50%;
}

#navbar-logo {
    position: absolute;
    height: 60%;
    padding-left: 20px;
}

#navbar button {
    height: 80%;
    border: none;
    background-color: transparent;
    color: white;
    font-size: 30px;
    padding-left: 20px;
    padding-right: 20px;
}

#navbar a {
    text-decoration: none;
}

.hover-underline {
    color: #ffffff;
    position: relative;
    display: inline-block; 
    font-weight: 700;
}

.hover-underline::after,
.hover-underline::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--accent-color);
        bottom: -5px;
        left: 0;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease-out;
    }

.hover-underline::before {
    top: -5px;
    transform-origin: left;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
    transform: scaleX(1); }

#logo-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    filter: blur(100px) brightness(0);
    z-index: -1;
}

#logo-bg img {
    max-height: 40%;
    max-width: 100%;
    margin-bottom: 10%;
}

.btn, .toast {
    background-color: var(--accent-color);
    color: white;
    border-radius: 15px;
    padding-top: 10px;
    font-size: 25px;;
}

.btn:hover {
    filter: brightness(80%);
    transition: filter .2s;
}

.arrow-btn-down {
    width: 100px;
    height: 30px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    border-radius: 0;
}

.arrow-btn-down:hover {
    width: 120px;
    height: 40px;
    transition: width .2s, height.2s, brightness .2s;
}

#home-arrow {
    width: fit-content;
    height: 100%;
    margin: auto;
    padding-top: 110vh;
    transition: padding-top 1s;
}

.section {
    height: 100vh;
    width: 80%;
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    
}

.my-card {
    background-color: rgba(31, 50, 46, 0.5);
    border: none !important;
    color: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    width: 100%;
}

.my-card-header {
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 20px;
}

#contact-form {
    font-size: 30px;
}

#contact-form-toast {
    color: black;
    max-width: 1000px;
}

.toast .btn-close {
    font-size: 15px;
}

/* for mobile */
@media only screen and (max-width: 768px) {
    #welcome {
        text-align: center;
    }
    #navbar-logo {
        visibility: hidden;
        width: 0;
        margin: 0;
        padding: 0;
    }
    p {
        font-size: 20px;   
    }
}
