* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

:root {
    --link-color: #ededed;
    --link-hover-color: #00abf0;
    --main-color:#00abf0;
    --text-color-01: #ededed;
    --background-color: #030303;
    --second-background-color: #131313;
}

.light-theme {
    --link-color: #030303;
    --link-hover-color: #00abf0;
    --main-color:#00abf0;
    --text-color-01: #030303;
    --background-color: #ffffff;
    --second-background-color: #ededed;
}

h1 {
    font-size: 4.7rem;
    font-family: sans-serif, Helvetica, Arial;
    font-weight: 600;
}

h2 {
    font-size: 4.0rem;
    font-family: sans-serif, Helvetica, Arial;
    font-weight: 600;
}

h3 {
    font-size: 2.8rem;
    font-family: sans-serif, Helvetica, Arial;
    font-weight: 600;
}

h4 {
    font-size: 2rem;
    font-family: sans-serif, Helvetica, Arial;
    font-weight: 600;
}

p {
    font-size: 1.4rem;
    font-family: sans-serif, Helvetica, Arial;
    line-height: 2.2rem;
}

a {
    font-size: 1.4rem;
    font-family: sans-serif, Helvetica, Arial;
    text-decoration: none;
}

button {
    font-family: sans-serif, Helvetica, Arial;
}

body {
    background-color: var(--background-color);
    color: var(--text-color-01);
}

.about .about-contents .emp {
    font-size: 1.8rem;
    font-family: sans-serif;
    color: var(--link-hover-color);
    margin: 0;
    padding: 0;
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 300;
    transition: .3s;
}

.header .top {
    width: 100%;
    max-width: 130rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 2rem 4rem;
}

.header.sticky {
    background-color: var(--background-color);
    margin: 0 auto;
}

.logo {
    position: relative;
    font-size: 2.5rem;
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}

.navbar a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    margin-left: 3rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--link-hover-color);
}

/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> light mode toggle <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */

label {
    position: relative;
    width: 5rem;
    height: 2rem;
    display: block;
    background: transparent;
    border-radius: 100px;
    border: 1px solid var(--main-color);
    cursor: pointer;
    transition: 0.5s;
}

label::after {
    content: "";
    width: 1.6rem;
    height: 1.6rem;
    position: absolute;
    top: 0.1rem;
    left: 0.1rem;
    background: linear-gradient(180deg, var(--main-color), #0095cf);
    border-radius: 1rem;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.5s;
}

#darkmode-toggle {
    width: 0;
    height: 0;
    visibility: hidden;
}

#darkmode-toggle:checked + label {
    background-color: var(--background-color);
}

#darkmode-toggle:checked + label::after {
    left: 4.7rem;
    transform: translateX(-100%);
    background: linear-gradient(180deg, var(--main-color), var(--link-hover-color));
}

/* bubble effect */

label:active:after {
    width: 2.5rem;
}

label img {
    position: absolute;
    width: 1.5rem;
    top: 0.15rem;
    z-index: 10;
}

label img.lsun {
    top: 0.3rem;
    transition: 0.3s;
    right: 0.2rem;
    width: 1.3rem;
}

label img.dsun {
    display: none;
}

label img.dmoon {
    display: none;
}

label img.lmoon {
    top: 0.25rem;
    transition: 0.3s;
    width: 1.3rem;
    left: 0.25rem;
}

input:checked + label img.lsun {
    display: none;
}

#darkmode-toggle:checked + label img.dsun {
    display: block;
    top: 0.2rem;
    transition: 0.3s;
    right: 0.18rem;
    width: 1.4rem;
}

#darkmode-toggle:checked + label img.lmoon {
    display: none;
}

#darkmode-toggle:checked + label img.dmoon {
    display: block;
    top: 0.3rem;
    transition: 0.3s;
    left: 0.2rem;
    width: 1.3rem;
}

/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> end of code block <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color-01);
    cursor: pointer;
    display: none;
}

.overview {
    height: 100vh;
    background: url('/img/portfolio-pic6.png') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 1rem;
    justify-content: space-between;
    min-height: 62rem;
}

