@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap);

.bounce h1,
.logo,
.navbar a,
body {
    color: var(--text-color)
}

.about .chat-btn,
.bounce h1:hover,
.navbar a.active,
.navbar a:hover,
.navbar ul a:nth-child(6):hover,
.services-card i,
.social-media a,
span {
    color: var(--main-color)
}

.btn,
.logo,
.navbar a.active {
    font-weight: 600
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    border: none;
    outline: 0;
    scroll-behavior: smooth;
    font-family: Poppins, sans-serif
}

:root {
    --bg-color: #1f242d;
    --second-bg-color: #323946;
    --text-color: #fff;
    --main-color: #0ef;
    --btn-color: #000000;
    --scroll-color: #00dceb;
    --btn-active: rgb(0, 166, 177)
}

.light-theme {
    --bg-color: #ffffff;
    --second-bg-color: #e3e3e3;
    --text-color: #000000;
    --main-color: #00cddc;
    --btn-color: #ffffff;
    --scroll-color: #00c7d5;
    --btn-active: #01a5b1;
}

/* .light-theme {
    --bg-color: #ffffff;
    --second-bg-color: #ededed;
    --text-color: #000000;
    --main-color: #db00c8;
    --btn-color: #ffffff;
    --scroll-color: #cb00ba;
    --btn-active: #b300a4
} */

html {
    font-size: 62.5%;
    overflow-x: hidden
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-color);
    border-radius: 10px
}

.header,
body {
    background: var(--bg-color)
}

::-webkit-scrollbar-thumb:hover {
    background: var(--main-color);
    box-shadow: 0 0 5px var(--main-color), 0 0 10px var(--main-color), 0 0 12px var(--main-color), 0 0 16px var(--main-color)
}

section {
    min-height: 100vh;
    padding: 12rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 2rem 9%;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100
}

.header.sticky {
    border-bottom: .1rem solid rgba(0, 0, 0, .2)
}

.logo {
    font-size: 2.5rem;
    cursor: default;
    opacity: 0;
    animation: 1.5s forwards slideright
}

@keyframes slideright {
    0% {
        transform: translateX(-100px);
        opacity: 0
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

.navbar a {
    display: inline-block;
    font-size: 1.7rem;
    margin-left: 4rem;
    transition: .3s;
    opacity: 0;
    animation: .5s forwards slidetop;
    animation-delay: calc(.2s * var(--i))
}

@keyframes slidetop {
    0% {
        transform: translateY(100px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.light-mood-icon {
    color: var(--text-color);
    font-size: 3rem;
    cursor: pointer
}

.navbar ul a:nth-child(6) {
    color: var(--text-color);
    transition: .5s ease-in-out
}

#hamburger-wrapper {
    cursor: pointer;
    display: none
}

.hamburger-icon {
    position: relative;
    width: 3.5rem;
    height: 2.5rem;
    margin: auto;
    display: flex;
    align-items: center;
    transform: rotate(0);
    transition: 1s
}

.about .chat-btn,
.btn {
    transition: .2s ease-out
}

#hamburger-wrapper.active .hamburger-icon {
    transform: rotate(315deg)
}

.hamburger-icon span {
    position: absolute;
    display: block;
    height: 5px;
    background: linear-gradient(45deg, var(--main-color), var(--second-bg-color));
    border: 1px solid var(--main-color);
    border-radius: 30px;
    box-shadow: 0 0 1.5px var(--main-color), 0 0 3px var(--main-color);
    transition: .3s .5s
}

.hamburger-icon span:first-child {
    top: 0;
    left: 0;
    width: 50%;
    transform: translateY(0)
}

#hamburger-wrapper.active span:first-child {
    width: 100%;
    transform: translateY(8.5px);
    transition-delay: 0s
}

.hamburger-icon span:nth-child(2) {
    width: 100%;
    transform: scaleX(1);
    opacity: 1
}

#hamburger-wrapper.active span:nth-child(2) {
    transform: scaleX(0);
    opacity: 0;
    transition-delay: 0s
}

.hamburger-icon span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 50%;
    transform: rotate(0)
}

#hamburger-wrapper.active span:nth-child(3) {
    bottom: 8px;
    width: 100%;
    transform: rotate(90deg);
    transition-delay: 0s
}

