:root {
    --primary-color: #351d55;
    --secondary-color: #5a3980;
    --background-color: rgb(0, 0, 0);
    --text-color: #d7cbdf;
    --buttons-color: #835fa4 ;

}
html {
        scroll-behavior: smooth;
        scroll-padding: 1rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 10px;
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 7vh;
    overflow-x: hidden;
    z-index: 9;
}

#Logo {
    font-size: 27.7px;
    font-weight: bold;
    width: fit-content;
    z-index: 1000; 
    margin-left: 1vw;
    position:absolute;
    margin-top: 1vh;
}

body {
    background-image: url(images/BackGround.jpg);
    background-size: cover;
    background-color:#5a3980;
    background-repeat: no-repeat;
    font-family: 'League Spartan', sans-serif ;
    overflow-x: hidden;
}

footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
    position: relative;
    top: 75vh;
    width: 100%;
    display: block;
    
}




a {
    background-color: var(--buttons-color);
    color: var(--text-color);
    padding: 10px 20px;
    cursor: pointer;
    font-size: 18.3px;
    border-radius: 30px;
    height: 45px;
    font-weight:799.9;
    text-decoration: none;
}

a:hover {
    background-color: var(--secondary-color);
    color: var(--text-color);
    rotate: 5deg;
}
li {
    float: left; 
    overflow-y: visible;
}
ul {
    list-style: none;
    display: flex;
    gap: 1vw;
    position: relative;
    left: 66vw;
    top: 1vh;

}

header {

    display: flex;
    background-image: url(images/BackGround.jpg);
    background-size: cover;
}

nav a.icon {
    display: none;
    position: fixed;
    top: 0.2vh;
    right: 1vw;

}


@media screen and (max-width: 768px) {
  nav a.menu {display: none;}
    nav a.icon {
        display: block;
        background-color: var(--buttons-color);
        color: var(--text-color);
        border: none;
        padding: 10px;
        cursor: pointer;

  }
}
  @media screen and (max-width: 768px) {
  .navbar.responsive a.icon {
    position: absolute;
    right: 0;
    bottom: 0;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align:justify;
    overflow-y:visible ;
  }
}

.hero-container {
    overflow: hidden;
    height: 100vh;
}


.circle {
    width: 50vw;
    height: 70vh;
    border-radius: 50%;
    background-color: var(--secondary-color);
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}

.cen {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-color);
    font-size: 4rem;
    font-weight: 9999999;
    rotate: -5deg;
}

img.Current {
    width: 27vw;
    height: 55vh;
    rotate: 8deg;

}
img.SnakePad {
    width: 28vw;
    height: 50vh;
    rotate: -8deg;
    position: absolute;
    left: 70vw;
    top: 6vh;
}
img:hover {
    transform: scale(1.1);
    transition: 0.1s;
}
 
.hero-text {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
}
.free {
    position: absolute;
    top: 78%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-color);
    font-size: 2rem;
    font-weight: bold;
    width: 16vw;
    height: 6vh;
    
}

div.about-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--text-color);
    height: auto;

    
    
}

#about-im {
    margin-left: 41.1vw;
    margin-right: 42vw;
    text-align: center;
    align-items: center;
    font-size: 3rem;
    font-weight: bolder;



}

.about-text {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 100%;
    padding: 20px;
    background-color: var(--primary-color);
    border-radius: 20px;
    line-height: 50px;
}

#me {
    text-align: justify;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: bold;
}

.projects-container {
    float: left;
    display: flex;
    flex-wrap: wrap;
    height: 90vh;
}
.contact-container {
    float: left;
    display: flex;
    flex-wrap: wrap;
    height: 90vh;
}

.card {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 20px;
    width: 354px;
    
    margin: 13px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    height: 80vh;
    overflow: hidden;
    align-items: center;
    text-align: center;
    position: relative;
    top: 10vh;
    font-size: 1.5rem;
}

#snakepadimg {
    width: 250px;
   
    border-radius: 10px;
    margin-bottom: 20px;
}

.projects-container p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.contact-container p {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

#SnakePad-Repo {
    height: 10vh;
    cursor: pointer;
    
}

.projects-container a {
    background-color: var(--primary-color);
}

.contact-container a {
    background-color: var(--buttons-color);
}

#findmeimg {
    width: 250px;
    border-radius: 10px;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

@media screen and (max-width: 768px) {
    .projects-container {
        justify-content: center;
        align-items: center;

    }
        .contact-container {
        justify-content: center;
        align-items: center;

    }

    .projects-container p {
       margin-bottom: 0px;
    }
    .contact-container p {
       margin-bottom: 0px;
    }

 footer {
       
        display: none;
    }

    
}

body.projects footer {
    position: relative;
    top: 10vh ;

}


#currentimg {
    width: 300px;
}


#bakep {
    margin-bottom: 45px;
}