.overview .overview-box {
    width: 100%;
    max-width: 130rem;
    padding: 0rem 4rem;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.my-name {
    margin: 0;
    width: fit-content;
}

.my-name2 {
    margin: 0 0 0 1rem;
    width: fit-content;
    font-family: sans-serif;
    font-weight: 600;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 1rem;
}

.overview-content {
    max-width: 53rem;
    z-index: 100;
    position: relative;
}

.overview-picture {
    width: fit-content;
    height: 45rem;
}

.overview-picture img {
    margin: 2rem;
    height: 40rem;
    width: auto; 
}

.overview-content .name {
    width: 100%;
    height: fit-content;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.overview-content span {
    color: var(--link-hover-color);
    font-size: 5rem;
}

.overview-content .name::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.overview-content .animated-text {
    position: relative;
    color: var(--link-color);
}

.overview-content .animated-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
    z-index: 100;
}

.overview-content .animated-text h3{
    font-weight: 500;
}

.overview-content .animated-text span{
    font-weight: 600;
    font-size: 2.8rem;
}

.overview-content .animated-text img{
    margin-left: 1rem;
}



.overview-content p {
    position: relative;
    margin: 1.5rem 0 3rem;
}

.overview-content p::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.btn-box {
    position: relative;
    width: 27.5rem;
    height: 4.2rem;
    display: flex;
    justify-content: space-between;
}

.btn-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4.2rem;
    background-color: var(--background-color);
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}

.btn-box a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 12rem;
    height: 100%;
    background-color: var(--link-hover-color);
    border: 2px solid var(--link-hover-color);
    border-radius: 0.6rem;
    color: #081b29;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .3s;
}

.btn-box a:hover {
    color: var(--link-hover-color);
}

.btn-box a:nth-child(2) {
    background: transparent;
    color: var(--link-hover-color);
}

.btn-box a:nth-child(2):hover,
button:hover {
    color: var(--background-color);
}

.btn-box a:nth-child(2)::before {
    background: var(--link-hover-color);
}

.btn-box a::before,
button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--background-color);
    z-index: -1;
    transition: .5s;
}

.btn-box a:hover::before,
button:hover::before {
    width: 100%;
    border-radius: 0.1rem;
}

.overview-sci {
    position: absolute;
    bottom: 4rem;
    width: 150px;
    display: flex;
    justify-content: space-between;
}

.overview-sci::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    animation: showRight 1s ease forwards;
    animation-delay: 2.5s;
    z-index: 2;
}

.overview-sci a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    font-size: 35px;
    color: #00abf0;
    background-color: transparent;
    border: 2px solid var(--link-hover-color);
    border-radius: 50%;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .3s;
}

.overview-sci a:hover {
    color: var(--background-color);
}

.overview-sci a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--link-hover-color);
    z-index: -1;
    transition: .5s;
}

.overview-sci a:hover::before {
    width: 100%;
}

.overview-picture-cover {
    height: 100%;
    width: 41%;
    background-color: var(--background-color);
    position: absolute;
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    top: 0;
    right: 0;
    z-index: 10;
}

.overview-picture-cover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    z-index: 2;
}

/* Keyframes Animation */
@keyframes showRight {
    100% {
        width: 0;
    }
}




/* About styling */
.about {
    overflow: hidden;
    width: 100%;
    padding: 4rem 0;
    background-color: var(--second-background-color);
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.heading{
    margin-top: 2rem;
    text-align:  center;
    margin-bottom: 3rem;
}

.name{
    margin-bottom: 3rem;
    text-align:  center;
    height: fit-content;
}
.about-glass-background .name {
    width: fit-content;
    height: fit-content;
    position: relative;
    height: fit-content;
}

.about-glass-background span {
    color: var(--link-hover-color);
    font-size: 5rem;
}

.heading h1{
    font-size: 5rem;
}

.heading span{
    font-size: 4rem;
    color: var(--link-hover-color);
}

.about .name::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: var(--background-color);
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}

