* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

:root{
    --bg-color: #161616;
    --snd-bf-color: #1b1b1b;
    --text-color: #cecece;
    --main-color: #1990ff;
    --blue: #3d52a0;
    --light-blue: #7091e6;
    --lighter-gray: #ede8f5;
    --light-gray: #8697c4;
    --gray:  #adbbda;
    --apple-gray: #A2AAAD;
}
html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body{
    background:black;
    color: var(--bg-color);
}
@media (max-width:767px){
    body {
        overflow: hidden;
    }
}

/*section {
    min-height: 100vh;
    padding: 25rem 9% 2rem;
}*/


.header {
    position: fixed;
    top: 0;
    left: 0;
    height: 15rem;
    width: 100%;
    padding: 2rem 9%;
    background: black;
    box-shadow: 0 0 20px rgba(68, 68, 68, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.head {
    min-height: 20rem;
}
#pdf {
    width: 100%;
    height: 100vh;
}
#iframe-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Aspect ratio (e.g., 4:3) */
    overflow: hidden;
}

#iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none; /* Remove default border */
}

/* Optional: Additional styling for mobile screens */
@media (max-width: 600px) {
    #iframe-container {
        padding-top: 100%; /* Adjust aspect ratio for smaller screens */
    }
}
.logo{
    cursor: pointer;
    max-height: 100%;
    max-width: 100%;
    width: 25rem;
    height: 100%;
    background: url('images/CBR_logo_blue_gear_transparent.png') no-repeat scroll center center transparent;
    background-size: cover;
    float: left;
    transition: transform .2s;
}
.logo:hover{
    transform: scale(1.08);
}
.navlinks ul {
    list-style: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.navlinks ul a {
    color: var(--lighter-gray);
    font-weight: 500;
    font-family: "Roboto", sans-serif;
}
.navlinks li {
    padding: 5px;
    margin-left: 10px;
    font-size: 2rem;
}
.navlinks ul li:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

/*----Mobile Menu----*/
#hamburger-icon{
    margin: auto 0;
    display: none;
    cursor: pointer;
}
#hamburger-icon div {
    width: 35px;
    height: 3px;
    background-color: var(--text-color);
    margin: 6px 0;
    transition: 0.4s;
}
.open .bar1{
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}
.open .bar2 {
    opacity: 0;
}
.open .bar3{
    -webkit-transform: rotate(45deg) translate(-6px, 8px);
    transform: rotate(45deg) translate(-6px, -8px);
}
.open .mobile-menu{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.mobile-menu{
    display: none;
    position: absolute;
    top: 100%;
    width: 100%;
    padding: 1rem 3%;
    background: var(--snd-bf-color);
    border-top: .1rem solid rgba(0,0,0, 0.2);
    box-shadow: 0 .5rem 1rem rgba(0,0,0, 0.2);
    left: 0; 
    list-style: none;
}
.mobile-menu ul {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}
.mobile-menu li {
    margin-bottom: 10px;
    padding: 5px;
    margin-left: 10px;
    font-size: 2rem;
}
.mobile-menu li a{
    color: var(--text-color);
}
@media(max-width:600px) {
    .navlinks{
        display: none;
    }
    #hamburger-icon{
        display: block;
    }
}
#contact {
    border-radius: 5px;
    padding: 5px 8px;
    border: none;
    background-color: var(--main-color);
    color: white;
}

/*-----Home-----*/
.home {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: -13rem;
    background: black;
    flex-direction: column;
    min-height: 100vh;
    padding: 0rem 9% 2rem;
}

.home-content{
    display: inline-flex;
    margin: 1rem auto;
    
}
.home-content h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--lighter-gray);
    font-family: "Roboto", sans-serif;
}

.home-content h3:nth-of-type(2){
    margin-bottom: 2rem;
}

span{
    color: var(--main-color);
    
}
#name{
    padding-right: 30px;
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--lighter-gray);
    font-family: "Roboto", sans-serif;
    display: flex;
}

.home-img {
    position: relative;
    padding-top: 40px;
}
.home-img img {
    width: 14vw;
    border: 5px solid #1990ff;
    border-radius: 50%;
    transition: .3s ease-in-out;}
.home-img img:hover {
    box-shadow: 0 0 2rem var(--main-color);
}

/* Styling for the icons */
.icon {
    position: absolute;
    width: 20%; /* Adjust size to fit your design */
    height: auto;
    transition: all 0.3s ease-in-out;
}
.hidden {
    display: none;
}
#headshot {
    cursor: pointer;
}
/*@keyframes floatImage {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1.4rem);
    }
    100% {
        transform: translateY(0);
    }
}*/

.home-content p {
    font-size: 1.6rem;
}

ul {
    list-style: none;
    padding-top: 2rem;
}
.position{
    font-size: 2.3rem;
    font-weight: 600;
    color: #4ba4f8;
}
.socials {
    padding-top: 2rem;
}
.socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.socials a:hover {
    background-color: white;
    color: var(--main-color);
}

