*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: white;
    /*background-color: #978e9e;*/
    /*background-color: #778899;*/
}

.header{
    width: 100%;
    
    position: relative;
    
    
}


nav{
    display: flex;
    padding: 2% 4%;
    justify-content: space-between;
    align-items:center;
    background-color: black;
    
}

nav img{
    width: 150px;
}

.nav-links{
    flex: 1;
    text-align: right;
    background-color: black;
}
.nav-links ul {
    background-color: black;
    
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    background-color: black;
    
}



.basic-info img {
    display: inline;
    margin: 0 auto;
    height: auto;
    max-width: 100%;
    padding-top: 50px;
}

.basic-info{
    width: 90%;
    color: black;
    top: 50%;
    left: 50%;
    text-align: center;
    margin:auto;
}
.basic-info h1{
    font-size: 62px;
}

.basic-info p{
    color: black;
    max-width: 50%;
    margin: 0 auto;
}

.about-info{
    width: 90%;
    color: black;
    top: 50%;
    left: 50%;
    text-align: center;
    margin: auto;
    padding-top: 50px;
}
.about-info h1{
    font-size: 62px;
}

.about-info p{
    color: black;
    text-align: left;
    max-width: 50%;
    margin: 0 auto;
    overflow: auto;
    padding-top: 1em;
}
.tab {
    display: inline-block;
    margin-left: 4em;
}
.nav-links ul li a{
    color: black;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after{
    content: '';
    width: 0;
    height: 2px;
    background: #4B0082;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid #4B0082;
    padding: 12px 34px;
    font-size: 13px;
    position: relative;
    cursor: pointer;
}
.hero-btn-current{
    display: inline-block;
    text-decoration: none;
    color: black;
    border: 1px solid #4B0082;
    padding: 12px 34px;
    font-size: 13px;
    background: #6c6377;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #9c84b0;
    background: #6c6377;
    transition: 1s;
}

nav .fa-solid{
    display: none;
}


/*------ Skill ------*/
.skill{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.skill p{
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

.skill-level{
    flex-basis: 31%;
    border-color: black;
    border-radius: 15px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    border-right-style: inset;
    border-bottom-style: inset;
    border-top-style: hidden;
}
.Beginner, .Beginner p, .Beginner h3{
    background-color: #CEACF9;
    color: white;
}

.Intermediate, .Intermediate h3, .Intermediate p{
    background-color:#AF72FD;
    color: white;
}

.Advance, .Advance h3, .Advance p{
    background-color: #903AFE;
    color: white;
}

.skill-level:hover{
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.4);
}


/*----Blog----*/
.portfolio{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.portfolio-pages{
    width:98%;
    margin: 1%;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Three equal columns */
    gap: 20px; /* Spacing between panels */
}

.portfolio-panel {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black; /* Ensure text readability */
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc; /* Optional for a border effect */
    border-radius: 8px; /* Optional for rounded corners */
    transition: 0.3s ease;
    text-decoration: none;
}

.portfolio-panel:hover {
    color: rgb(62, 62, 62);
}

/*Individual Portfolio Panel Modifications*/
/*#idle_mech_mercenaries_panel {
    color: black;
}
#idle_mech_mercenaries_panel:hover {
    color: rgba(255,255,255,0);
}*/

a:hover{
    color: #4B0082;
}

.retrospective{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.retrospective p{
    text-align: left;
    max-width: 50%;
    margin: 0 auto;
    overflow: auto;
    padding-top: 1em;
}

.retrospective_centered {
    text-align : center;
}


/*-------call to action-----------*/

.cta{
    margin: 100px auto;
    width: 80%;
    border-radius: 10px;
    text-align: center;
}
.cta h1{
    margin-bottom: 40px;
    padding: 0;
}
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
    width: 100%; /* Full width */
    padding: 12px; /* Some padding */
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    margin-top: 6px; /* Add a top margin */
    margin-bottom: 16px; /* Bottom margin */
    resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* When moving the mouse over the submit button, add a brighter green color */
input[type=submit]:hover {
    background-color: #2FFD53;
}


/*-------footer-----------*/

.footer{
    text-align: center;
    position: absolute;
    height: 50px;
    width: 100%;
    padding: 30px 0;
}

@media only screen and (max-width: 768px) {
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
        background-color: black;
    }
    .fa-solid{
        background-color: white;
    }
    .nav-links{
        position: absolute;
        background: black;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa-solid{
        display: block;
        color: white;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
        background-color: black;
    }
    .row{
        flex-direction: column;
    }
    .fa-solid {
        background-color: black;
    }
    .cta h1{
        font-size: 24px;
    }

    .about-info p{
        max-width: 75%;
    }
    .retrospective p{
        max-width: 75%;
        
    }

}