.about .about-glass-background {
    width: fit-content;
    height: fit-content;
    margin: 0 auto;
    padding: 2rem 5rem;
    /* background: rgba(225, 225, 255, 0.1);
    border-top: 1px solid rgba(225, 225, 225, 0.5);
    border-left: 1px solid rgba(225, 225, 225, 0.5);
    backdrop-filter: blur(50px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    border-radius: 20rem; */
}

.about-styling {
    width: fit-content;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.about-img-box {
    position: relative;
    width: 35rem;
    row-gap: 2rem;
    column-gap: 2rem;
    max-height: 35rem;
    margin-right: 5rem;
}

.about-img-box .about-img img{
    position: relative;
    height: 35rem;
    border-radius: 50%;
    border: 0.2rem solid var(--link-hover-color);
}

.about-img-box .circle-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0);
    width: calc(100% + 3.2rem);
    height: calc(100% + 3.2rem);
    border-radius: 50%;
    border-top: 0.2rem solid transparent;
    border-bottom: 0.2rem solid transparent;
    border-left: 0.2rem solid var(--link-hover-color);
    border-right: 0.2rem solid var(--link-hover-color);
    animation: aboutSpinner 8s linear infinite;
    -webkit-animation: aboutSpinner 8s linear infinite;
}

.about-contents {
    position: relative;
    width: 50rem;
    align-items: center;
    padding: 4rem;
    height: fit-content;
}

.about-contents p {
    margin: 2rem 0 3rem;
}

.about .contents-box .btn-box::before {
    display: none;
}

.about .contents-box .btn-box a::before {
    background-color: var(--second-background-color);
}

/* More and less styling */
#more {
    display: none;
}

.about .dots {
    font-size: 3rem;
}



@keyframes picAbout {
    from {
        right: -40%;
        opacity: 0;
        scale: 0.7;
    }
    to {
        right: 0;
        opacity: 1;
        scale: 1;
    }
}

@-webkit-keyframes aboutSpinner {
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}



/* Education section */
.education {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding: 6rem 0rem;
    max-width: 130rem;
    margin: 0 auto;
}

.education .education-row {
    display: flex;
    padding: 0 4rem;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 5rem;
}

.education-row .education-column {
    text-wrap: wrap;
}

.education-column .title {
    font-size: 2.5rem;
    margin: 0 0 1.5rem 2rem;
}

.education-column .education-box {
    border-left: 0.2rem solid var(--link-hover-color);
}


.education-box .education-content::before {
    content: '';
    position: absolute;
    top: 0;
    width: 2rem;
    height: 2rem;
    background-color: var(--link-hover-color);
    border-radius: 50%;
    left: -1.1rem;
}

.education-column .education-content {
    position: relative;
    padding-left: 2rem;
    animation: educationContent 3s linear;
    animation-timeline: view();
    animation-range: entry 0 cover 40%;
}

.education-content .content {
    height: 16rem;
    position: relative;
    padding: 1.5rem;
    border: 0.2rem solid var(--link-hover-color);
    border-radius: 0.6rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.education-content .content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--second-background-color);
    z-index: -1;
    transition: .5s;
}

.education-content .content:hover::before {
    width: 100%;
}

.education-content .content .year {
    font-size: 1.5rem;
    color: var(--link-hover-color);
    padding-bottom: 0.5rem;
}

.education-content .content .year i {
    font-size: 1.5rem;
    color: var(--link-hover-color);
    padding-bottom: 0.5rem;
}

.education-content .content p {
    padding-top: 0.5rem;
}

.education .skill-logos {
    margin: 2rem;
    height: 4rem;
    display: flex;
    flex-direction: row;
    column-gap: 1.5rem;
}

.education .skill-logos img{
    height: 3rem;
}

.education .skill-logos img:nth-child(4){
    height: 3.5rem;
}


@keyframes educationContent {
    from {
        left: 0;
        opacity: 0;
        scale: 0.5;
        -webkit-transform: scale(0.5);
    }
    to {
        left: 0;
        opacity: 1;
        scale: 1;
        -webkit-transform: scale(1);
    }
}

@-webkit-keyframes educationContent {
    from {
        left: 0;
        opacity: 0;
        -webkit-transform: scale(0.5);
        scale: 0.5;
    }
    to {
        left: 0;
        opacity: 1;
        scale: 1;
        -webkit-transform: scale(1);
        scale: 1;
    }
}