.contact-me-btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: white;
    letter-spacing: .1rem;
    font-weight: 600;
    font-family: "Noto Sans", sans-serif;
    transition: .5s ease;
    margin: 5px;
}

.contact-me-btn:hover {
    box-shadow: none;
}

#buttons {
    display: flex;
    flex-direction: column;
}

 @media (max-width:1200px){
    .home-img img{
        width: 18vw;
    }
 }
 @media(max-width:900px){
   .home-content h3{
    font-size: 2.6rem;
   }
   .home-content h1 {
    font-size: 5rem;
   }
   .home-img img {
    width: 35vw;
    animation: none;
    margin-left: 4rem;
   }
   .contact-me-btn {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
   }
   .home-content h3 {
    font-size: 24px;
   }
}
 @media (max-width:490px){
    .home{
        flex-direction: column;
    }
    .home-content{
        width: 32rem;
        flex-direction: column;
    }
    #name {
        margin: 0 auto;
        margin-bottom: 1.5rem;
    }
    .home-content h1 {
        font-size: 3.5rem;
    }
    .home-content h3{
        font-size: 22px;
    }
    .position{
        font-size: 1.8rem;
    }
    .projects .heading {
        font-size: 26px;
    }
    .projects-box{
        width: 82vw;
    }
    .home-img {
        margin: 0 auto;
        width: 70vw;
    }
    .home-img img {
        width: 50vw;
    }
    .logo{
        width: 45vw;
    }
}
/*---Logos---*/
.logos {
    border-radius: 30px;
    display: flex;
}
.logos-container {
    width: 65vw;
    max-width: 100%;
    height: 12vh;
    position: relative;
    border: 2px solid var(--light-blue);
    border-radius: 20px;
    box-shadow: 10px 10px 40px -10px var(--main-color);
}
.logos-box{
    position: absolute;
    white-space: nowrap;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 25px 25px;
}
.logos-box h4{
    font-size: 1.8rem;
    margin: 2rem 0rem 2rem 0;
    font-family: "Noto Sans", sans-serif;
    color: #ffffff;
    padding-left: 1rem;
}
#java, #python, #vscode, #github, #js, #html, #css {
    width: 6rem;
    height: 6rem;
}
@media (max-width:1820px){
    .logos {
        padding-left: 0;
        padding-right: 0;
    }
    .logos-container{
        width: 65vw;
        height: 12rem;
    }
    .logos-box {
        display: grid;
        grid-template-columns: repeat(14, 1fr);
    }
    .logos-box h4{
        padding-left: 0;
    } 
}
@media(max-width:1715px){
    .logos-container{
        width: 65vw;
        height: 18rem;
    }
    .logos-box {
        display: grid;
        grid-template-columns: repeat(8, 1fr);
    } 
}
@media (max-width:900px){
    .logos {
        padding: 10px 0px ;
    }
    .logos-container{
        width: 75vw;
    }
}
@media (max-width: 480px){
    .logos {
        width: 80vw;
        height: 100%;
    }
    .logos-box{
        grid-template-columns: repeat(4, 1fr);
    }
    .logos-container {
        width: 80vw;
        height: 42vh;
    }
    #java, #python, #vscode, #github, #js, #html, #css {
        width: 5rem;
        height: 5rem;
    }
    .logos-box h4 {
        font-size: 16px;
    }
}

/*-----About-----*/
.about {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 4rem;
}
.about-img img {
    width: 20vw;
    border-radius: 5rem;
}

.heading {
    text-align: center;
    font-size: 4.5rem;
    font-family: "Roboto", sans-serif;
    color: var(--lighter-gray);
}
.about-content{
    background: black;
    border-radius: 30px;
    border: .2rem solid var(--snd-bf-color);
    padding: 30px;
    width: 65vw;
}
.about-content h2{
    text-align: left;
    line-height: 2.6rem;
    margin-bottom: 1.5rem;
    font-family: "Roboto", sans-serif;
}

.about-content h3 {
    font-size: 2.6rem;
    font-family: "Roboto", sans-serif;
    color: var(--apple-gray);
}

.about-content p {
    font-size: 2rem;
    margin: 2rem 10rem 3rem 0;
    font-family: "Roboto", sans-serif;
    line-height: 3.2rem;
    color: var(--lighter-gray);
    width: 75vw;
}
@media (max-width: 1800px){
    .about-content{
        width: 70vw;
    }
}
@media (max-width: 1335px){
    .about-img img {
        width: 18vw;
    }
    .about-content p {
        font-size: 16px;
    }
}
@media (max-width: 900px) {
    }
    .about-content {
        flex-direction: column;
    }
    .about-content p {
        font-size: 20px;
        line-height: 3.5rem;
        margin: 10px 3px 0 3px;
        padding-right: 20%;
    }
    @media (max-width:750px) {
        .about .heading {
            font-size: 26px;
        }
        .about-content h3 {
            font-size: 24px;
        }
        .about-content p{
            font-size: 16px;
            width: 132%;
        }
        .about-img {
            display: none;
        }
        .hide-on-mobile{
            display: none;
        }
    }
    @media(max-width:490px){
        .about-content {
            width: 90vw;
        }
        .bio {
            width: 70vw;
        }
    }

