html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: #000000;
    font-size: 25px;
    text-align: center;
}
body h1{
    font-size: clamp(20px, 15vw, 70px);
    font-weight: bolder;
    white-space: wrap;
}
body h1::after{
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background-color: #ffce1b;
    margin: 15px auto -15px;
    border-radius: 999px;
}

.description{
    font-size: 22px;
    flex-wrap: wrap;
    margin: 40px auto 40px auto;
    width: 850px;
    max-width: 85%;
}
    
h2{
    font-size: clamp(25px, 10vw, 50px);
    font-weight: bolder;
    white-space: nowrap;
    padding-top: 25px;
}

h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background-color: #ffce1b;
    margin: 10px auto 0;
    border-radius: 999px;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 25px;

    width: fit-content;
    max-width: 95%;
    margin: 0 auto;

    background-color: #ffce1b;
    border-radius: 15px;

    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);

    z-index: 1000;
}
.navbar ul{
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navbar a{
    display: block;
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none;
    color: black;
    transition: 0.3s ease;
    white-space: nowrap;
}
.navbar a:hover{
    background: #d20a2e;
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 768px){
    .navbar ul {
        gap: 0px;
    }
    .navbar a {
        padding: 10px 10px;
        font-size: 13px;
    }
    .navbar {
        top: 30px;
        position: sticky;
        max-width: 95%;
    }
}
#footer{
    color: #b9b9b9;
    font-size: 20px;
    bottom: 0;
    width: 100%;
}

@media (max-width:768px){
    #footer{
    color: #b9b9b9;
    font-size: 15px;
    }
}

#divder{
    color: #ffce1b;
}

h9{
    margin-right: 15px;
    font-weight: 600;
    font-size: 29px;
}

#main-image{
    width: 1200px;
    max-width: 90%;
    margin-top: 35px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
}
.Card{
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin: 25px auto 0px auto;
    width: 1200px;
    max-width: 90%;
    padding-bottom: 15px;
}

.Card p{
    flex-wrap: wrap;
    margin: 40px auto 40px auto;
    width: 850px;
    max-width: 85%;
}

.gallery-container{
    padding-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.gallery-container p{
    width: 100%;
}
.pictures{
    border-radius: 15px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items:center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width:768px){
    .pictures{
        width: 250px;
    }
}

.links-container{
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
    padding-bottom: 30px;
}

.projectlink{
    text-decoration: none;
    color: #5f5f5f;
    display: flex;
    flex-direction: column; 
    align-items: center;
    transition: 0.3s;
}   
.projectlink img{
    width: 100%;    
    max-width: 120px;     
    height: auto;
    margin-bottom: 8px;
    transition: 0.3s;
}
.projectlink img:hover{
    transform: translateY(-6px); 
}
.projectlink:hover{
    color: #000000;
}