/* Services section */
.services {
    background-color: var(--second-background-color);
    padding: 5rem 6rem 5rem;
    width: 100%;
}

.services-overall {
    width: 100%;
    max-width: 130rem;
    margin: 0 auto;
    height: fit-content;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.services-overall .services-box {
    padding: 2rem 2.5rem;
    width: 31.5rem;
    height: 27.0rem;
    background: rgba(225, 225, 255, 0.1);
    border-top: 1px solid rgba(225, 225, 225, 0.5);
    border-left: 1px solid rgba(225, 225, 225, 0.5);
    backdrop-filter: blur(50px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    border-radius: 2rem;
}

.services-overall .services-box .emp{
    font-size: 1.6rem;
    color: var(--link-hover-color);
    font-weight: 600;
}

.services-box .icon {
    height: fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.services-box .icon h3 {
    font-size: 2.8rem;
    color: var(--link-hover-color);
}

.services-box .icon i {
    font-size: 5.0rem;
}

.services-box .description p {
    margin-bottom: 2.0rem;
}


/* Contact styling */
.contact {
    min-height: auto;
    padding-bottom: 7rem;
}

.contact form {
    max-width: 70rem;
    margin: 0 auto;
    text-align: center;
}

.contact form .input-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box .input-field{
    position: relative;
    width: 49%;
    margin: 0.8rem 0;
}

.contact form .input-box .input-field input,
.contact form .textarea-field textarea {
    width: 100%;
    height: 100%;
    padding: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-color-01);
    background: transparent;
    border-radius: 0.6rem;
    border: 0.2rem solid var(--link-hover-color);
    font-family: sans-serif,  Helvetica, Arial;
}

.contact form .input-box .input-field input::placeholder,
.contact form .textarea-field textarea::placeholder {
    color: var(--text-color-01);
    font-family: sans-serif,  Helvetica, Arial;
}

.contact form .textarea-field {
    position: relative;
    margin: 0.8rem 0 0.8rem;
}

.contact form .textarea-field textarea {
    height: 28rem;
}

button {
    font-size: 1.4rem;
}

button:hover {
    color: var(--link-hover-color);
    z-index: 10;
}

button {
    margin: 0 auto;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 12rem;
    height: 4.2rem;
    background-color: var(--link-hover-color);
    border: 2px solid var(--link-hover-color);
    border-radius: 0.6rem;
    color: #081b29;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .3s;
}

.action .btn-box {
    position: relative;
    width: 100%;
    height: 3.5rem;
    display: flex;
    justify-content: space-between;
}

.action .btn-box .btn {
    cursor: pointer;
}

.contact form .focus {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--second-background-color);
    border-radius: 0.6rem;
    z-index: -1;
    transition: .5s;
}

.contact form .input-box .input-field input:focus~.focus,
.contact form .input-box .input-field input:valid~.focus,
.contact form .textarea-field textarea:focus~.focus,
.contact form .textarea-field textarea:valid~.focus {
    width: 100%;
}

textarea:focus, 
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus {
    outline: none;
}


/* Override the default SweetAlert2 title font and size */

.swal2-title {
    font-family: sans-serif;
    font-size: 24px;
    color: var(--link-hover-color);
    font-weight: 500;
}

  /* Style the popup background */
  .swal2-popup {
    background-color: #f1f1f1 !important;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    min-height: 25rem;
    width: 35rem;
    padding: 4rem;
    font-size: 1.6rem;
    color: #00abf0;
}

.swal2-icon {
    height: 10rem;
    width: 10rem;
    color: rgb(0, 182, 0);
}

/* Change only the success icon color */
.swal2-icon.swal2-success {
    border: 4rem solid;
    border-color: #b6dab7 !important; /* Change the border to green */
}

.swal2-icon.swal2-success .swal2-success-line-tip,
.swal2-icon.swal2-success .swal2-success-line-long {
    background-color: #1ed424 !important; /* Change the checkmark color to green */
    color: rgb(187, 243, 187);
    size: 50rem;
    font-size: 20rem;
}

  

/* Style the confirm button */
.swal2-confirm {
    background-color: #0095cf !important;
    color: var(--link-color) !important;
    border-radius: 10px;
    font-size: 20rem;
    font-weight: 600;
}

  /* Style the cancel button */
.swal2-cancel {
    background-color: #dc3545 !important;
    color: #fff !important;
}




/* footer styling */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background-color: var(--second-background-color);
}
/* 
.footer-text p {
    font-size: 1.4rem;
} */