/*-----Projects-----*/
.projects {
    background: black;
    min-height: 100vh;
    padding: 5rem 9% 2rem;
}
.projects h2 {
    margin-bottom: 4rem;
    font-family: "Noto Sans", sans-serif;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.projects-container .projects-box {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
}

#mflandscaping{
   background-color: #06c000;
}
#joshsparty {
    background-color: rgb(222, 177, 135);
}
#reelpros {
    background-color: #7cc1e6;
}
#clearchoice{
    background-color: rgb(35, 177, 187);
}
.projects-box img {
    width: 100%;
}
.projects-box h3{
    font-size: 2rem;
    margin: 2rem 0rem 1rem 0;
    font-family: "Noto Sans", sans-serif;
    line-height: 3.2rem;
    text-align: center;
    padding: auto;
    color: #ffffff;
}
.projects-box h2 {
    font-size: 1.7rem;
    margin: 1rem 0rem 2rem 0;
    font-family: "Noto Sans", sans-serif;
    line-height:2.2rem;
    text-align: center;
    padding: auto;
    color: #f1f1f1;
}
.projects-box{
    border: 5px solid #fff;
    transition: transform .3s ease;
    
}
.projects-box:hover {
    border: 5px solid #1990ff;
    transform: scale(1.03);
}
@media (max-width: 1800px){
    .projects-container{
        width: 80vw;
    }
}
@media(max-width:490px){
    .projects-container {
        grid-template-columns:repeat(1, 1fr);
    }
}
/*---Services---*/
.services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 4rem;
}
.services p {
    display: flex;
    text-align: center;
    justify-content: center;
    width: 100%;
}
.heading {
    text-align: center;
    font-size: 4.5rem;
    font-family: "Roboto", sans-serif;
    color: var(--lighter-gray);
}
#tagline{
    font-size: 1.8rem;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: var(--gray);
}
.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    background: black;
    border-radius: 30px;
    border: .2rem solid var(--snd-bf-color);
    padding: 30px;
    width: 65vw;
    gap: 2rem;
}

.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.right-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-image {
    width: 80%; /* Adjust the size of your image as needed */
    max-width: 400px; 
}

@media (max-width: 768px) {
    .services-content {
        grid-template-columns: 1fr; /* Stack content vertically on smaller screens */
    }

    .right-column {
        margin-top: 2rem;
    }

    .services-image {
        width: 100%;
    }
}

.services-content
 {
    font-size: 2.6rem;
    font-family: "Roboto", sans-serif;
    color: var(--main-color);
}
#services-heading h3{
    font-size: 2.6rem;
    font-family: "Roboto", sans-serif;
    color: var(--main-color);
}
.services-box li{
    text-align: left;
}

.service-title{
    text-align: left;
    font-family: "Special Gothic Condensed One", sans-serif;
}
.services-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 4rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: white;
    letter-spacing: .1rem;
    font-weight: 600;
    font-family: "Noto Sans", sans-serif;
    transition: .5s ease;
    margin: 5px;
    width: auto;
}

.services-btn:hover {
    box-shadow: none;
}

#buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 2rem;
}
.service-category {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--snd-bf-color);
    padding-bottom: 1rem;
}

.service-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 2rem;
    color: var(--main-color);
}

.service-title i {
    color: var(--main-color);
    font-size: 2.4rem;
}

.service {
    font-family: "Poetsen One", sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--lighter-gray);
    margin-left: 1.5rem;
    list-style: none;
    position: relative;
}

/*-----*/

 .footer{
    width: 100%;
    padding: 70px 30px 20px;
    background-color: black;
    
 }
 .footer-socials{
    padding-top: 50px;
    align-items: center;
    justify-content: center;
    display: flex;
 }
 .footer-socials a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    margin: 3rem 1.5rem 3rem 0;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    transition: .5s ease;
    font-family: "Roboto", sans-serif;
 }
.footer-socials a:hover {
    background-color: var(--main-color);
    color: var(--snd-bf-color);
    }
.footer-nav {
    margin: 30px 0;
}

.footer-nav ul{
    display: flex;
    justify-content: center;
}
.footer-nav li{
    text-decoration: none;
    list-style: none;
}
.footer-nav li a{
    color: white;
    margin: 12px;
    font-size: 2rem;
    font-family: "Roboto", sans-serif;
}
.footer-bottom {
    padding: 20px;
    text-align: center;
}
.footer-bottom p{
    color: #fff;
    font-size: 1.5rem;
    font-family: "Roboto", sans-serif;
}