.certificattion,
.home {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.bounce h1,
.btn {
    display: inline-block
}

.about,
.social-media a {
    justify-content: center
}


.home-img img {
    width: 30vw;
    opacity: 0;
    animation: .8s 2s forwards zoomin, 4s ease-in-out 3s infinite homeImageFloat;
    transition: .3s ease-in-out
}

.about-img img:hover,
.home-img img:hover {
    filter: brightness(80%);
    cursor: pointer
}

@keyframes zoomin {
    0% {
        transform: scale(0);
        opacity: 0
    }

    100% {
        transform: scale(1);
        opacity: 1
    }
}

@keyframes homeImageFloat {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-2.4rem)
    }
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    opacity: 0;
    animation: 1s .7s forwards slidebottom
}

@keyframes slidebottom {
    0% {
        transform: translateY(-100px);
        opacity: 0
    }

    100% {
        transform: translateY(0);
        opacity: 1
    }
}

.home-content h3:nth-of-type(2) {
    margin-top: 1rem;
    margin-bottom: 2rem;
    animation: 1s .7s forwards slidetop
}

.home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3
}

.btn,
.footer-text,
.home-content p {
    font-size: 1.6rem
}

.home-content p {
    opacity: 0;
    animation: 1s 1s forwards slideleft
}

@keyframes identifier {
    0% {
        transform: translateX(100px);
        opacity: 0
    }

    100% {
        transform: translateX(0x);
        opacity: 1
    }
}

.bounce h1:hover {
    text-shadow: 0 0 .4rem var(--main-color);
    animation: .4s ease-out animate
}

.about .chat-btn:hover,
.btn,
.social-media a:hover {
    color: var(--btn-color)
}


@keyframes animate {

    0%,
    100% {
        transform: scale3d(1, 1, 1)
    }

    30% {
        transform: scale3d(1.25, .75, 1)
    }

    40% {
        transform: scale3d(.75, 1.25, 1)
    }

    50% {
        transform: scale3d(1.15, .85, 1)
    }

    65% {
        transform: scale3d(.95, 1.05, 1)
    }

    75% {
        transform: scale3d(1.05, .95, 1)
    }
}

.social-media a {
    display: inline-flex;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: 0 0;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    margin: 3rem 1.5rem 3rem 0;
    transition: .3s ease-out;
    opacity: 0;
    animation: 1s forwards slideleft;
    animation-delay: calc(.2s * var(--i))
}


@keyframes slideleft {
    0% {
        transform: translateX(100px);
        opacity: 0
    }

    100% {
        transform: translateX(0);
        opacity: 1
    }
}

.social-media a:hover {
    background-color: var(--main-color);
    box-shadow: 0 0 1rem var(--main-color)
}


.home-content .btn {
    opacity: 0;
    animation: 1s 2s forwards slidetop;
    letter-spacing: 3px;
}


.btn {
    padding: 1rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 .7rem var(--main-color);
    letter-spacing: .1rem
}

.download-btn {
    padding: .6rem 1.1rem;
    margin-left: 2rem;
}

#myPopup7 {
    font-size: small;
    font-weight: normal;
    width: 11rem;
    left: 43%;
}


.about,
.certificattion,
.footer,
.services-container .services-card {
    background: var(--second-bg-color)
}

.btn:hover,
.portfolio-layer a:hover {
    box-shadow: 0 0 1.1rem var(--main-color);
    transform: scale(1.02)
}

.about .chat-btn:active,
.btn:active {
    background: var(--btn-active)
}

.about .chat-btn,
.portfolio,
.web {
    background-color: var(--second-bg-color)
}

.about {
    display: flex;
    align-items: center;
    gap: 5rem
}

.about-img img {
    width: 28vw;
    transition: .3s ease-in-out
}

.about .chat-btn:hover {
    background-color: var(--main-color);
    transform: scale(1.02)
}

.heading {
    text-align: center;
    font-size: 4.5rem
}

.about-content h2 {
    text-align: left;
    line-height: 1.2
}

.about-content h3,
.services-card h3 {
    font-size: 2.6rem
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 0rem
}

.skills h3 {
    margin-right: 2rem;
}

.skills {
    display: flex;
    margin: 2rem 0rem 2rem 0;
}

.skills a {
    display: inline-flex;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: 0 0;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2.3rem;
    margin: 0rem 1.5rem 0rem 0rem;
    transition: .3s ease-out;
}

.skills a:hover {
    background-color: var(--main-color);
    box-shadow: 0 0 1rem var(--main-color)
}

.skills a:hover {
    color: var(--btn-color)
}

.skills a {
    justify-content: center
}

.skills a,
span {
    color: var(--main-color)
}

.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* The actual popup */
.popup .popuptext {
    font-size: 1.2rem;
    visibility: hidden;
    width: 9rem;
    background-color: var(--main-color);
    color: white;
    text-align: center;
    border-radius: 3rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 65%;
    margin-left: -52px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--main-color) transparent transparent transparent;
}