.footer-iconTop a {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--link-hover-color);
    border: 0.2rem solid var(--link-hover-color);
    border-radius: 0.6rem;
    z-index: 1;
    overflow: hidden;
}

.footer-iconTop a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--second-background-color);
    z-index: -1;
    transition: .5s;
}

.footer-iconTop a:hover::before {
    width: 100%;
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--background-color);
    transition: .2s;
}

.footer-iconTop a i:hover {
    color: var(--link-hover-color);
}






@keyframes appear {
    from {
        opacity: 0;
        scale: 0.5;
    }

    to {
        opacity: 1;
        scale: 1;
    }
}





/* Responsive settings */
@media (min-width: 1301px) {
    :root {
        font-size: 71.0%;
    }
}


/* Responsive settings */
@media (max-width: 1300px) {
    .overview-picture-cover {
        height: 100%;
        width: 41%;
        background-color: var(--background-color);
        position: absolute;
        animation: showRight 1s ease forwards;
        animation-delay: 3s;
        top: 0;
        right: 0;
        z-index: 10;
    }
}

/* Responsive settings */
@media (min-width: 1230px) {
    :root {
        font-size: 71.0%;
    }
}


/* Responsive settings */
@media (max-width: 1220px) {
    :root {
        font-size: 71.0%;
    }

    .services {
        background-color: var(--second-background-color);
        padding: 2rem 10% 5rem;
        width: 100%;
    }
    
    .services-overall {
        row-gap: 4rem;
        justify-content: space-between;
        flex-direction: row;
        width: fit-content;
    }

    
    .services-overall .services-box {
        width: 31rem;
    }

    .services-overall .services-box:nth-child(3) {
        width: 31rem;
        flex-basis: 100%;
        height: fit-content;
    }
}


/* Responsive settings */
@media (max-width: 1220px) and (orientation: landscape){
    .overview {
        min-height: 55rem;
    }
}

.overview {
    height: 100vh;
    background: url('/img/portfolio-pic6.png') no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 1rem;
    justify-content: space-between;
    min-height: 55rem;
}


@media (max-width: 1150px) {
    :root {
        font-size: 71.0%;
    }

    .about-contents h3 {
        text-align: center;
    }

    .about-img-box{
        align-items: center;
        margin: 0 auto;
    }

    .services {
        background-color: var(--second-background-color);
        padding: 2rem 10% 5rem;
        width: 100%;
    }
    
    .services-overall {
        row-gap: 4rem;
        justify-content: space-between;
        flex-direction: row;
        width: fit-content;
    }

    
    .services-overall .services-box {
        width: 31rem;
    }

    .services-overall .services-box:nth-child(3) {
        width: 31rem;
        flex-basis: 100%;
        height: fit-content;
    }
    
   
}

@media (max-width: 1079px) {
    .about-contents {
        width: 100%;
        text-align: left;
    } 

    .about .contents-box .about-contents .btn-box {
        width: fit-content;
        margin: 0 auto;
    }
}

