:root {
    --accent: #FF9D00;
    --grey: #777777;
    --black: #000000;
}

@font-face {
    font-family: 'Heading1';
    src: url('../static/editor-font-family-1708909068-0/Editor-Extrabold-BF647813f3c4881.otf') format('opentype');
  }

  @font-face {
    font-family: 'Heading2';
    src: url('../static/editor-font-family-1708909068-0/Editor-Medium-BF647813f3c1bc6.otf') format('opentype');
  }

body {
    width: 100vw !important;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: black;
    color: var(--grey);
    overflow-x: hidden;
}

body, .page {
    --sb-track-color: #2e3a40;
    --sb-thumb-color: #FF9D00;
    --sb-size: 4px;
  }
  
  body::-webkit-scrollbar {
    width: var(--sb-size);
  }
  
  body::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 6px;
  }
  
  body::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 6px;
  }


h1, h2, h3, h4, h5, h6 {
    margin-block-start: 0;
    margin-block-end: 0;
}

h1, h2 {
    font-family: 'Heading1', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;  
}

h3, h4, h5, h6 {
    font-family: 'Heading2', 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.absolute {
    position: relative !important;
    transition: transform 0.3s ease-in-out;
}

.accent_btn {
    background-color: var(--accent);
    color: white !important;
    padding: 10px;
    border-radius: 5px;
    transition: .3s ease;
    font-weight: bolder;
}

.accent_btn:hover {
    background-color: var(--grey);
    cursor:pointer;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--grey);
    background-color: white;
    width: 60vw;
    height: 40px;
    border-radius: 20px;
    padding: 8px 50px;
}

.nav_txt {
    display: block;
}

.icon {
    display: none;
}

#logo {
    height: 80%;
    width: auto;
    margin-left: 40px;
}

.menu-item {
    text-decoration: none;
    transition: .5s ease;
    list-style-type: none;
    width: fit-content !important;
    display: flex;
    flex-wrap: nowrap;
    color: black;
}

.menu-item:hover {
    color: var(--accent);
    cursor: pointer;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 30px;
}

#man_with_vr {
    height: 320px;
    position: absolute;
    left: 0;
    bottom: -70px;
}

#footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: fit-content;
    color: white;
    background-color: rgba(0, 0, 0, 0.705);
    padding: 30px;
    position: sticky;
    bottom: 0;
    z-index: 101;
    transition: 3s ease;
}

#footer p{
    text-align: center;
    font-size: 10pt;
    color: rgb(225, 225, 225);
}

.hero {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;

}

.hero_inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60vw;
    gap: 5vh;
}

#hero_headings {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

#hero_logo {
    width: 36em;
}

#guide_africa {
    font-size: 6em;
    letter-spacing: -8px;
    margin-top: -18px;
}

#welcome_to {
    color: var(--accent);
    letter-spacing: 20px;
    margin-left: -40pt;
}

.add_email_div {
    display: flex;
    width: 70%;
    margin-left: 161pt;
}

.add_email_div input {
    width: 80%;
    height: 25px;
    padding: 5px 10px;
    border-top-left-radius: 10px;
    border: none;
}

.add_email_div button {
    width: 140px;
    height: 30px;
    padding: 8px 10px;
    border: none;
}

.hero_section_2 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#featured_services {
    width: 100%;
    display: flex;
    margin-left: 40pt;
    margin-right: 20pt;
    justify-content: space-between;
}

#featured_services_header{
    margin-top: 30px;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: bolder;
    text-align: center;
}

#featured_service {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.featured_service_img {
    height: 130px;
    width: 150px;
    background: url('https://ik.imagekit.io/s3jkgwyie/Guide%20Africa%20Folder/website-development-process-full-guide-1-fb.jpg?updatedAt=1710150289192');
    background-size: cover;
    background-color: var(--grey);
    border-radius: 10px;
}

#social_media_pic {
    background-image: url('https://ik.imagekit.io/s3jkgwyie/Guide%20Africa%20Folder/Social%20Media%20Management.jpg?updatedAt=1710147324146');
}

#graphics_design {
    background-image: url('https://ik.imagekit.io/s3jkgwyie/Guide%20Africa%20Folder/what-is-graphic-design-header-1200.png?updatedAt=1710147812576');
    background-size: 240px;
    background-position: center center;
}

#UI {
    background-image: url('https://ik.imagekit.io/s3jkgwyie/Guide%20Africa%20Folder/UI_UX.png?updatedAt=1710092073863');
    background-size: 240px;
    background-position: center center;
}


.hero_services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding-left: 0;
}

.hero_services li {
    border-radius: 5px;
    color: black;
    background-color:#c5c5c5;
    font-size: small;
    padding: 5px 8px;
}

.hero_services li:hover {
    background-color: white;
    cursor: pointer;
}

.hero h5 {
    margin-top: 10px;
    letter-spacing: 1cap;
}