/* Toggle this class - hide and show the popup */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 1s;
    animation: fadeIn 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.popup .hide {
    visibility: visible;
    -webkit-animation: fadeOut 1s;
    animation: fadeOut 1s;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.services h2 {
    margin-bottom: 5rem
}

.services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem
}

.services-container .services-card {
    flex: 1 1 30rem;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .2s
}

.services-container .services-card:hover {
    border-color: var(--main-color);
    box-shadow: inset 0 0 20px var(--main-color);
    transform: scale(1.02)
}

.services-card i {
    font-size: 7rem
}

.services-card p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem
}

.portfolio h2,
.web h2 {
    margin-bottom: 4rem
}

.portfolio-container,
.web-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem
}

.portfolio-container .portfolio-card,
.web-container .web-card {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex
}

.portfolio-card .portfolio-layer,
.web-card .web-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex
}

.portfolio-card img,
.web-card img {
    width: 100%;
    transition: .5s
}

.portfolio-card:hover img {
    transform: scale(1.1);
    opacity: .3
}

.portfolio-card .portfolio-layer {
    background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color));
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s
}

.portfolio-card:hover .portfolio-layer {
    transform: translate(0)
}

.portfolio-layer h4 {
    font-size: 3rem;
    color: #fff
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
    color: #fff
}

.portfolio-layer a,
.web-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--bg-color);
    border-radius: 50%;
    transition: .2s ease-out
}

.portfolio-layer a i,
.web-layer a i {
    font-size: 2rem;
    color: var(--text-color)
}

.contact h2 {
    margin-bottom: 3rem
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto 3rem;
    text-align: center
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
    transition: .2s
}

.contact form .input-box input {
    width: 49%;
    border: .2rem solid var(--bg-color)
}

.contact form .input-box input:focus,
.contact form .input-box input:hover,
.contact form textarea:focus,
.contact form textarea:hover {
    border-color: var(--main-color);
    box-shadow: 0 0 1rem var(--main-color)
}

.contact form textarea {
    resize: none;
    height: 23rem;
    border: .2rem solid var(--bg-color)
}

.contact form .btn {
    margin-top: 4rem;
    cursor: pointer
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%
}

.footer-icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .2s ease-in
}

.footer-icon a:hover {
    box-shadow: 0 0 1rem var(--main-color);
    transform: scale(1.02)
}

.footer-icon a i {
    font-size: 2.4rem;
    color: var(--btn-color)
}

.web-card:hover img {
    border-radius: 2rem;
    transform: scale(1.1)
}

.web-card .web-layer {
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: .9rem;
    transform: scale(0);
    transition: .6s ease-in-out;
    opacity: .1
}

.web-card:hover .web-layer {
    transform: scale(100%);
    opacity: 1
}

.dot-navigation {
    position: fixed;
    left: 3%;
    top: 50%;
}

.dot-navigation a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 1.5rem;
    width: 1.5rem;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.active-dot {
    background-color: var(--main-color);
    box-shadow: 0 0 10px 1px var(--main-color);
}

.dot-navigation div:hover {
    background-color: var(--main-color);
}

.certificate-content input {
    cursor: pointer;
    background: 0 0;
    text-align: start;
    padding: 0 2rem;
    display: block;
    line-height: 7rem;
    width: 45rem;
    margin: 1rem 0;
    color: #fff;
    text-decoration: none;
    font-size: 2.1rem;
    transform: translate(0);
    transition: .3s ease-in-out;
    color: var(--text-color)
}

.certificate-content input:hover {
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    transform: translate(6%);
    box-shadow: 2rem 0 2rem var(--main-color)
}

.display-frame,
.display-frame img {
    height: 40rem
}

.hover-certificate-image {
    transition: transform .2s
}

.hover-certificate-image:hover {
    transform: scale(1.5)
}

.web-services {
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
}

#certification{
    background: var(--bg-color);
}

#web-development, #web3{
    background: var(--bg-color);
}

.ws-card-1 {
    padding: 3rem;
    height: auto;
    width: 60rem;
}

.ws-card-2 {
    padding: 3rem;
    height: auto;
    width: 60rem;
}

.ws-list {
    display: flex;
    margin: 3.5rem auto;
}

.ws-list i {
    font-size: 4rem;
    margin-right: 2rem;
    color: var(--main-color);
}

.ws-list p {
    font-size: 2.5rem;
    color: var(--text-color);
}

