@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color:#131e2a;
    font-family: "Poppins", sans-serif;
    transition: all 1s;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #71b6d5;
}

::-webkit-scrollbar-thumb {
    background: #71b6d5;
}

::-webkit-scrollbar-thumb:hover {
    background: #08171e;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #08171e;
}

nav h2 {
    color: hsl(200, 66%, 64%);
    font-size: 20px;
}

nav img:hover {
    cursor: pointer;
}

/* Home section */
.home {
    height: 50vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
}

.home h1 {
    font-size: 2.5rem;
    color: #71b6d5;
}

.home p {
    color: white;
    margin-top: 10px;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.flex button {
    padding: 10px 14px;
    cursor: pointer;
    border-radius: 10px;
}

button a {
    text-decoration: none;
}

.cv-btn {
    background-color: transparent;
    border: 2px solid hsl(200, 66%, 64%);;
}

#cv-btn {
    color: #71b6d5;
}

.cv {
    font-size: 18px;
    color: #71b6d5;
}

.about-btn {
    font-size: 18px;
    background-color: #71b6d5;
    border: transparent;
}

.about-a {
    color: hsl(269, 92%, 25%);
}

/* About section */
.about {
    width: 100vw;
    padding: 20px;
    text-align: center;
}

.about p {
    color: white;
    letter-spacing: 2px;
    font-size: 20px;
}

.about h2 {
    color:#71b6d5;
}

.about-flex {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.about-flex img {
    border-radius: 20px;
    max-width: 100%;
    height: auto;
}

.box {
    width: 200px;
    height: 120px;
    border: transparent;
    border-radius: 10px;
    background-color: #096b90;
    margin: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box h3 {
    color: white;
}

.box p {
    color: grey;
}

/* Skills section */
.skills {
    width: 100vw;
    padding: 20px;
    text-align: center;
}

.skills h2 {
    color: hsl(200, 38%, 15%);
}

.skills-flex {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skills-box {
    width: 30vw;
    max-width: 100%;
    height: auto;
    border: transparent;
    background-color: #096b90;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin: 20px 0;
}

.skills-h {
    color:#71b6d5;
}

.skills-flex-front {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skills-flex-front h3 {
    color: white;
    margin-top: 20px;
}

.dark-mode{
    background-color: white;
}

/* Navigation options */
.options {
    width: 25vw;
    height: 50px;
    border: transparent;
    background-color:#096b90;
    position: fixed;
    bottom: 40px;
    border-radius: 40px;
    left: 50%;
    transform: translate(-50%, 50%);
}

i {
    position: relative;
    top: 1px;
    left: 0px;
}

.circle {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    background-color: #71b6d5;
}

/* Project section */
.projects {
    width: 100vw;
    padding: 20px;
}

.projects h1 {
    font-size: 1.5rem;
    color: #71b6d5;
    text-align: center;
}

.project-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project-flex .project-box {
    width: 400px;
    height: auto;
    background-color: #096b90;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.project-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.flex-demo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 10px;
}

.flex-demo p {
    color: white;
    text-align: center;
}

.flex-demo button {
    background-color: #71b6d5;
    border: transparent;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    
}

.flex-demo button a {
    color: white;
    text-decoration: none;
}

.flex-demo p + p {
    font-size: 0.875rem;
}

/* Contact me */
.contactme {
    width: 100vw;
    padding: 20px;
    text-align: center;
}

.contactme h1 {
    color: #71b6d5;
}

.contactme form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.contactme input,
.contactme textarea {
    padding: 10px 14px;
    border: 2px solid white;
    background-color: #a1ccdc;
    color: white;
    border-radius: 10px;
}

.contactme textarea {
    width: 70%;
    height: 150px;
}

.contactme input::placeholder,
.contactme textarea::placeholder {
    color: white;
}

.contactme form button {
    background-color:#a1ccdc;
    border: transparent;
    padding: 10px 14px;
    cursor: pointer;
    color: white;
    border-radius: 10px;
}
#sec2h{
    color: #53b1dd;
}

/* Footer */
footer {
    width: 100vw;
    height: auto;
    background-color: #a1ccdc;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

footer h1 {
    color: #08171e;
}

footer p {
    text-align: center;
    margin-top: 20px;
}

footer .flex-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

footer .flex-footer .flex {
    display: flex;
    gap: 10px;
}

footer .flex-footer .flex a {
    color:#08171e;
    font-size: 36px;
}

.options .circle a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .home h1 {
        font-size: 2rem;
    }

    .projects .project-box {
        width: 90%;
    }

    .contactme textarea {
        width: 90%;
    }

    .contactme input {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .home {
        padding: 10px;
    }

    .options {
        width: 90vw;
        height: 40px;
    }

    .circle {
        height: 24px;
        width: 24px;
    }

    i {
        font-size: 18px;
    }

    .about-flex {
        flex-direction: column;
    }

    .skills-flex {
        flex-direction: column;
    }

    .projects .project-box {
        width: 100%;
    }

    .project-flex {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .home h1 {
        font-size: 1.5rem;
    }

    .about p {
        font-size: 16px;
    }

    .skills-box {
        width: 80%;
    }

    .project-box {
        width: 100%;
    }

    .options {
        width: 100vw;
    }

    .circle {
        height: 20px;
        width: 20px;
    }

    i {
        font-size: 16px;
    }
}