.service_heading {
    font-size: 15px;
    max-width: 150px;
    color: var(--grey);
    text-align: center;
    color: white;  
}

.service_text {
    font-size: medium;
    color: var(--grey);
    max-width: 150px;
    text-align: center;
}




/* Dots and Aesthetics */
.dots {
    width: 50px;
    position: absolute;
    top: 80px;
    margin-left: 110px;

}

#top_logo {
    height:40px;
    position: absolute;
    left: 10vw;
    top: 5vh;
}

.top_logo img {
    height: 80%;
}

#transparent_africa {
    position: fixed;
    height: 100vh;
    top: 0;
    right: 0;
    z-index: 0;
}

.bottom_space {
    height: 100px;
    width: 100vw;
}

.d-none {
    display: none !important;
}

.container {
    width: 80vw;
    padding-top: 10vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page {
    position: fixed;
    top: 0;
    left: 10%;
    height: 100vh;
    width: 80vw;
    overflow-y: scroll;
    background-color: rgba(0, 0, 0, 0.852);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

.page::-webkit-scrollbar {
    width: 0;
}

article {
    color: rgb(189, 189, 189);
    max-width: 60%;
    text-align: justify;
}

.big_quote {
    font-size: 50pt;
    color: white;
    text-align: center;
}

.caption {
    color: var(--accent);
    font-style: italic;
    font-size: 15pt;
}



/* Contact Page */

.contact {
    background-color: white;
    color: var(--black);
    max-height: fit-content;
    width: 100vw;
    position: absolute;
    z-index: 201;
    transition: transform 3s ease;
}

.contact-form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 200px;
  }
  
  h2 {
    text-align: center;
  }
  
  .contact form {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
  }
  
  .contact input, .contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
  }
  
  .contact input:focus, .contact textarea:focus {
    outline: none;
    border-color: var(--accent); /* Highlight color on focus */
  }

  input::selection, textarea::selection {
    background-color: var(--accent); 
    color: white; 
  }
  
  
  .error-message {
    color: red;
    font-size: 14px;
  }
  
  button {
    background-color: var(--grey);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  button:hover {
    background-color: var(--accent);
  }
  
  .talk_to_us {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    color: black;
    margin-top: 50px;
  }

  .talk_to_us a {
    text-decoration: none;
    padding: 5px 10px;
    width: fit-content;
    height: 20px;
    transition: .3s ease;
    border-radius: 10px;
  }

  .talk_to_us a:hover {
    color: white !important;
    cursor:pointer;
    transform: scale(1.1);
    opacity: 0.8;
  }

  .whatsapp_btn {
    background-color: green;
    color:white;
  }

  .grey_btn {
    background-color: var(--sb-track-color);
    color: white;
  }



/* About Page */

.about_hero {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    width: 60vw;
    height: 200px;
    position: relative;
}

#globe_video {
    width: auto;
    height: 200px;
    position: absolute;
}

#about h1 {
    color: white;
    text-align: center;
    font-size: 100pt;
    letter-spacing: -10px;
    width: 100%;
    height: 100%;
    background-color:#00000017;
    position: absolute;
    z-index: 1;
}

.caption_div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.about_phone {
    height: 240px;
}


@media(max-width: 500px) {
    body {
        padding-top: 50px;
        margin: 0;
    }

    .hero_inner {
        width: 100vw;
    }

    #welcome_to {
        margin-left: unset;
    }

    #hero_logo {
        width: 80vw;
    }

    .add_email_div {
        margin-left: unset;
        width: 100%;
    }

    .add_email_div button {
        margin-left: -50px;
        width: 80px;
        border-bottom-right-radius: 10px;
    }

    .add_email_div input, .add_email_div button {
        font-size: x-small;
    }

    #featured_services {
        flex-wrap: wrap;
    }

    nav {
        width: 90vw;
        height: 30px;
        padding: 5px 10px;
    }
    
    #man_with_vr {
        height: 200px;
        bottom: 58px;
        left: -112px;
        transform: scaleX(-1);
    }

    .nav_txt {
        display: none;
    }

    .icon {
        display: block;
    }

    #footer {
        max-width: 100vw;
        padding: unset;
        position: sticky;
        bottom: 0 !important;
    }

    .menu {
        gap: 10px;
    }

    .dots {
        top: 32px;
    }

    /* about on mobile */
    #about h1 {
        font-size: 40pt;
    }
    .about_hero {
        height: 100px;
        width: 80%;
    }

    article {
        max-width: 100%;
    }

    #about .container {
        padding-top: 30px;
    }

    #globe_video {
        height: 124px;
        margin-top: -30px;
    }

    .caption_div {
        flex-wrap: wrap;
        gap: unset;
        justify-content: center;
        align-items: center;
    }

}

@media(min-width:379px) and  (max-width:500px){
    #man_with_vr {
        bottom: 42px;
    }
}