.custom-ws-psd{
    font-size: 3.2rem;
    margin-right: 3rem;
}

@media (max-width:1400px) {
    .certificate-content input {
        width: 44rem
    }
}

@media (max-width:1280px) {
    .display-frame img {
        padding-top: 1.5rem;
        height: 35rem
    }
}

@media (max-width:1200px) {
    html {
        font-size: 55%
    }

    .certificattion {
        justify-content: none
    }

    .popup .popuptext {
        width: 10.125rem;
        left: 50%;
        margin-left: -45px;
    }

    #myPopup7 {
        width: 12rem;
        left: 30%;
        font-size: 12px;
        margin-left: -45px;
    }
}

@media (max-width:991px) {

    .footer,
    .header {
        padding: 2rem 3%
    }

    section {
        padding: 12rem 10rem
    }

    .portfolio,
    .services {
        padding-bottom: 7rem
    }

    .contact {
        min-height: auto
    }

    .certificattion {
        padding-left: 4rem;
        padding-right: 4rem
    }

    .display-frame img {
        height: 35rem;
        padding-top: 2rem
    }

    .certificate-content input {
        font-size: 1.9rem;
        width: 39rem;
        line-height: 5rem
    }
}

@media (max-width:872px) {
    .certificate-content input {
        padding-left: 0;
        width: 34rem
    }

    .display-frame img {
        height: 32rem;
        padding-top: 3rem
    }
}

@media (max-width:822px) {
    .navbar a {
        margin-left: 2.7rem
    }
}

@media only screen and (min-width: 769px) and (max-width:814px) {
    .about-btn .btn {
        padding: 1rem 1.8rem;
    }
}

@media (max-width:768px) {
    .icon-hide i {
        display: none
    }

    .about-content h2,
    .navbar a,
    body {
        text-align: center
    }

    .navbar a,
    .navbar.active {
        display: block
    }

    .navbar a {
        animation: .3s forwards slidetop;
        animation-delay: calc(.1s * var(--i));
        font-size: 2rem;
        margin: 3rem 0
    }

    .custom-header-display {
        display: inline-flex
    }

    .icon-show {
        display: inline-block;
        margin-right: 2.4rem;
        font-size: 2.5rem
    }

    html {
        font-size: 50.5%;
        right: 0
    }

    #hamburger-wrapper.active span:nth-child(3) {
        bottom: 7px
    }

    #hamburger-wrapper {
        display: flex
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none
    }

    .header {
        justify-content: none
    }

    .home {
        margin-top: 5rem;
        flex-direction: column
    }

    .home-content h3 {
        font-size: 2.6rem
    }

    .home-content h1 {
        font-size: 5rem
    }

    .home-img img {
        width: 68vw;
        margin-top: 3.5rem
    }

    .social-media a {
        margin: 3.5rem 1.5rem;
        height: 5rem;
        width: 5rem;
        font-size: 3rem
    }

    .skills a {
        margin: 0rem 1rem;
        height: 5rem;
        width: 5rem;
        font-size: 3rem
    }

    .skills {
        display: inline-block;
    }

    .skill-h3 {
        display: none;
    }

    .popup .popuptext {
        width: 10.125rem;
        left: 50%;
        margin-left: -42px;
    }

    #myPopup7 {
        width: 11rem;
        left: 50%;
        font-size: 10px;
        margin-left: -45px;
    }

    .about p {
        text-align: justify
    }

    .about-btn {
        margin-top: 2rem;
        justify-content: center
    }

    .about-content h2 {
        line-height: 1.5
    }

    .about {
        flex-direction: column-reverse
    }

    .about img {
        width: 65vw;
        margin-top: 1rem
    }

    .about-content p {
        margin-bottom: 2rem;
    }

    .portfolio h2,
    .services h2,
    .web h2 {
        margin-bottom: 3rem
    }

    .portfolio-container,
    .web-container {
        grid-template-columns: repeat(2, 1fr)
    }

    .certificattion {
        flex-direction: column;
        padding-right: 0;
        padding-left: 0
    }

    .certificate-content input {
        text-align: center;
        width: 50rem;
        transform: scale(80%);
        padding: 0;
        margin: 1.5rem 0;
        transition: .2s ease-in-out
    }

    .certificattion,
    .home {
        justify-content: normal;
        margin-top: 4rem;
    }

    .display-frame {
        padding-top: 2rem;
        text-align: center;
        height: 47rem;
        margin-top: 4rem;
    }

    .display-frame img {
        height: 51rem;
    }

    .certificate-content input:hover {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom: 2rem;
        transform: scale(100%);
        box-shadow: 0 0 1.8rem var(--main-color)
    }

    .footer-icon a {
        padding: 1.1rem
    }

    .footer-icon a i {
        font-size: 2.9rem
    }

    .web-services {
        flex-direction: column;
    }

    .ws-card-1 {
        padding-top: 0;
        padding-bottom: 0rem;
    }

    .ws-card-2 {
        padding-top: 0rem;
    }

    .ws-card-1-last {
        margin-bottom: 0;
    }

}