@media (max-width: 991px) {
    section {
        padding:  10rem 0 2rem;
    }

    .home {
        padding: 0% 4rem;
    }

    .footer {
        padding: 2rem 4%;
    }

    /* .overview {
        height: 100vh;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: flex-start;
        padding: 0 10%;
        justify-content: space-between;
    }

    .overview-content {
        max-width: 530rem;
        z-index: 100;
    }

    .overview .overview-content {
        margin-top: 10rem;
        height: fit-content;
    
    } */


    /* about styling */
    .about {
        padding: 4rem 0 0;  
    }

    .about-styling {
        flex-direction: column;
        justify-content: center;
    }

    .about-img-box{
        align-items: center;
        margin: 0 auto;
    }

    .about .about-glass-background {
        padding: 0;
    }

    .about-contents {
        width: 100%;
        text-align: left;
    } 
    
    .about-contents h3{
        width: 100%;
        text-align: center;
    }


    /* education contents */
    .education .education-row {
        padding: 0 3rem;
    }

    .education .education-row {
        flex-direction: row;
        row-gap: 4rem;
    }


    /* services */
    .services {
        padding: 2rem 2rem 5rem;
    }

    .services {
        background-color: var(--second-background-color);
        padding: 2rem 5% 5rem;
        width: 100%;
    }
    
    .services-overall {
        row-gap: 4rem;
        justify-content: space-between;
        flex-direction: row;
        width: fit-content;
    }

    
    .services-overall .services-box {
        width: 31rem;
    }

    .services-overall .services-box:nth-child(3) {
        width: 31rem;
        flex-basis: 100%;
        height: fit-content;
    }
}



/* ------------------ Responsive setting ----------------------- */
@media (max-width: 890px) and (orientation: landscape){
    .overview-picture-cover {
        height: 4.6rem;
    }

    .overview-picture-cover {
        background-color: var(--background-color);
        right: 0;
    }


    .about-contents {
        width: 100%;
        text-align: left;
    } 
    
    .about-contents h3{
        width: 100%;
        text-align: center;
    } 

    /* services */
    .services {
        background-color: var(--second-background-color);
        padding: 2rem 3rem 5rem;
        width: 100%;
    }
    
    .services-overall {
        row-gap: 4rem;
        column-gap: 0rem;
        justify-content: space-between;
    }
    
    .services-overall .services-box {
        width: 31rem;
    }

    .contact {
        padding: 0 4rem 7rem;
    }
}



/* ------------------ Responsive setting ----------------------- */
@media (max-width: 796px) and (orientation: landscape){
    .overview-picture-cover {
        height: 50rem;
    }
}



/* ------------------ Responsive setting ----------------------- */
@media (max-width: 796px) {
    :root {
        font-size: 61%;
    }

    .overview-picture-cover {
        background-color: var(--background-color);
        right: 0;
    }

    .about-contents {
        width: 100%;
        text-align: left;
    } 
    
    .about-contents h3{
        width: 100%;
        text-align: center;
    } 

    /* services */
    .services {
        background-color: var(--second-background-color);
        padding: 2rem 4rem 5rem;
        width: 100%;
    }
    
    .services-overall {
        row-gap: 4rem;
        column-gap: 0rem;
        justify-content: space-between;
    }

    
    .services-overall .services-box {
        width: 100%;
        height: fit-content;
    }

    .contact {
        padding: 0 4rem 7rem;
    }

}




