html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background-color: #18181b;
    font-size: 20px;
}
:target {
    scroll-margin-top: 45px;
}
a {
    text-decoration: none;
}
header-component {
    position: fixed;
    background-color: #18181b;
    z-index: 9;
}
.header {
    padding: 0px 45px;
    width: calc(100vw - 90px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .logo .label a {
    font-size: 24px;
    color: #fff;
}
.header .navbar ul {
    display: flex;
    gap: 30px;
    list-style: none;
}
.mobile-navbar {
    display: none;
}
.close {
    display: none;
}
header-component[open="1"] .mobile-navbar {
    display: block;
}
header-component[open="1"] .close {
    display: block;
}
header-component[open="1"] .hamburger-menu {
    display: none;
}
.mobile-navbar ul {
    padding-left: 0;
    list-style: none;
}
.mobile-navbar ul li a {
    padding-left: 0;
    margin: 0 1em;
    padding: 1em 0;
    width: calc(100vw - 2em);
    display: block;
    border-top: #9ca3af 2px solid;
}
li a {
    font-size: 14px;
    text-decoration: none;
    color: #9ca3af;
}
.header .navbar li a:hover {
    color: #2563eb;
}
.header .hamburger-menu, .header .close {
    display: none;
    cursor: pointer;
}
.header .hamburger-menu svg, .header .close svg {
    color: #9ca3af;
}
.header .hamburger-menu svg:hover, .header .close svg:hover {
    color: #fff;
}

.button {
    background-color: #2563eb;
    font-size: 20px;
    padding: 16px 32px;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all .5s ease-in-out;
}
.button:hover {
    transform: scale(1.2);

}

.title {
    color: #fff;
    font-size: 36px;
    text-align: center;
    padding: 25px 0;
}
.message {
    text-align: center;
    font-size: 20px;
}

.section {
    min-height: 100svh;
    padding: 0 1em;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
}

/* HERO Section */
.hero {
    height: 100svh;
    padding: 0 1em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.hero .intro {
    font-size: 60px;
    color: #fff;
    text-align: center;
}
.hero .intro .name {
    color: #2563eb;
}
.hero .message {
    max-width: 770px;
}

/* About Me Section */
.about .pic {
    min-height: 250px;
    max-height: 250px;
    width: 250px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.about .pic img {
    zoom: 2;
    transform: translate(7px, -22px);
}
.about .message {
    max-width: 1000px;
    text-align: left;
}

/* Skills Section */
.skills .skills-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.skills .skills-container .row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.skills .skills-container .row .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    width: 70px;
}
.skills .skills-container .row .item img {
    width: 40px;
    height: 40px;
}
.skills .skills-container .row .item .label {
    color: #fff;
}

/* Contact Section */
.contact form {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    color: #9ca3af;
    background-color: #1f2937;
    padding: 1em;
    border-radius: 10px;
    width: 567px;
    gap: 15px;
    margin-bottom: 40px;
}
.contact form input, .contact form textarea {
    background-color: #4b5563;
    padding: 20px;
    border-radius: 10px;
    outline: 2px solid transparent;
    outline-offset: 2px;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}
input::placeholder, textarea::placeholder {
    color: #9ca3af;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}
input:focus {
    outline: none;
}
textarea {
    resize: none;
}
.g-recaptcha {
    margin-top: 15px;
}
form button {
    margin-top: 15px;
    border: none;
}
form button.button:hover {
    transform: none;
}
.success {
    padding: 25px;
    border-radius: 10px;
    background-color: #DFF2BF;
    color: #4F8A10;
    font-size: 16px;
}
.errors {
    padding: 25px;
    border-radius: 10px;
    background-color: #FFBABA;
}
.error {
    color: #D8000C;
    font-size: 16px;
    list-style-type: none;
}

@media only screen and (max-width: 1020px) {
    .header {
        padding: 0.5em 1em;
        width: calc(100vw - 30px);
    }
    .header .hamburger-menu {
        display: block;
    }
    .header .navbar {
        display: none;
    }
    .contact form {
        width: calc(100vw - 2em);
        border-radius: 0;
    }
}
