* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #004d40;

    scroll-behavior: smooth;
}


body::-webkit-scrollbar {
    display: none;
}


header {
    position: sticky;
    top: 0;
    left: 0;
    max-width: 100%;
    height: 60px;
    background: rgb(225, 146, 0);
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    font-family: 'Shrikhand', serif;
    text-transform: uppercase;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    margin-bottom: 40px;
}

.skills img {
    max-width: 5%;
    margin: 6px;
}

.myLogo {
    flex: 1;
    max-width: 20%;
    height: auto;
}



nav {
    flex: 1;
    display: flex;
    justify-content: right;
    padding: 30px;
}


nav a {
    color: #000000;
    text-decoration: none;
    margin-left: 90px;
    font-size: 20px;
}

a {
    text-decoration: none;
}

a:hover {
    color: #303740;
}




.mainBox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    max-width: 100%;
    background: linear-gradient(to bottom, #3498db, #f89d53);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 100px;
    margin-top: 30px;
}

.myResume {

    margin-top: 20px;
    color: #ffa012;

}

.myResume:hover {
    color: #5dc7ed;
}

.mainBox img {
    display: block;
    margin: 0 auto;
    max-width: 360px;
    margin-bottom: -1px;

}

.mySk {
    margin-bottom: 70px;
}

.skill {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.skill img {
    display: inline-block;
    max-width: 10%;
    height: auto;
    margin: 20px;

}

#about {
    position: relative;
    overflow: hidden;
}

.text {
    display: block;
    text-align: center;
    height: 200px;
    color: #fff;
    margin-bottom: 20px;

}

h1 {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: bold;
    background: linear-gradient(to bottom, #a6dbff, #ffa255);
    background-clip: text;
    color: transparent;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-size: 50px;
    text-align: center;

}

.view {
    display: block;
    margin: 0 auto;
    color: #000000;
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    max-width: 60%;
    margin-top: 40px;
    margin-bottom: 20px;
    background-color: #df9028;

}

.view:hover {
    background-color: #f5b35e;
}

.myPr {
    background: linear-gradient(360deg, #000000, #001f2b);
    background-clip: text;
    color: transparent;
    font-size: 60px;
    font-family: 'Orbitron', sans-serif;
    margin-top: 15px;

}



.projects {
    margin-top: 40px;
    background: linear-gradient(360deg, #fefefe, #ffaa00);
    background-clip: text;
    color: transparent;
    font-family: 'Oswald', sans-serif;

}

.Projects {
    padding: 20px;
    background: linear-gradient(360deg, #303740, #514956);
    border-radius: 10px;
    max-width: 50%;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.myTech {
    display: block;
    margin: 0 auto;
}

label {
    display: block;
    margin: 0 auto;
}

.myTech img {

    max-width: 8%;
    margin: 10px;
    margin-top: 20px;
}

.myTech .ex {

    max-width: 12%;
    margin: 10px;
    margin-top: 20px;
}

.myTech .micro {

    max-width: 20%;
    margin: 10px;
    margin-top: 20px;
}

p {
    display: block;
    margin: 0 auto;
    font-size: 1.3rem;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    text-align: center;
    max-width: 450px;
    line-height: 1.5em;
}



.tech {
    font-size: 2.5rem;
    color: #e79507;
    margin-top: 30px;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
    text-transform: uppercase;
}

aside {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
    background: linear-gradient(180deg, #df9028, #02afff);
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-top: 300px;
    padding: 10px;
}


h2 {
    text-align: center;
    display: block;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.7rem;
}

dotlottie-player {
    display: flex;
    justify-content: center;
    width: 60%;
}

.myMovie {
    display: block;
    margin: 0 auto;
    max-width: 30%;
    margin-top: 40px;
}

.myBlog {
    display: block;
    margin: 0 auto;
    max-width: 30%;
    margin-top: 20px;
}

.myContact {
    background-image: url(./images/bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: block;
    margin: 0 auto;
    text-align: center;
    max-width: 100%;
    margin-top: 200px;
}

.myC {
    color: #ffffff;

}


.skill img:hover {
    cursor: pointer;
}

.contact-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-group {
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #45a049;
    /* Slightly darker green */
    transform: scale(1.05);
    /* Slightly enlarge the button */
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

button:active {
    transform: scale(0.95);
    /* Shrink the button when clicked */
}

.note {
    margin-top: 30px;
    color: rgb(255, 65, 65);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio (change to your aspect ratio) */
    height: 0;
    overflow: hidden;
    margin-top: 60px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.done {
    display: none;
}

.myTech .react {
    margin-bottom: 20px;
}

.myTech .gits {
    margin-bottom: 15px;
}

.myTech .fb {
    margin-bottom: 2px;
}

.buy {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    margin-top: 25px;
    border-radius: 10px;
}

.s8 {
    width: 7%;
}

/* For Mobile Devices */
@media only screen and (max-width: 600px) {
    .myPr {
        font-size: 30px;
        margin-top: 10px;
    }

    nav {
        flex: 1;
        display: flex;
        justify-content: center;

    }


    .myTech .fb {
        margin-bottom: 6px;
    }

    .myTech .react {
        margin-bottom: 17px;
    }

    .myTech img {

        max-width: 11%;
        margin: 10px;
        margin-top: 20px;
    }

    .myTech .ex {

        max-width: 14%;
        margin: 10px;
        margin-bottom: 17px;
    }

    .myTech .micro {

        max-width: 25%;
        margin: 10px;
        margin-top: 20px;
    }

    .myLogo {

        flex: 1;
        max-width: 65%;
        height: auto;
    }

    nav a {
        display: none;
    }

    .menu-icon {
        display: inline-block;
    }

    .myResume {
        margin-top: 10px;
    }


    .menu-icon:before {
        content: '\2630';
        font-size: 24px;
        line-height: 1.5;
    }

    .menu-list {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #333;
        text-align: center;
        box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);

    }


    .menu-list a {
        display: block;
        padding: 10px;
        color: white;
        text-decoration: none;
    }


    .skill {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;

    }

    .skill img {
        display: block;
        max-width: 13%;
        height: auto;

    }


    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 15px;
        text-align: center;
        max-width: 300px;
        line-height: 23px;
    }

    aside {
        padding: 2px;
        margin-top: 100px;
        height: 70px;
    }


    .Projects {
        padding: 20px;
        background: linear-gradient(360deg, #303740, #514956);
        border-radius: 10px;
        max-width: 90%;
        display: block;
        margin: 0 auto;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        margin-bottom: 20px;
        overflow: hidden;
    }

    .projects {
        margin-top: 15px;
    }

    p {
        font-size: 16px;
    }

    .tech {
        font-size: 25px;
    }

    .skills img {
        max-width: 10%;
        margin: 6px;
    }


    .view {
        display: block;
        margin: 0 auto;
        color: #000000;
        font-family: 'Oswald', sans-serif;
        font-size: 1rem;
        max-width: 50%;
        margin-top: 40px;
        margin-bottom: 20px;
        background-color: #df9028;

    }

    .s8 {
        width: 12%;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {

    .myLogo {

        flex: 1;
        max-width: 27%;
        height: auto;
    }


    .Projects {
        max-width: 80%;
    }
}