* {
    margin: 0;
    font-size: 3vmin;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    background-color: rgb(1, 0, 26);
    color: white;
}

button {
    padding: .5vmax;
    border-radius: 1vmax;
}

#mode {
    cursor: grab;
}

header {
    background-color: rgb(1, 0, 26);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 4px 4px 4px rgb(160, 255, 131);
}

header>img {
    width: 15vmin;
}

header,
header>div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 1vmin;
    align-items: center;
}

/* header>p {
    font-size: 5vmin;
    font-weight: bolder;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    background: linear-gradient(to right, white, red, red, white);
    -webkit-background-clip: text;
    color: transparent;
} */

header>div>nav {
    display: flex;
    justify-content: flex-start;
    gap: 2vmin;
    font-weight: 900;
}

header>div>nav>a {
    color: white;
    text-decoration: none;
    display: inline-block;
}

header>div>nav>a:hover {
    color: yellow;
}

header>div>img {
    width: 2.5vmax;
    height: auto;
    max-width: 100%;
    filter: invert(100%);
}

aside>nav {
    position: fixed;
    left: 1.5%;
    bottom: 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

aside>nav>a {
    position: relative;
    /* display: block; */
}

aside>nav>a>img {
    width: 6vmin;
    height: auto;
    cursor: pointer;
    filter: invert(100%);
    transition: filter 0.3s ease-in-out, transform 0.2s ease-in-out;
}

aside>nav>a>img:hover {
    transform: scale(1.4);
}

aside>nav>a>p {
    font-weight: bold;
    position: absolute;
    color: yellow;
    left: 7vmin;
    bottom: 0%;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, left 0.3s ease-in-out;
    pointer-events: none;
    background-color: #333;
    font-size: .7rem;
    border-radius: 2vmax;
    padding: 0.5rem 1rem;
}

aside>nav>a>img:hover+p {
    opacity: 1;
    left: 8vmin;
}

main {
    display: flex;
    flex-direction: column;
    margin-top: 10vmin;
}

main>#home {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: "Macondo", serif;
}

main>#home>article>p {
    font-size: 5vmin;
    font-weight: bold;
    /* font-family: "Macondo", serif; */
}

main>#home>article>h1 {
    color: red;
    font-size: 8vmin;
    font-weight: bolder;
    text-shadow: 3px 3px 3px #ababab;
}

main>#home>div {
    /* background-color: rgb(1, 255, 149); */
    width: 50vmin;
    height: 50vmin;
    background-image: url(https://i.gifer.com/TXOP.gif);
    /* background-image: url(PORTO\ CONTENT/code-bg.jpg); */
    background-repeat: no-repeat;
    background-size: cover;
    transition: 1s;
    /* border-bottom-left-radius: 60%;
    border-top-right-radius: 60%; */
    border-radius: 100%;
    position: relative;
    overflow: visible;
}

main>#home>div:hover {
    transform: scale(1.2);
    filter: drop-shadow(0px 10px 10px rgb(0, 255, 255));
}

main>#home>article>button {
    color: white;
    background-color: royalblue;
    margin-top: 10px;
    transition: 1s;
    /* border-top-right-radius: 25%;
    border-bottom-left-radius: 25%; */
    font-size: 4vmin;
    font-weight: bold;
    cursor: grab;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

main>#home>article>button:hover {
    background-color: red;
}

main>#home>div>img {
    width: 90%;
    height: auto;
    max-width: 100%;
    transition: .5s;
    border-radius: 80%;
    right: 5%;
    bottom: 0;
    position: absolute;
}

main>#home>div>img:hover {
    /* width: 100%; */
    height: auto;
    max-width: 100%;
}

main>#about {
    display: flex;
    flex-direction: column;
    margin-top: 10vmin;
}

main>#about>p {
    box-shadow: 4px 4px 4px rgb(160, 255, 131);
    text-align: center;
}

main>#about>p>span {
    font-size: 5vmin;
    font-weight: bold;
    /* text-shadow: 2px 2px 2px #ababab; */
}

main>#about>p>#red-p {
    color: red;
    /* text-shadow: 2px 2px 2px #ababab; */
}

main>#about>#about-btn {
    display: flex;
    justify-content: space-around;
    margin-top: 5vmin;
    margin-bottom: 10vmin;
}

main>#about>#about-btn-cont {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 10vmax;
}

