/* Generic CSS */
body{
    margin: 0%;
    padding: 0%;
    height: 100vh;
    background-color: #0a0a0a;
    background: 
        radial-gradient(circle at 1px 1px, #1f1f1f 1px, transparent 0),
        #0a0a0a;
    background-size: 20px 20px;
    width: auto;
}
header{
    background-color: #111111;
    width: 100%;
    height: auto;
}
.logo{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bolder;
    margin-left: 10px;
}
nav ul{
    list-style:none;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1em;   
}
nav ul li{
    margin: 5px;
}
nav a{
    text-decoration: none;
    color: rgb(69, 135, 69);
    transition: 0.3s;
    display: inline-block;
}
nav a:hover{
    text-decoration: underline;
    color: rgb(81, 228, 81);
    text-shadow: 0 0 8px rgb(81,228,81);
    transform: scale(1.1);
    border: 1px dashed wheat;
    border-radius: 20px;
    padding: 5px;
}

nav .active{
    color: rgb(187, 21, 33);
    text-decoration:underline rgb(69, 135, 69);
    text-underline-offset: 4px;

}
nav .active:hover{
    text-decoration: underline rgb(187, 21, 33);
    color: rgb(81, 228, 81);
    text-shadow: 0 0 8px rgb(81,228,81);
}

p{
    /* color: rgb(216, 172, 88); */
    color: rgb(200, 255, 200);
    font-size: 1em;
}
h2{
    color: white;
    /* text-shadow: cadetblue 0 0 8px; */
    border: solid 2px wheat;
    width: fit-content;
    padding: 5px;
    margin-left: 45%;
    border-radius: 20px;
    animation: slide 1.4s ease-in-out forwards;
}
@keyframes slide{
    0%{
        transform: translateX(-70vw);
    }
    90%{
        transform: translateX(-20vw);
    }
    100%{
        transform: translateX(-40vw);
        text-shadow: 0 0 35px rgb(52, 187, 245);
    }
}
.plist{
    width: 100%;
    background-color: #1f1f1f;
    display: flex;
}

.plist ul {
    display: flex;
    gap: 15px;
    list-style: none;
}

.plist button {
    background: transparent;
    border: 1px solid rgb(81,228,81);
    color: rgb(81,228,81);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.plist button:hover {
    background: rgb(81,228,81);
    color: black;
    box-shadow: 0 0 10px rgb(81,228,81);
}

.plist button.active {
    background: rgb(81,228,81);
    color: black;
    font-family: cursive;
}

.project-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 450px;
}

.project-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 40px auto;
    min-width: 20em;
    max-width: 40em;
    min-height: 20em;
    max-height: 40em;
    background: #111;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(81, 228, 81, 0.1);
    border-left: 4px solid rgb(81, 228, 81);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: 0.5s ease-in-out;
}
.project-section.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.project-section.active:hover{
    transform: scale(1.01);
    box-shadow: 4px 0 15px rgb(81, 228, 81);
}
.project-section:not(.active){
    transition: 0s ease;
}
.left{
    width: 55%;
}

.left a {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;

    color: rgb(81, 228, 81);
    text-decoration: none;
    border: 1px solid rgb(81, 228, 81);
    border-radius: 20px;

    transition: 0.3s ease;
}

.left a:hover {
    background: rgb(81, 228, 81);
    color: black;
    box-shadow: 0 0 10px rgb(81, 228, 81);
    transform: scale(1.05);
}

.left a:active {
    transform: scale(0.95);
}

.left ul li {
    color: rgb(200,255,200);
    margin: 5px 0;
    transition: 0.3s;
}
.left ul li:hover {
    color: rgb(81,228,81);
    transform: translateX(5px);
}
.right{
    width: 40%;
}
.right img{
    width: 100%;
    box-shadow: 0 0 15px rgba(81, 228, 81, 0.2);
    transition:0.3s;
    border-radius: 15px;
}
.right img:hover{
    transform: scale(1.05);
}

h3{
    color: wheat;
    text-align: center;
}
.copyright{
    color: white;
    text-align: end;
    justify-self: end;
    width: fit-content;
    border: white 1px solid;
    font-size: 0.8em;
}