html {
    scroll-behavior: smooth;
}

body {
    color: white;
    margin-top: 100px;
    margin-left: 300px;
    margin-right: 300px;
    background-color: #0B0C15;
    font-family: 'Segoe UI', sans-serif;
}

.navbar {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 10;
    text-align: center;
}

.start {
    text-align: center;
    font-size: 20px;
}

.name {
    font-size: 40px;
    background: linear-gradient(90deg, #FF4DA6, #5D9EFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #FF4DA6;
}

#skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 30px;
    justify-items: center;
    justify-content: center;
}

.image {
    height: 250px;
    width: 250px;
    text-align: center;
}

.skills {
    padding: 2em;
    border: 1px solid white;
    border-radius: 10px;
    background-color: #222429;
    text-align: center;
}

.container {
    padding: 2rem;
}

.slider-wrapper {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
}

.slider {
    display: flex;
    aspect-ratio: 1/1;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
}


.slider img {
    flex: 1 0 100%;
    scroll-snap-align: start;
}

.slider-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.50;
    transition: opacity ease 250ms;
}

.slider-nav a:hover {
    opacity: 1;
}

.gulp {
    padding-top: 75px;
    font-size: 2.5rem;
    background: linear-gradient(90deg, #FF4DA6, #5D9EFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#contacti {
    text-align: center;
    font-size: 1em;
}

.slider2 {
    display: flex;
    aspect-ratio: 1.6/0.9;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
}


.slider2 img {
    flex: 1 0 100%;
    scroll-snap-align: start;
}

.slider2-nav {
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider2-nav a {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.50;
    transition: opacity ease 250ms;
}

.slider2-nav a:hover {
    opacity: 1;
}

.cont-logo {
    text-align: center;
}

#dc {
    max-width: 2.5%;
    max-height: 2.5%;
}

#ml {
    max-width: 2.5%;
    max-height: 2.5%;
}

#about {
    text-align: center;
}

#Pho {
    color: #001833;
    -webkit-text-stroke: 0.05em rgba(0, 24, 51, 0.5);
}

#Ill {
    color: #300000;
    -webkit-text-stroke: 0.05em rgba(48, 0, 0, 0.5);
}

#Ind {
    color: #470019;
    -webkit-text-stroke: 0.05em rgba(71, 0, 25, 0.5);
}

#Inv {
    color: #DAAE03;
    -webkit-text-stroke: 0.05em rgba(218, 174, 3, 0.5);
}

#Blo {
    color: #128DD3;
    -webkit-text-stroke: 0.05em rgba(18, 141, 211, 0.5);
}

#HTM {
    color: #F16524;
    -webkit-text-stroke: 0.05em rgba(241, 101, 36, 0.5);
}

#csss {
    color: #2162AF;
    -webkit-text-stroke: 0.05em rgba(33, 98, 175, 0.5);
}