@import url(light.css);
@import url(dark.css);
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&family=Montserrat:wght@500;700&display=swap');


.background {
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background)
}
.primary  {
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    fill: var(--md-sys-color-on-primary);
}
.secondary {
    background-color: var(--md-sys-color-secondary);
    color: var(--md-sys-color-on-secondary);
}
.tertiary {
    background-color: var(--md-sys-color-tertiary);
    color: var(--md-sys-color-on-tertiary);
}
.surface {
    background-color: var(--md-sys-color-surface);
    color: var(--md-sys-color-on-surface);
}
.primary.container {
    background-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
}
.secondary.container {
    background-color: var(--md-sys-color-secondary-container);
    color: var(--md-sys-color-on-secondary-container);
}

.mirrored {
    transform: scaleX(-1);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
}

button {
    padding: 10px 20px;
    border-radius: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    border-radius: 20px;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

img {
    vertical-align: middle;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger-menu span {
    background-color: var(--md-sys-color-on-surface);
    height: 3px;
    width: 25px;
}
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    .navigation {
        display: none;
    }
    .navigation.hidden {
        display: block;
    }
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: linear-gradient(135deg, var(--md-sys-color-primary-container) 0%, var(--md-sys-color-secondary-container) 100%);
    gap: 20px;
}

.header-text h1, .header-text p {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    margin: 0;
}

.profile-image {
    width: 150px;
    height: 150px;
    border: 4px solid var(--md-sys-color-surface);
    border-radius: 50%;
    object-fit: cover;
    object-position: 80% 20%;
}


nav {
    width: 100%;
    height: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}


nav a {
    color:  var(--link-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

#about .section-content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
}

#about .section-content .introduction {
    flex: 1;
}
.carousell {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 0 20px;
    gap: 20px;
}
.job-list::-webkit-scrollbar {
    width: 0px;
    background: transparent;
    display: none;
}

#experience .section-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

#experience .section-content .job-list {
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    display: flex;
    flex-direction: row;

}
#experience .section-content .job-list .job {
    flex-shrink: 0;
    margin: 0 10%;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(221, 221, 221);
    max-width: 90%;
    box-sizing: border-box;
    scroll-snap-align: center;
}

.carousell-arrow {
    cursor: pointer;
    transition: transform 0.2s ease;
    border: none;
    background-color: transparent;
    font-size: 24px;
    color: var(--md-sys-color-on-surface);
}

.carousell-arrow-left:hover {
    transform: translateX(-5px);
}
.carousell-arrow-right:hover {
    transform: translateX(5px);
}
.carousell-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.indicator {
    width: 10px;
    height: 10px;
    background-color: var(--md-sys-color-outline);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.indicator.active {
    background-color: var(--md-sys-color-primary);
}
.indicator:hover {
    background-color: var(--md-sys-color-secondary);
}


.section-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

section:nth-child(even) {
    background-color: var(--md-sys-color-surface-variant);
    color: var(--md-sys-color-on-surface-variant);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    flex:1;
    align-items: center;
}

.skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(221, 221, 221);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.skill img {
    object-fit: contain;
}

footer {
    background-color: var(--md-sys-color-surface);
    padding: 20px 0;
    border-top: 1px solid var(--md-sys-color-outline);
    text-align: center;
    width: 100%;
    bottom: 0;
}
.contact-buttons  {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.contact-buttons button{
    padding: 5px 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    cursor: pointer;
}
.contact-buttons a{
    text-decoration: none;
}
.contact-buttons img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 80% 20%;
    margin-left: 5px;
}

#theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    background-color: var(--md-sys-color-primary);
    color: var(--md-sys-color-on-primary);
    padding: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    fill: black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

nav a:hover {
    color: var(--md-sys-color-secondary);
    text-decoration: underline;
}
nav a:active {
    font-weight: bold;
}
button:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 768px) {
    .header-content {
        gap: 10px;
    }
    .profile-image {
        width: 100px;
        height: 100px;
    }
    nav {
        flex-wrap: wrap;
    }
    nav a {
        margin: 10px 5px;
    }
}