main>#about>#about-btn-cont>div {
    background-color: rgb(46, 0, 46);
    width: 50vmin;
    height: 50vmin;
    transition: 1s;
    /* border-bottom-left-radius: 60%;
    border-top-right-radius: 60%; */
    border-radius: 20vmax;
    position: relative;
}

main>#about>#about-btn-cont>div:hover {
    transform: scale(1.2);
    filter: drop-shadow(0px 10px 10px rgb(0, 217, 255));
}

main>#about>#about-btn-cont>div>img {
    width: 90%;
    height: auto;
    max-width: 100%;
    transition: .5s;
    /* filter: invert(100%); */
    /* right: 1vmax; */
    border-radius: 0;
    right: 5%;
    bottom: 0;
    position: absolute;
    animation: boy 5s infinite ease-in;
}

main>#about>#about-btn-cont>div>img:hover {
    width: 100%;
    height: auto;
    max-width: 100%;
}

main>#about>#about-btn>button {
    color: white;
    /* display: flex; */
    /* flex-direction: column; */
    background-color: royalblue;
    margin-top: 10px;
    transition: 1s;
    /* border-radius: 10%; */
    /* border-top-right-radius: 20%;
    border-bottom-left-radius: 20%; */
    font-size: 4vmin;
    font-weight: bold;
    cursor: grab;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

main>#about>#about-btn>button:hover {
    background-color: red;
}

main>#about>#about-btn-cont>#about-btn-cont-p {
    font-family: "Macondo", serif;
    width: 70%;
}

main>#about>#about-btn-cont>#about-btn-cont-p>ul>li {
    font-size: 5vmin;
    font-weight: 500;
    flex-wrap: wrap;
}

main>#project {
    display: flex;
    flex-direction: column;
    margin-top: 10vmin;
}

main>#project>p {
    box-shadow: 4px 4px 4px rgb(160, 255, 131);
    text-align: center;
}

main>#project>p>span {
    font-size: 5vmin;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    /* text-shadow: 2px 2px 2px #ababab; */
}

main>#project>p>#red-p {
    color: red;
    /* text-shadow: 2px 2px 2px #ababab; */
}

main>#project>#project-cont {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 10vmin;
    gap: 8vmin;
}

main>#project>#project-cont>div>h1 {
    width: 100%;
    text-align: center;
    margin: auto;
    padding: 1vmax;
    font-family: "Macondo", serif;
}

main>#project>#project-cont>div {
    width: 65vmin;
    height: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border: 1px solid royalblue;
    border-radius: 10%;
    transition: all 1s ease-out;
}

main>#project>#project-cont>div:hover {
    box-shadow: 0px 0px 5vmin rgb(63, 63, 63);
    transform: scale(1.1);
}

main>#project>#project-cont>div>img {
    width: 80%;
    height: auto;
    margin: auto;
    max-width: 100%;
    border-radius: 10%;
    aspect-ratio: 1/.8;
    transition: all .4s ease-out;
}

main>#project>#project-cont>div>img:hover {
    width: 90%;
}

main>#project>#project-cont>div>div {
    display: flex;
    transition: all 1s ease;
}


main>#project>#project-cont>div>div>a {
    width: 60vmin;
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: space-around;
    /* border: 1px solid red; */
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

main>#project>#project-cont>div>div>a>img {
    width: 30%;
    height: auto;
    max-width: 100%;
    transition: 1.5s;
    border-radius: 50%;
    filter: invert(100%);
}

main>#project>#project-cont>div>div>a>img:hover {
    /* filter: drop-shadow(0px 0px 10px rgb(255, 0, 0)) invert(100%); */
    box-shadow: inset 0px 0px 10px 10px #00e7ff;
}

main>#skill {
    display: flex;
    flex-direction: column;
    margin-top: 10vmin;
}

main>#skill>#skill-head {
    box-shadow: 4px 4px 4px rgb(160, 255, 131);
    text-align: center;
}

main>#skill>#skill-head>span {
    font-size: 5vmin;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    /* text-shadow: 2px 2px 2px #ababab; */
}

main>#skill>#skill-head>#red-p {
    color: red;
}

main>#skill>#skill-cont {
    display: flex;
    margin-top: 10vmin;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15vmin;
}

main>#skill>#skill-cont>div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

main>#skill>#skill-cont>div>p {
    font-size: 2vmax;
    color: rgb(217, 255, 0);
    background-color: #646464;
    font-weight: bold;
}

main>#skill>#skill-cont>div>img {
    width: 30vmin;
    height: auto;
    transition: 1s;
}