/* ------------------ Responsive setting ----------------------- */
@media (max-width: 768px) {
    p {
        font-size: 1.6rem;
        font-family: sans-serif, Helvetica, Arial;
        line-height: 2.2rem;
    }

    .header {
        background-color: var(--background-color);
        z-index: 200;
        max-width: 100%;
    }

    .about {
        max-width: 100%;
    }

    .about-contents {
        width: 100%;
        text-align: left;
    } 
    
    .about-contents h3{
        width: 100%;
        text-align: center;
    } 

    .heading{
        margin-top: 2rem;
        text-align:  center;
        margin-bottom: 6rem;
    }

    .header .side {
        width: 14rem;
        display: flex;
        flex-direction: row;
        column-gap: 2rem;
    }

    section {
        padding:  10rem 0 2rem;
    }

    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background-color: var(--main-color);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        border-bottom: 0.5px solid var(--link-hover-color);
        z-index: 1;
        transition: .25s ease;
        transition-delay: .25s;
    }

    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }

    .navbar .active-nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--background-color);
        border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
        z-index: -1;
        transition: 0.25s ease;
        transition-delay: 0s;
    }

    .navbar.active .active-nav {
        left: 0;
        transition-delay: 0.25s;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .25s ease;
        transition-delay: 0s;
    }

    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }

    .overview-content .name {
        flex-direction: column;
    }

    .my-name2 {
        margin: 0;
    }

    /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> light mode toggle <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
    label {
        position: relative;
        width: 6.46rem; /* 8.5rem * 0.76 */
        height: 2.58rem; /* 3.4rem * 0.76 */
        display: block;
        background: transparent;
        border-radius: 170px;
        border: 1px solid var(--main-color);
        cursor: pointer;
        transition: 0.5s;
        margin-bottom: .5rem;
    }
    
    label::after {
        content: "";
        width: 2.07rem; /* 2.72rem * 0.76 */
        height: 2.07rem; /* 2.72rem * 0.76 */
        position: absolute;
        top: 0.13rem; /* 0.17rem * 0.76 */
        left: 0.13rem; /* 0.17rem * 0.76 */
        background: linear-gradient(180deg, var(--main-color), #0095cf);
        border-radius: 1.29rem; /* 1.7rem * 0.76 */
        box-shadow: 0px 3.4px 8.5px rgba(0, 0, 0, 0.2);
        transition: 0.5s;
    }
    
    #darkmode-toggle {
        width: 0;
        height: 0;
        visibility: hidden;
    }
    
    #darkmode-toggle:checked + label {
        background-color: var(--background-color);
    }
    
    #darkmode-toggle:checked + label::after {
        left: 6.08rem; /* 8rem * 0.76 */
        transform: translateX(-100%);
        background: linear-gradient(180deg, var(--main-color), var(--link-hover-color));
    }
    
    /* bubble effect */
    
    label:active:after {
        width: 3.23rem; /* 4.25rem * 0.76 */
    }
    
    label img {
        position: absolute;
        width: 1.94rem; /* 2.55rem * 0.76 */
        top: 0.19rem; /* 0.255rem * 0.76 */
        z-index: 10;
    }
    
    label img.lsun {
        top: 0.39rem; /* 0.51rem * 0.76 */
        transition: 0.3s;
        right: 0.26rem; /* 0.34rem * 0.76 */
        width: 1.68rem; /* 2.21rem * 0.76 */
    }
    
    label img.dsun {
        display: none;
    }
    
    label img.dmoon {
        display: none;
    }
    
    label img.lmoon {
        top: 0.32rem; /* 0.425rem * 0.76 */
        transition: 0.3s;
        width: 1.68rem; /* 2.21rem * 0.76 */
        left: 0.32rem; /* 0.425rem * 0.76 */
    }
    
    input:checked + label img.lsun {
        display: none;
    }
    
    #darkmode-toggle:checked + label img.dsun {
        display: block;
        top: 0.26rem; /* 0.34rem * 0.76 */
        transition: 0.3s;
        right: 0.23rem; /* 0.306rem * 0.76 */
        width: 1.81rem; /* 2.38rem * 0.76 */
    }
    
    #darkmode-toggle:checked + label img.lmoon {
        display: none;
    }
    
    #darkmode-toggle:checked + label img.dmoon {
        display: block;
        top: 0.39rem; /* 0.51rem * 0.76 */
        transition: 0.3s;
        left: 0.26rem; /* 0.34rem * 0.76 */
        width: 1.68rem; /* 2.21rem * 0.76 */
    }
    

    /* about sizing */
    .about {
        padding: 4rem 0 0;  
    }

    .about-styling {
        flex-direction: column;
        justify-content: center;
    }

    .about-img-box{
        align-items: center;
        margin: 0 auto;
    }

    .about .about-glass-background {
        padding: 0;
    }

    .about .contents-box .about-contents .btn-box {
        width: fit-content;
        margin: 0 auto;
    }



    /* education contents */
    .education .education-row {
        padding: 0 3rem;
    }

    .education .education-row {
        flex-direction: column;
        row-gap: 4rem;
    }

    .education-content .content {
        height: fit-content;
    }


    /* services */
    .services {
        background-color: var(--second-background-color);
        padding: 2rem 3rem 5rem;
        width: 100%;
    }
    
    .services-overall {
        row-gap: 4rem;
        column-gap: 0rem;
        justify-content: space-between;
    }

    
    .services-overall .services-box {
        width: 100%;
        /* contacts */
    }
}