@media (max-width:617px) {

    .portfolio-container,
    .web-container {
        grid-template-columns: 1fr
    }

    .display-frame {
        padding-top: 2rem;
        height: 38 rem
    }

    .display-frame img {
        height: 48rem
    }
}

@media (max-width:565px) {
    .hamburger-icon {
        height: 2.7rem
    }

    #hamburger-wrapper.active span:nth-child(3) {
        bottom: 9px
    }

    .footer {
        flex-direction: column-reverse
    }

    section {
        padding: 10.5rem 9rem
    }

    .footer p {
        text-align: center;
        margin-top: 2rem
    }

    .display-frame {
        padding-top: 2rem;
        height: 38 rem
    }

    .display-frame img {
        height: 42rem
    }

    .ws-card-1 {
        width: 45rem;
    }

    .ws-card-2 {
        width: 45rem;
    }

    .ws-list i {
        font-size: 3rem
    }

    .ws-list p {
        text-align: start;
        font-size: 2rem;
    }
}

@media (max-width:540px) {
    .display-frame img {
        height: 40rem;
        width: auto
    }

    #hamburger-wrapper.active span:nth-child(3) {
        bottom: 9px
    }
}

@media only screen and (min-width: 450px) and (max-width:481px) {
    .about-btn .btn {
        padding: 1rem 1.8rem;
    }
}

@media (max-width:450px) {
    html {
        font-size: 50%
    }

    section {
        padding: 10rem 7rem
    }

    .custom-padding {
        padding: 10rem 5rem
    }

    .home-content h3 {
        font-size: 2rem;
        font-weight: 700
    }

    .contact form .input-box input {
        width: 100%
    }

    .certificate-content {
        padding-top: 5rem
    }

    .display-frame img {
        height: 36rem
    }

    .dot-navigation {
        left: 3.5%;
    }
}

@media (max-width:418px) {
    .heading {
        font-size: 4rem
    }

    .display-frame img {
        height: 32rem
    }

    section {
        padding: 10rem 5rem
    }

    .certificate-content input {
        width: 40rem
    }

    .certificattion {
        padding-right: 0;
        padding-left: 0
    }

    .ws-list {
       margin: 6rem auto;
    }

    .ws-card-1-last{
        margin-bottom: 0;
    }

    .dot-navigation{
        top: 45%;
    }
}


@media only screen and (min-width: 397px) and (max-width:412px) {
    .about-btn .btn {
        padding: 1rem 1.8rem;
    }
}

@media only screen and (min-width: 280px) and (max-width:334px) {
    .about-btn .btn {
        padding: 1rem .8rem;
    }
}

@media (max-width:396px) {

    .about-img img,
    .home-img img {
        width: 90vw
    }

    .hamburger-icon {
        height: 3rem
    }

    #hamburger-wrapper.active span:nth-child(3) {
        bottom: 6px
    }

    section {
        padding: 10rem 5rem
    }

    .popup .popuptext {
        width: 10.125rem;
        left: 50%;
        margin-left: -33px;
    }

    #myPopup7 {
        width: 12.5rem;
        left: 65%;
        font-size: 10px;
        margin-left: -45px;
    }

    .display-frame img {
        height: 38rem
    }

    .certificate-content input {
        width: 40rem
    }

    html {
        font-size: 40.5%;
        right: 0
    }

    .dot-navigation {
        left: 4%;
    }

    .ws-list{
        padding-left: 5rem;
    }

    .ws-card-1{
        padding-left: 0rem;
        padding-right: 0rem;
    }

    .ws-card-2{
        padding-left: 0rem;
        padding-right: 0rem;
    }


}

@media (max-width:325px){
    .ws-list{
        padding-left: 3rem;
    }
    
    .ws-card-1{
        width: 40rem;
    }

    .ws-card-2{

        width: 40rem;
    }
}


@media (max-width:285px) {
    html {
        font-size: 38%;
        right: 0
    }

    .popup .popuptext {
        width: 10.125rem;
        left: 50%;
        margin-left: -31px;
    }

    .ws-list{
        padding-left: 2rem;
    }
}