*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}  
#body{
    font-family: 'Poppins',serif;;
}

/* Navbar */
.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 500;
}
.navbar{
    font-size: 1.2rem;
    font-weight: 500;
}

/* Homepage */
#homepage{
    width: 100%;
    height: 100vh;
    padding: 6rem;
}

.profile-pic, .intro{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#introduce{
    font-size: 1.4rem;
    font-weight: 450;
}
#myName{
    font-size: 3.2rem;
    font-weight: 700;
    color: #0d6efd;
    padding: 1rem 0 0.5rem 0;
}
#desc{
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 1rem;
}
#pic{
    width: 400px;
    height: 400px;
    border-radius: 20%;
}

/* About Me */
.about-me{
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 100%;
    padding: 4rem;
}
.about-me h1{
    font-size: 2.2rem;
    font-weight: 750;
    color: #0d6efd;
    padding-bottom: 2rem;
}
.about-me p{
    font-size: 1.3rem;
    font-weight: 400;
    padding-bottom: 0.3rem;
}

/* Education */
.education{
    height: auto;
    width: 100%;
    padding: 6rem 4rem 4rem 4rem;
}
#edu-title{
    font-size: 2.2rem;
    font-weight: 750;
    color: #0d6efd;
    padding: 3rem 0;
}
.edu-sub{
    padding-bottom: 2.2rem;
}
.degree{
    font-size: 1.6rem;
    font-weight: 600;
    padding-bottom: 0.3rem;
}
.institution{
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 0.3rem;
}


/* Skills */
.skills{
    height: auto;
    width: 100%;
    padding: 6rem 4rem;
}
#skills-title{
    font-size: 2.2rem;
    font-weight: 750;
    color: #0d6efd;
    padding: 2rem 0;
}

/* Mobile Devices */
@media screen and (max-width: 768px){
    .navbar-brand {
        font-size: 1.6rem !important;
        font-weight: 500;
    }
    .navbar{
        font-size: 1rem;
        font-weight: 500;
    }
    .navbar-toggler {
        font-size: 1rem !important;
        padding: 0.2rem 0.5rem !important;
    }

    #homepage{
        height: auto;
        transition: margin-top 0.5s ease;
        padding: 6rem 2rem 3rem 2rem;
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-direction: column-reverse;
    }
    .profile-pic img{
        width: 250px !important;
        height: 250px !important;
        border-radius: 50%;
    }
    #introduce{
        font-size: 1rem ;
        font-weight: 300;
        margin: 0;
    }
    #myName {
        font-size: 1.5rem !important;
    }    
    .intro-text{
        text-align: justify-center;
        padding: 3rem 0 2rem 0;
    }
    #desc{
        font-size: 0.8rem;
    }    
    #ctm{
        font-size: 0.8rem;
    }

    /* About me */
    .about-me{
        padding: 2rem;
    }
    #about{
        font-size: 1.5rem;
        padding: 1.6rem 0 1rem 0;
    }
    .description{
        font-size: 0.9rem !important;
        font-weight: 400 !important;
    }

    /* Education */
    .education{
        padding: 3rem 2rem;
    }
    #edu-title{
        font-size: 1.5rem;
    }
    .degree{
        font-size: 1.2rem;
    }
    .institution{
        font-size: 1rem;
    }

    /* Skills */
    .skills{
        padding: 3rem 2rem;
    }
    #skills-title{
        font-size: 1.5rem;
    }
    .skillsBtn{
        font-size: 1rem !important;
    }

    /* Footer */
    #connected{
        font-size: 0.8rem !important;
    }
}

/* Toggle Switches */

.switch {
    font-size: 17px;
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5em;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
  
/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    box-shadow: inset 2px 5px 10px #0000004d;
    transition: .4s;
    border-radius: 5px;
}
  
.slider:before {
    position: absolute;
    content: "";
    height: 1.1rem;
    width: 0.1em;
    border-radius: 0px;
    left: 0.3rem;
    bottom: 0.3rem;
    background-color: white;
    transition: .4s;
}
  
input:checked + .slider {
    background-color: #171717;
    box-shadow: inset 2px 5px 10px rgb(0, 0, 0);
}
  
input:checked + .slider:before {
    transform: translateX(2.2em) rotate(360deg);
}


.footer{
    /* color: #0d6efd; */
    background-color: #e6f2ff;
}

