* {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    /* background-color: rgba(2, 133, 255, 0.486); */
    background: radial-gradient(circle at center, #0352a1 0%, rgba(1, 105, 202, 0.486) 100%, #012a59 100%);
    color: white;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#collabLink {
    /* position: fixed; */
    top: 0;
    margin-left: 40%;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.5); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;

}

.modal-content {
    background-image: url(Contactpopup.gif);
    background-size: contain;
    padding: 20px;
    border-radius: 20px;
    width: 350px;
    position: relative;
    animation: dropDown 1.5s ease-out;
}

@keyframes dropDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: black;
    position: absolute;
    top: 0px;
    right: 2px;
    font-size: 30px;
    cursor: pointer;
}

.close:hover {
    color: red;
}

.popuphead {
    text-align: center;
    font-size: 20px;
    color: #1c1c1c;
    font-weight: bold;
    margin-bottom: 15px;
}

.popuphead i {
    margin-right: 6px;
    color: #007bff;
}

.inputbox3 {
    background-color: #ffffffe4;
    padding: 10px 15px;
    border: 2px solid #00d13f;
    border-radius: 8px;
    width: 100%;
    font-size: 14px;
    margin-bottom: 12px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    outline: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.inputbox3:hover {
    background: linear-gradient(145deg, #f3f3f3, #ffffff);
    border-color: #33b5ff;
}

.inputbox3:focus {
    transform: scale(1.05);
    border-color: #532dffe9;
    background: linear-gradient(145deg, #f3f3f3, #e2e2e2);
}

.inputbox3::placeholder {
    color: #414141e2;
    font-style: italic;
    font-family: cursive;
}

.textareafeedback {
    background-color: #ffffffe4;
    padding: 10px;
    border: 2px solid #00d13f;
    border-radius: 8px;
    width: 100%;
    resize: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    min-height: 100px;
    box-sizing: border-box;
    outline: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    margin-bottom: 12px;
}

.textareafeedback:hover {
    background: linear-gradient(145deg, #f3f3f3, #ffffff);
    border-color: #33b5ff;
}

.textareafeedback:focus {
    transform: scale(1.05);
    border-color: #532dffe9;
    background: linear-gradient(145deg, #f3f3f3, #e2e2e2);
}

.textareafeedback::placeholder {
    color: #414141e2;
    font-style: italic;
    font-family: cursive;
}

.buttonfeedback {
    width: 100%;
    padding: 12px;
    background-color: #01a406b0;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 5px 10px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.buttonfeedback:hover {
    background-color: #ffffffbd;
    color: green;
    border-color: green;
    transform: scale(1.03);
    box-shadow: 5px 10px 12px rgba(86, 255, 34, 0.45);
}

.error {
    color: red;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
}

.zoom-note {
    background-color: #fff79a;
    color: #d90000;
    padding: 12px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    border: 1px solid #d90000;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    /* So it doesn’t block any clicks */
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: blink 2s infinite ease-in-out;
    opacity: 0.8;
    z-index: 0;
    /* overflow: hidden; */
}

@keyframes blink {

    0%,
    100% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }
}

.menu-container {
    position: relative;
}

.line {
    width: 30px;
    height: 5px;
    background-color: whitesmoke;
    transition: transform 1s ease;

}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    cursor: pointer;
    transition: transform 2s ease;
    margin-left: 1950%;
    margin-top: -6%;
}

.line:hover {
    background-color: blue;
}

.hamburger.rotate {
    transform: rotate(130deg);
}

.hamburger.rotate .line:nth-child(1) {
    transform: translateY(8px) rotate(5deg);
}

.hamburger.rotate .line:nth-child(2) {
    opacity: 0;
}

.hamburger.rotate .line:nth-child(3) {
    transform: translateY(-8px) rotate(-80deg);
}

.hamburgercontainer.rotate {
    transform: 0.8m ease;
}

.menu-options {
    display: none;
    width: 100px;
    border-radius: 10px;
    background-color: #0000003f;
    color: white;
    padding: 10px;
    position: absolute;
    top: 42px;
    left: 550px;
    right: 0;
    font-family: cursive;
    font-weight: bolder;
}

.menu-options ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.menu-options ul li {
    padding: 10px;
    list-style: circle;
}

.menu-options ul li a {
    text-decoration: none;
    color: white;
    display: block;
}

.menu-options ul li a:hover {
    text-decoration: underline;
    color: #cbe0ff;
}

.popuphead {
    color: brown;
    background-color: #ffffffbf;
    border-radius: 2rem;
    font-style: italic;
    font-size: larger;
    text-align: center;
    font-family: cursive;
    font-weight: bolder;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    animation: typing 2s steps(30) 0.1s forwards, blinkCaret 0.05s step-end infinite;
}

@keyframes typing {
    to {
        width: 100%;
    }
}

@keyframes blinkCaret {
    50% {
        border-color: transparent;
    }
}




@keyframes dropDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.welcome-message {
    position: fixed;
    top: 15%;
    left: 87%;
    color: #04ad1d;
    animation: colorFade 4s infinite alternate;
    background-color: white;
    font-family: cursive;
    font-weight: bolder;
    font-style: italic;
    padding: 15px 25px;
    font-size: 16px;
    border-radius: 10px;
    box-shadow: 5px 14px 10px rgba(0, 0, 0, 0.623);
    display: none;
    /* Initially hidden */
}

/* chatbotatom */
.fixed-logo {
    position: fixed;
    top: 415px;
    right: 20px;
    z-index: 1000;
    text-decoration: none;
    color: rgba(255, 254, 254, 0.71);
    font-size: large;
    font-family: cursive;
    font-weight: bolder;
}

.fixed-logo img {
    width: 70px;
    height: auto;
    cursor: pointer;
}

.fixed-logo:hover {
    font-size: medium;
    color: rgb(205, 255, 130);
}

/* chatbotatom */

.left {
    margin-left: 2%;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 40px;
    background-color: rgba(49, 184, 8, 0.671);
    border: solid;
    border-radius: 1cap;
    border-width: 10px;
    border-top-color: gold;
    border-bottom-color: rgb(0, 248, 37);
    border-left-color: #008cff;
    border-right-color: blueviolet;
}

nav ul {
    display: flex;
    justify-content: center;
    margin-left: 170%;
    margin-top: 1%;
    font-size: 14px;
}

nav ul li {
    list-style: none;
    margin: 0 23px;
    margin-top: 2%;
}

nav ul li a {
    text-decoration: none;
    color: white;
}

nav ul li .aboutfirst:hover {
    color: yellow;
    font-style: italic;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

nav ul li .servicesfirst:hover {
    color: brown;
    font-style: italic;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

nav ul li .skillsfirst:hover {
    color: rgb(112, 2, 255);
    font-style: italic;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

nav ul li .projectsfirst:hover {
    color: rgb(247, 195, 130);
    font-style: italic;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

nav ul li .contactfirst:hover {
    color: greenyellow;
    font-style: italic;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}


.firstsection {
    display: flex;
    justify-content: space-around;
    margin: 23px 0;
    align-items: center;
}

.firstsection div {
    width: 30%;
}

.leftsection {
    font-size: 2.6rem;
    width: 34px;
}

.Photographer {
    font-size: xx-large;
    font-style: italic;
    color: rgb(255, 230, 175);
    font-family: 'Courier New', Courier, monospace;
}

.pv {
    font-size: xx-large;
    font-style: italic;
    color: rgb(255, 230, 175);
    font-family: 'Courier New', Courier, monospace;
}

.CoderWebDeveloper {
    font-size: xx-large;
    font-style: italic;
    color: rgb(167, 5, 48);
    font-family: cursive;
    font-weight: 800;
}

.rightsection img {
    width: 50%;
    margin: 50px 0;
    padding: 1px;
    border-radius: 20px;
    border: solid;
    border-color: rgba(255, 251, 129, 0.384);
    margin-left: 30%;
    background-image: linear-gradient(rgba(212, 212, 212, 0.642));
    box-shadow: 1px 1px 200px -5px rgba(255, 234, 170, 0.719);
}


@keyframes borderAnimation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}




@keyframes borderAnimation {
    0% {
        background-position: 100% 0%;
    }

    25% {
        background-position: 0% 100%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 100% 0%;
    }
}

.d-flex {
    margin-left: 35%;
}

.namecolour {
    font-family: cursive;
    color: rgb(199, 255, 130);
}

.PORTFOLIO {
    color: rgb(4, 0, 255);
    font-style: italic;
    font-family: serif;
}

.element {
    color: rgb(102, 0, 255);
    font-style: italic;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.secondsection {
    max-width: 80vw;
    margin: auto;
    height: 80vh;
}

main hr {
    border: 2;
    border-color: rgb(59, 251, 0) blue rgb(255, 251, 0);
    border-radius: 20cap;
    border-width: 1cap;
    background-image: url(portfoliobgimage.gif);
    background-size: contain;
    height: 10cap;
    margin: 80px 10px;
    /* animation: colorShadow 6s ease-in-out infinite; */
}

@keyframes colorShadow {
    0% {
        box-shadow: 0 0 20px 10px #91ff007a;
    }

    25% {
        box-shadow: 0 0 20px 10px #7902f890;
    }

    50% {
        box-shadow: 0 0 20px 10px #fbfff7cc;
    }

    75% {
        box-shadow: 0 0 20px 10px #0033ffa4;
    }

    100% {
        box-shadow: 0 0 20px 10px #ffee0095;
    }
}

.secondsection h1 {
    font-size: 1.7rem;
    color: rgba(47, 255, 0, 0.783);
    margin-left: 35%;
}

.namecolourtwo {
    color: rgba(245, 245, 245, 0.936);
    margin-left: 39%;
    font-size: small;
}


.secondsection .box {
    /* background: rgb(106, 0, 255); */
    background: linear-gradient(to right, #ffffff, #28ff81, rgb(71, 151, 255), yellow);
    width: 75vw;
    height: 5px;
    margin: 100px 30px;
    display: flex;
    animation: colorShadow2 6s ease-in-out infinite;
}

@keyframes colorShadow2 {
    0% {
        box-shadow: 0 0 20px 10px #ffffffac;
    }

    25% {
        box-shadow: 0 0 20px 10px #28ff82ac;
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(71, 151, 255, 0.721);
    }

    75% {
        box-shadow: 0 0 20px 10px rgba(255, 255, 0, 0.598);
    }

    100% {
        box-shadow: 0 0 20px 10px #ffc7c795;
    }
}

/* .secondsection .vertical {
    height: 90px;
    width: 2px;
    background: gold;
    margin: 0 100px;
    margin-left: 8.5%;
    box-shadow: 0 0 20px 10px #ffffff5d;
} */







.secondsection .vertical {
    height: 90px;
    width: 2px;
    background: gold;
    margin: 0 100px;
    margin-left: 8.5%;
    box-shadow: 0 0 20px 10px #ffffff5d;
    position: relative;
}

.secondsection .vertical::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.838);
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(0, 0, 0);
}

.image-top {
    width: 75px;
    position: relative;
    top: -70px;
    left: -20px;
}

.vertical-title {
    position: relative;
    top: 20px;
    width: 150px;
    left: -10px;
    font-size: 21px;
}


.vertical-desc {
    position: relative;
    top: 40px;
    width: 150px;
    font-size: 10px;
    color: rgb(133, 133, 133);
    left: -30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.image-top2 {
    width: 55px;
    position: relative;
    top: -55px;
    left: -10px;
}

.vertical-title2 {
    position: relative;
    top: 40px;
    width: 180px;
    left: -30px;
    font-size: 19px;
}

.vertical-desc2 {
    position: relative;
    top: 61px;
    width: 150px;
    font-size: 10px;
    color: rgb(133, 133, 133);
    left: -30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.image-top3 {
    width: 111px;
    position: relative;
    top: -65px;
    left: -25px;
}

.vertical-title3 {
    position: relative;
    top: 20px;
    width: 180px;
    left: -20px;
    font-size: 21px;
}

.vertical-desc3 {
    position: relative;
    top: 40px;
    width: 150px;
    font-size: 9px;
    color: rgb(133, 133, 133);
    left: -30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.image-top4 {
    width: 71.2px;
    position: relative;
    top: -73px;
    left: -22px;
}

.vertical-title4 {
    position: relative;
    top: 22px;
    width: 180px;
    left: -20px;
    font-size: 20px;
}

.vertical-desc4 {
    position: relative;
    top: 40px;
    width: 150px;
    font-size: 9px;
    color: rgb(133, 133, 133);
    left: -30px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.image-top5 {
    width: 102px;
    position: relative;
    top: -75px;
    left: -55px;
}

.vertical-title5 {
    position: relative;
    top: 20px;
    width: 180px;
    left: -9px;
    font-size: 20px;
}

.vertical-desc5 {
    position: relative;
    top: 40px;
    width: 150px;
    font-size: 10px;
    color: rgb(133, 133, 133);
    left: -9px;
    font-style: italic;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.container2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-section2 {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -5%;
}

.left-section2 img {
    margin-top: -40%;
    width: 100%;
    height: auto;
}

.right-section2 {
    flex: 1;
    margin-top: -10%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: flicker 1.5s infinite linear;
}

/* .right-section2 {
margin-top: -40%;
width: 100%;
height: auto;
} */

@keyframes flicker {
    0% {
        opacity: 1;
    }

    10% {
        opacity: 0.5;
    }

    20% {
        opacity: 0.9;
    }

    30% {
        opacity: 0.3;
    }

    40% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    60% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.button2 {
    text-decoration: none;
    font-family: cursive;
    font-weight: bolder;
    font-style: italic;
    padding: 10px 20px;
    font-size: 26px;
    cursor: pointer;
    background-color: #4CAF50;
    border: solid;
    border-color: aqua;
    color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 4px 8px rgba(255, 255, 255, 0.578);
    transition: all 0.3s ease-in-out;
    transition: transform 0.50s ease, opacity 0.50s ease, box-shadow 0.60s ease;
}

.button2:hover {

    box-shadow: 5px 2px 20px 20px rgba(255, 255, 255, 0.589);
    box-shadow: 10px 40px 6px 5px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
    font-weight: bolder;
    border-radius: 2rem;
    background-color: #53d759;
}

.gallery {
    margin-top: -10%;
    margin-left: 10%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 16px;
    max-width: 1100px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 10px 4px 8px rgba(255, 255, 255, 0.696);
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease-in-out;
}

.gallery-item:hover img {
    transform: scale(1.50);
}

.footer-first,
.datetime {
    animation: textColorChange 4s infinite alternate;
}

@keyframes textColorChange {
    0% {
        /* color: green; */
        color: rgb(255, 224, 224);
    }

    25% {
        /* color: rgb(157, 0, 219); */
        color: rgb(221, 255, 211);
    }

    50% {
        /* color: rgb(255, 217, 0); */
        color: whitesmoke;
    }

    75% {
        /* color: blue; */
        color: rgb(254, 249, 205);
    }

    100% {
        color: white;
    }
}

.footer-rights {
    color: rgb(213, 213, 213);
}

.footerhr {
    border: 0;
    height: 4px;
    background: linear-gradient(to right, #ffffff, #28ff81, rgb(71, 151, 255), yellow);
    margin: 1px 0;
}

footer {
    height: 90%;
    margin-top: -7.5%;
}

.footer {
    display: flex;
    padding: 23px 122px;
    justify-content: space-evenly;

}

.footer ul {
    list-style: none;
}

.footer>div {
    width: 223px;
}

footer .footer-rights {
    text-align: center;
    font-size: 15px;
    /* color: rgba(255, 0, 0, 0.674); */
    padding: 23px 0;
}


/* footer .footer-rights:hover {
text-align: center;
color: rgba(128, 128, 128, 0.815);
padding: 23px 0;

} */

.btnone {
    padding: 12px;
    background-color: orange;
    color: white;
    border: 2px solid white;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10%;
    border-color: aqua;
    margin-top: 1%;
    transition: transform 0.50s ease, opacity 0.50s ease, box-shadow 0.60s ease;
    cursor: pointer;
    box-shadow: 10px 15px 15px 5px rgba(0, 0, 0, 0.413);
}

.btnone:hover {
    color: blue;
    background-color: greenyellow;
    transform: scale(1.10);
    border-color: gold;
    opacity: 1.5;
    box-shadow: 5px 0px 20px 10px rgba(255, 255, 255, 0.756);
}

.btntwo {
    padding: 12px;
    background-color: rgba(0, 102, 255, 0.705);
    color: whitesmoke;
    border: 2px solid white;
    border-radius: 2rem;
    font-size: 20px;
    cursor: pointer;
    border-color: aqua;
    transition: transform 0.50s ease, opacity 0.50s ease, box-shadow 0.60s ease;
    cursor: pointer;
    box-shadow: 10px 15px 15px 5px rgba(0, 0, 0, 0.413);
}

.btntwo:hover {
    /* font-size: large; */
    color: blueviolet;
    font-style: italic;
    font-family: inherit;
    border-color: blue;
    background-color: yellow;
    transform: scale(1.10);
    border-color: rgb(0, 102, 255);
    opacity: 1.5;
    box-shadow: 5px 0px 20px 10px rgba(255, 255, 255, 0.756);
}

.anchor {
    transition: transform 0.50s ease, opacity 0.50s ease, box-shadow 0.60s ease;
}

.anchor:hover {
    opacity: 1.5;
    box-shadow: 5px 10px 20px 20px rgba(255, 255, 255, 0.589);
}

footer ul li {
    list-style: none;
    margin: 0 23px;
}

footer ul li a {
    text-decoration: none;
    color: white;
}

.home:hover {
    font-style: italic;
    color: rgb(98, 0, 210);
}

.about:hover {
    font-style: italic;
    color: yellow;
}

.services:hover {
    font-style: italic;
    color: brown;
}

.contacts:hover {
    font-style: italic;
    color: rgb(145, 23, 23);
}

.footer-first {
    color: rgb(0, 30, 255);
    margin-top: 5%;
    font-family: cursive;
}

.footer-third {
    margin-left: 5%;
}

.facebook:hover {
    font-style: italic;
    color: rgb(0, 64, 255);
}

.instagram:hover {
    font-style: italic;
    color: #fe6200;
}

.linkedin:hover {
    font-style: italic;
    color: rgba(29, 106, 231, 0.5);
}

/* .telegram:hover {
    font-style: italic;
    color: #2481cc;
} */

.Collaborate:hover {
    font-style: italic;
    color: #6dff2e;
}

.email:hover {
    font-style: italic;
    color: rgb(185, 185, 185);
}

.contactfist:hover {
    font-style: italic;
    color: greenyellow;
}

.photoes {
    margin-left: 90%;
}


/* this part is for dark mode */
.hidden {
    display: none !important;
}

.label {
    width: 76px;
    height: 35px;
    position: relative;
    display: block;
    background: #ebebeb;
    border-radius: 300px;
    box-shadow: inset 0px 5px 15px rgba(0, 0, 0, 0.4), inset 0px -5px 15px rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 3s;
    margin-left: 35%;
}

.label:after {
    content: "";
    width: 31px;
    height: 27px;
    position: absolute;
    top: 4px;
    left: 3.5px;
    background: linear-gradient(180deg, #ffcc89, #d8860b);
    border-radius: 180px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    transition: 1s;
}

.input {
    width: 0;
    height: 0;
    visibility: hidden;
}

.input:checked+.label {
    background: rgb(59, 59, 59);
}

.input:checked+.label:after {
    left: 70px;
    transform: translateX(-90%);
    background: linear-gradient(180deg, gold, #646262);
}

.label:active:after {
    width: 180px;
    border: solid;
    border-radius: 10px;
}

.backgroundcolour {
    width: 98.8vw;
    height: 265vh;
    z-index: -1;
    position: absolute;
    transition: 1s;
    top: 9%;
}

.input:checked+.label+.backgroundcolour {
    background: black;
}

.label svg {
    position: absolute;
    width: 20px;
    top: 20%;
    z-index: 100;
}

.label svg.sun {
    left: 8px;
    fill: white;
    transition: 5s;
}

.label svg.moon {
    left: 50px;
    fill: grey;
    transition: 8s;
}

.input:checked+.label svg.sun {
    fill: whitesmoke;
    transition: 15s;
}

.input:checked+.label svg.moon {
    fill: whitesmoke;
    transition: 5s;
}


/* (dark mode part end) */

.ForPhoto {
    width: 25vw;
    transition: transform 0.50s ease, opacity 0.50s ease, box-shadow 0.60s ease;
    cursor: pointer;
}

.ForPhoto:hover {
    zoom: 0;
    transform: scale(1.10);
    border-color: gold;
    opacity: 1.5;
    box-shadow: 5px 10px 20px 20px rgba(255, 255, 255, 0.537);
    background-color: rgba(255, 255, 255, 0.537);
}

.ForPhoto2 {
    width: 25vw;
    transition: transform 0.50s ease, opacity 0.50s ease, box-shadow 0.60s ease;
    cursor: pointer;
    margin-top: 50%;
    margin-left: 10%;
}

.ForPhoto2:hover {
    zoom: 0;
    transform: scale(1.10);
    border-color: gold;
    opacity: 1.5;
    box-shadow: 5px 10px 20px 20px rgba(255, 255, 255, 0.537);
    background-color: rgba(255, 255, 255, 0.537);
}

@media screen and (max-width: 920px) {

    .box {
        flex-direction: column;
    }

    nav {
        flex-direction: column;
        height: 125px;
        justify-content: space-between;
        align-items: center;
        width: 95%;
        background-color: rgba(49, 186, 7, 0.71);
        border-radius: 2cap;
    }

    nav ul {
        display: flex;
        justify-content: center;
        margin-left: 3%;
        margin-top: -40%;
    }

    nav ul li a {
        font-size: 12px;

    }

    .firstsection {
        margin-top: 1%;
    }


    .secondsection .vertical {
        height: unset;
    }

    .right ul li {
        font-size: x-small;
        font-weight: 900;
        margin-top: 2%;
        margin-left: 4%;
    }

    .left {
        margin-top: 1%
    }

    .secondsection h1 {
        font-size: large;
        margin-left: 21%
    }

    .namecolour {
        font-family: auto;
    }

    .namecolourtwo {
        font-size: xx-small;
        margin-left: 30%
    }

    .vertical-title,
    .vertical-desc,
    .vertical-title2,
    .vertical-desc2,
    .vertical-title3,
    .vertical-desc3,
    .vertical-title4,
    .vertical-desc4,
    .vertical-title5,
    .vertical-desc5 {
        left: 100px;
    }

    .vertical-title2 {
        margin-top: -15px;
    }



    .secondsection .vertical {
        height: 600px;
        margin-top: 3px;

    }

    .secondsection .box {
        height: 4px;
        margin-top: 2%;
    }

    .btnone {
        margin-bottom: 2%;
    }

    .buttons {
        margin-left: 17%;
    }

    .leftsection {
        margin-top: -15%;
        font-size: 15px;
    }

    .rightsection {
        margin-right: 5%;

    }

    .rightsection img {
        width: 100%;
        margin: 50px 0;
        border-radius: 20px;
        border: solid;
        border-color: #97979fe8;
        margin-left: 20%;
        margin-bottom: 90%;
    }

    .image-top {
        top: 80px;
        left: 20px;
    }

    .image-top2 {
        top: 80px;
        left: 20px;
    }

    .image-top3 {
        top: 80px;
        left: 0px;
    }

    .image-top4 {
        top: 80px;
        left: 20px;
    }

    .image-top5 {
        top: 80px;
        left: -20px;
    }

    .Photographer {
        font-size: medium;
        font-style: italic;
        color: blueviolet;
        font-family: 'Courier New', Courier, monospace;
    }

    .pv {
        font-size: small;
        font-style: italic;
        /* color: blueviolet; */
        display: inline-block
    }

    .coder {
        font-size: small;
        font-style: italic;
        color: rgb(190, 12, 59);
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-weight: 800;
    }


    footer {
        margin-top: 0%;
    }

    .footer {
        margin-top: -10%;
        display: flex;
        padding: 2px 1px;
        justify-content: space-evenly;
        height: 45vh;
    }

    .footer-first h3 {
        margin-left: 90%;
        font-size: medium;
    }

    .footer-third {
        margin-left: 20%;
        /* margin-top: 0%; */
        font-size: large;
    }

    .footer-fourth {
        margin-right: 20%;
        /* margin-top: 10%; */
        font-size: large;
    }

    .backgroundcolour {
        /* width: 105vw; */
        height: 272vh;
        z-index: -1;
        position: absolute;
        transition: 1s;
        margin-top: 18%;
    }

    .ForPhoto {
        margin-left: 16%;
        width: 60vw;
    }

    .ForPhoto:hover {
        zoom: 0.9;
    }

    .fixed-logo {
        position: fixed;
        top: 350px;
        /* right: 20px;  */
        z-index: 10;
        text-decoration: none;
        color: white;
        font-size: x-small;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
        font-weight: bolder;
        margin-right: 45%;
    }

    .fixed-logo:hover {
        font-size: small;
    }

    .fixed-logo img {
        margin-top: 77%;
        width: 70px;
        height: auto;
        cursor: pointer;
    }

    .CoderWebDeveloper {
        font-size: 17px;
        font-family: auto;
    }

    .welcome-message {
        position: fixed;
        top: 5%;
        left: 60%;
        font-family: sans-serif;
    }

    .footer-first {
        font-family: cursive;
        margin-left: 25%;
        margin-top: 120%;
    }

    .footer-third,
    .footer-fourth {
        margin-top: 10%;
    }

    .container2 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .left-section2 {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .left-section2 img {
        margin-top: 40%;
        width: 120%;
        height: auto;
    }

    .right-section2 {
        flex: 1;
        margin-top: 30%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .button2 {
        font-family: sans-serif;
        padding: 5px 8px;
        font-size: 20px;
    }

    main hr {
        border: 2;
        border-color: rgb(59, 251, 0) blue rgb(255, 251, 0);
        border-radius: 5cap;
        border-width: 1cap;
        background-image: url(portfoliobgimage.gif);
        background-size: cover;
        height: 15cap;
        width: 34cap;
        margin: 84px -10px;
    }

    .datetime {
        margin-left: 25%;
        font-family: fangsong;
        font-size: x-small;
    }

    .hamburger {
        margin-top: -360%;
        margin-left: 525%;
    }

    .menu-options {
        margin-top: 280%;
        margin-left: -450%;
        padding: px;
    }

    .menu-options {
        width: 140px;
        border-radius: 10px;
        background-color: #0000003f;
        color: white;
        padding: 10px;
        position: absolute;
        margin-top: -115px;
        left: 150px;
        right: 0;
        font-family: cursive;
        font-weight: bolder;
    }

    .menu-options ul {
        list-style: none;
        padding: 10px;
        margin: 0;
        display: flex;
        margin-top: 7px;
        flex-direction: row;
    }

    .menu-options ul li {
        padding: 1px;
        list-style: none;
        margin-top: -20%;
        margin-left: -2%;
    }

    .menu-options ul li a {
        text-decoration: none;
        color: white;
        display: block;
        margin-left: 25%;
        font-family: auto;
        font-size: 13px;

    }

    .label {
        margin-top: -55%;
        margin-left: 50%;
        width: 75px;
        height: 35px;
        position: relative;
        display: block;
        background: #ebebeb;
        border-radius: 300px;
        box-shadow: inset 0px 5px 15px rgba(0, 0, 0, 0.4), inset 0px -5px 15px rgba(255, 255, 255, 0.4);
        cursor: pointer;
        transition: 3s;
    }

    .PORTFOLIO {
        font-size: 13px;
    }

    .left {
        margin-top: 25%;
        margin-left: -40%;
    }

    .footerhr {
        margin-top: -9%;
    }

    .footer ul {
        margin-top: 10%;
    }

    .modal-content {
        border-radius: 10px;
        max-width: 300px;
        margin-right: 5%;
    }

    .inputbox3::placeholder {
        font-style: italic;
        font-family: auto;
    }

    .textareafeedback::placeholder {
        font-style: italic;
        font-family: auto;
    }

    .popuphead {
        font-family: revert;
    }

    .secondsection {
        max-width: 80vw;
        margin: auto;
        height: 80vh;
    }
}