@media (max-width: 700px) {

    :root {
        font-size: 58%;
    }

    .header {
        background-color: var(--background-color);
        z-index: 200;
    }

    section {
        padding:  10rem 0 2rem;
    }

    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: -100%;
        width: 100%;
        padding: 1rem 4%;
        background-color: var(--main-color);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
        z-index: 1;
        transition: .25s ease;
        transition-delay: .25s;
    }

    .navbar.active {
        left: 0;
        transition-delay: 0s;
    }

    .navbar .active-nav {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--background-color);
        border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
        z-index: -1;
        transition: 0.25s ease;
        transition-delay: 0s;
    }

    .navbar.active .active-nav {
        left: 0;
        transition-delay: 0.25s;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        transform: translateX(-20rem);
        transition: .25s ease;
        transition-delay: 0s;
    }

    .navbar.active a {
        transform: translateX(0);
        transition-delay: .25s;
    }



    /* about sizing */
    .about .about-glass-background {
        padding: 2rem 0rem 6rem;
        
    }
    
    .about-img-box {
        position: relative;
        width: 32rem;
        height: 32rem;
        margin-right: 5rem;
    }
    
    .about-img-box .about-img img{
        position: relative;
        height: 32rem;
        border-radius: 50%;
        border: 0.2rem solid var(--link-hover-color);
    }

    .about-styling {
        flex-direction: column;
        justify-content: center;
    }

    .about-img-box{
        align-items: center;
        margin: 0 auto;
    }

    .about .about-glass-background {
        padding: 0;
    }

    .about-contents {
        width: 100%;
        text-align: left;
    } 
    
    .about-contents h3{
        width: 100%;
        text-align: center;
    } 

    .about .contents-box .about-contents .btn-box {
        width: fit-content;
        margin: 0 auto;
    }



    /* education contents */
    .education .education-row {
        padding: 0 4rem;
    }
    .education .education-row {
        flex-direction: column;
        row-gap: 4rem;
    }


    /* services */
    .services {
        background-color: var(--second-background-color);
        padding: 2rem 3rem 5rem;
        width: 100%;
    }
    
    .services-overall {
        row-gap: 4rem;
        column-gap: 0rem;
        justify-content: space-between;
        padding: 0 3rem;
    }

    .services-overall .services-box {
        width: 100%;
    }

    .contact {
        padding: 0 6rem 8rem;
    }

    .footer {
        flex-direction: column-reverse;
        row-gap: 2rem;
    }
    
}



/* ------------------ Responsive setting ----------------------- */
@media (max-width: 520px) {
    :root {
        font-size: 55%;
    }


    /* services */
    .services {
        background-color: var(--second-background-color);
        padding: 2rem 2rem 5rem;
        max-width: 100%;
    }
    
    .services-overall {
        flex-direction: column;
        row-gap: 4rem;
        column-gap: 0rem;
        justify-content: space-between;
        padding: 0 3rem;
    }

    .services-overall .services-box:nth-child(3) {
        width: 100%;
    }

    .contact {
        max-width: 100%;
        padding: 0 2rem 8rem;
    }

    .footer {
        flex-direction: column-reverse;
        row-gap: 2rem;
    }
    
}





@media (max-width: 462px) {
    .header .side {
        column-gap: 2rem;
    }

    .overview-content h1{
        font-size: 4.6rem;
    }

    .name span {
        font-size: 4.6rem;
    }


    /* services */
    .services {
        background-color: var(--second-background-color);
        padding: 2rem 2rem 5rem;
        max-width: 100%;
    }
    
    .services-overall {
        flex-direction: column;
        row-gap: 4rem;
        column-gap: 0rem;
        justify-content: space-between;
        padding: 0 1.2rem;
    }



    .contact {
        max-width: 100%;
        padding: 0 3rem 8rem;
    }

    .contact form .input-box .input-field {
        width: 100%;
    }

    .footer {
        flex-direction: column-reverse;
        row-gap: 2rem;
    }
    
}




@media (max-width: 376px) {
    .services {
        padding: 2rem 1rem 5rem;
    }
}