main>#skill>#skill-cont>div>img:hover {
    filter: brightness(.5) saturate(100%) invert(100%) sepia(100%) saturate(0) hue-rotate(0deg) brightness(100%) contrast(100%);
    transform: scale(1.3) translate(10%) rotate(10deg);
}

main>#contact {
    display: flex;
    flex-direction: column;
    margin-top: 10vmin;
}

main>#contact>#contact-head {
    box-shadow: 4px 4px 4px rgb(160, 255, 131);
    text-align: center;
}

main>#contact>#contact-head>span {
    font-size: 5vmin;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    /* text-shadow: 2px 2px 2px #ababab; */
}

main>#contact>#contact-head>#red-p {
    color: red;
}

main>#contact>#contact-cont {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 8vmin;
    margin-bottom: 5vmin;
}

main>#contact>#contact-cont>#contact-cont-img {
    width: 50vmin;
    height: 50vmin;
    position: relative;
    background-color: rgb(16, 0, 59);
    transition: 1s;
    border-radius: 100%;
}

main>#contact>#contact-cont>#contact-cont-img:hover {
    transform: scale(1.2);
    filter: drop-shadow(0px 10px 10px rgb(0, 217, 255));
}

main>#contact>#contact-cont>#contact-cont-img>img {
    width: 80%;
    height: auto;
    max-width: 100%;
    transition: .5s;
    position: absolute;
    transition: 2s;
    right: 8%;
    bottom: 0;
    animation: boy 5s infinite;
}

main>#contact>#contact-cont>#contact-cont-img>img:hover {
    width: 100%;
    height: auto;
    max-width: 100%;
}

main>#contact>#contact-cont>#contact-cont-in {
    width: 70vmin;
    height: 70vmin;
    display: flex;
    flex-direction: column;
    gap: 4vmin;
}

main>#contact>#contact-cont>#contact-cont-in>div {
    display: flex;
    flex-direction: column;
    gap: 1vmin;
    position: relative;
}

main>#contact>#contact-cont>#contact-cont-in>div>label {
    color: white;
    font-size: 3.5vmin;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    transition: all 0.3s ease;
    pointer-events: none;
    position: absolute;
    top: 8px;
    left: 4px;
}

main>#contact>#contact-cont>#contact-cont-in>div>input,
main>#contact>#contact-cont>#contact-cont-in>div>textarea {
    color: white;
    padding: 1.3vmin;
    font-weight: 700;
    background-color: transparent;
    outline: none;
    background-color: rgb(70, 70, 70);
}

main>#contact>#contact-cont>#contact-cont-in>div>input:focus+label,
main>#contact>#contact-cont>#contact-cont-in>div>textarea:focus+label,
main>#contact>#contact-cont>#contact-cont-in>div>input:not(:placeholder-shown)+label,
main>#contact>#contact-cont>#contact-cont-in>div>textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 10px;
    color: aqua;
}

main>#contact>#contact-cont>#contact-cont-in>div>input:focus,
main>#contact>#contact-cont>#contact-cont-in>div>textarea:focus {
    background-color: rgb(49, 49, 49);
}

main>#contact>#contact-cont>#contact-cont-in>div>button {
    color: white;
    background-color: royalblue;
    margin-top: 7px;
    /* border-radius: 10%; */
    transition: 1s;
    font-size: 4vmin;
    cursor: grab;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

main>#contact>#contact-cont>#contact-cont-in>div>button:hover {
    background-color: red;
}

footer>p {
    text-align: center;
    font-size: 2vmin;
    font-weight: bolder;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

@keyframes boy {
    0% {
        bottom: 10%;
    }

    40% {
        bottom: 15%;
    }

    80% {
        bottom: -1%;
    }

    100% {
        bottom: 10%;
    }
}

@media only screen and (max-width: 1300px) {
    main>#home {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-around;
        align-items: center;
    }

    main>#home>article {
        margin-top: 3vmax
    }

    main>#about>#about-btn-cont {
        flex-direction: column;
        margin-left: 0;
    }

    main>#about>#about-btn-cont>div {
        margin-bottom: 10vmin;
    }

    main>#skill>#skill-cont {
        gap: 10vmin;
    }

    main>#skill>#skill-cont>img {
        width: 20vmin;
    }

    main>#contact>#contact-cont {
        flex-direction: column;
    }

    main>#contact>#contact-cont>#contact-cont-img {
        margin-bottom: 5vmin;
    }

    main>#contact>#contact-cont>#contact-cont-img>img {
        margin-bottom: 5vmin;
    }
}