html{
    scroll-behavior: smooth;
}


body {
    background-color: #f1f5f9; 
    color: #1e293b;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.Nav-Container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: gray;
    border-radius: 50px;
    margin: 40px;
    padding: 25px;
    margin-bottom: 130px;
    box-shadow: 0px 2px 5px black;
    background-color: #0f172a;
}

.Imagery{
    width: 12%;
}


.Navlist{
    display: flex;
    gap: 30px;
    list-style: none; 
}

.Navlist a{
    font-size: 20px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
    padding: 10px;
    border-radius: 15px;
}

.Navlist a:hover{
    color: black;
    background-color: aliceblue;
}

.Navbar-toggle{
    background: transparent;
    display: none;
    padding: auto;
    border: none;
    cursor: pointer;
}

.bar{
    display: block;
    width: 20px;
    height: 3px;
    margin: 5px auto;
    background: #fff;
    transition: all 0.3s ease-in-out;
    margin-top: 3px;
}


button{
    margin-top: 20px;
    padding: 7px 20px;
    border: none;
    border-radius: 8px;
    background-color: #333;
    color: white;
    cursor: pointer;
    font-size: 13px;
    margin-top: -3px;
}

.dark-mode{
    background-color: #121212;
    color: white;
}

.dark-mode button{
    background-color: white;
    color: black;
}


.Contact-Container{
    display: flex;
    justify-content:center;
    width: 90%;
    height: 80vh;
    padding: 60px;
    margin: 80px;
}

.Title{
    font-size: 70px;
    font-family:Georgia, Times, 'Times New Roman', serif;
    margin-bottom: 10px;
    margin-left: 70px;
}

.Title span{
    color: rgb(226, 5, 226);
    background-image: -webkit-linear-gradient(blue,rgb(206, 3, 206));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.Contact-details p{
    font-size: 20px;
    font-family:cursive;
    font-weight: 400;
    margin-bottom: 20px;
    margin-left: 70px;
}

#menu-btn{
    display:none;
    font-size:30px;
    cursor:pointer;
    color:white;
}

.image{
    width: 110%;
    border-radius: 30px;
    box-shadow: 0px 5px 10px black;
    margin-top: -30px;
    margin-left: -50px;
}

.Skill{
    text-align: center;
    font-size: 40px;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin-bottom: 20px;
}

.flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.flex button{
    padding: 10px;
    border: none;
    border-radius: 20px;
    background-color: rgba(254, 254, 254, 0.71);
    color: black;
    font-weight: 550;
    transition: 0.3s;
    cursor: pointer;
    margin-bottom: 100px;
}

.flex button:hover{
   background-color: rgb(232, 232, 232);
}

.message{
    background-color:white;
    padding: 50px;
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    margin-left: 70px;
}

.send{
    color: black;
    margin-bottom: 30px;
}

label{
    display: block;
    margin-bottom: 10px;
    color: black;
    font-weight: bold;
}

.input{
    display: block;
    margin-bottom: 15px;
    width: 100%;
    padding: 5px;
    border: 1px solid black;
    outline: none;
    border-radius: 5px;
}

.space{
    width: 100%;
    padding: 30px;
    border: 1px solid black;
    outline: none;
}

.Me{
    display: inline-block;
    font-weight: bold;
    width: 100%;
    margin-top: 20px;
    padding: 20px;
    background-color: #38bdf8;
    color: white;
    transition: 1s;
}

.Me:hover,
.Me:active{
    transform: scale(0.98);
    background-color: #4f46e5;
}

#Meni{
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
}



.Contact-Container .act{
    width: 170%;
    margin-left: -50px;
    border-radius: 30px;
    box-shadow: 0px 10px 10px black;
}

.Footer-Container {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.Footer-Top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.Footer-Brand {
    max-width: 260px;
}

.Footer-Logo {
    width: 80px;
    margin-left: -18px;
    margin-bottom: 12px;
}

.Footer-Brand p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}

.Footer-Links h4,
.Footer-Contact h4 {
    color: #f1f5f9;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.Footer-Links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.Footer-Links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.Footer-Links a:hover {
    color: #38bdf8;
}

.Footer-Contact p {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.Footer-Email {
    display: inline-block;
    margin-top: 10px;
    color: #38bdf8;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.Footer-Email:hover {
    opacity: 0.75;
}

.Footer-Bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 24px;
    font-size: 13px;
    color: #64748b;
}

.Footer-Socials {
    display: flex;
    gap: 20px;
}

.Footer-Socials a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.Footer-Socials a:hover {
    color: #38bdf8;
}





@media (max-width: 768px) {

    .Navlist{
        position:fixed;
        top:0;
        right:-100%;
        width:200px;
        height:40vh;
        background:#0f172a;
        flex-direction: column;
        gap:30px;
        transition:0.5s;
        padding:30px;
        margin-top: 90px;
    }

    #menu-btn{
        display:block;
    }


    .Nav-Container{
     width: 100%;
     padding: 50px;
     border-radius: 30px;
     margin-left: 2px;
     margin-top: 8px;
    }

  

    .Navlist.active{
        right:0;
    }

    .Navlist li{
        list-style:none;
    }

    .Navlist li a{
        text-decoration:none;
        font-size:20px;
    }

    .Imagery{
        width: 40%;
        margin-left: -35px;
    }

    .Contact-Container{
    display: flex;
    flex-direction:column;
    margin-top: 250px;
    padding:0 20px;
    gap:30px;
    margin-left: 25px;
    height: 100vh;
    margin-bottom: 450px;
}

.image{
    width:300px;
    margin-top: 150px;
    margin-left: -5px;
}

.Contact-details{
    width:100%;
    margin-left: 7px;
}

.Title{
    font-size:1.5rem;
    margin-left: 5px;
}

.Title span{
    display:block;
}

.Contact-details p{
    font-size:20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height:1.8;
    margin-left: 5px;
}
  

    .Skill{
        font-size: 30px;
        text-align: center;
        font-family: Georgia, 'Times New Roman', Times, serif;
        margin-bottom: 70px;
        justify-content: center;
    }

    .flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 100px;
}

.flex button{
    margin: 0;
    padding: 12px 20px;
}

    .message{
        margin-left: 20px;
        width: 90%;
    }
}