/* Import Oswald Font*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap'); 

/* TOGGLE BUTTON */
.stylebutton {
    position: fixed;
    z-index: 1000;
    bottom: 20px;
    right: 20px;
}

.stylebutton p {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: white;
}

#style-toggle {
    width: 60px;
    height: 34px;
    background-color: #f1c40f;
    border: none;
    border-radius: 34px;
    cursor: pointer;
    position: relative;
}

#style-toggle::before {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #fff;
    border-radius: 50%;
    top: 4px;
    left: 4px;
}

body.dark-mode #style-toggle::before {
    left: 30px;
}

/* Common Header Style */
.header {
    background-color: #272626;
    box-sizing: border-box;
    padding: 10px;
    width: 100%;
    top: 0;
}

.header-nav ul {
    list-style-type: none;
    margin: 0;
    display: flex;
    justify-content: space-around;
}

.header-nav ul li {
    display: inline;
}

.header-nav ul li:hover {
    text-decoration: underline;
}

.header-nav ul li a {
    color: #f1c40f;
    text-decoration: none;
    padding: 10px;
    font-size: 1.75rem;
}

.header-nav ul li a.active {
    border-bottom: 2px solid #f1c40f;
}


/* Landing Page Styles */
body.landingPage {
    font-family: 'Oswald', sans-serif;
    color: #fff;
    background-color: #333;
    margin: 0;
    padding: 0;
}

body.landingPage main {
    text-align: center;
    padding: 50px 20px;
}

.profile-pic img {
    border-radius: 50%;
    border: 5px solid #f1c40f;
    width: 180px;
    height: 180px;
}

.intro h1 {
    font-size: 4.8rem;
    margin: 20px 0;
    color: #f1c40f;
}

.intro p {
    font-size: 2.2rem;
}

body.landingPage .highlight {
    color: white; 
    text-decoration: none;  /* removes underline from the link */
}

body.landingPage .highlight:hover {
    text-decoration: underline;
}

.welcome {
    color: #f1c40f;
    margin-top: 20px;
}

body.landingPage footer {
    background-color: #272626;
    padding: 20px;
    position: fixed;
    box-sizing: border-box;
    width: 100%;
    bottom: 0;
}

body.landingPage .external-links-icons img {
    width: 50px;
    margin: 0 5px;
}

/* Portfolio Styles */
body.portfolio {
    font-family: Oswald, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1c1c1c;
    color: #fff;
}

body.portfolio .portfolio-header {
    text-align: center;
    padding: 50px 20px;
}

body.portfolio .portfolio-header h1 {
    font-size: 3em;
    color: #ffc107;
    margin-bottom: 10px;
}

body.portfolio .portfolio-header p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-item {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    padding: 20px;
}

.portfolio-item a {
    text-decoration: none;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.5;
}

.portfolio-item h2 {
    font-size: 1.5em;
    color: #ffc107;
    margin-bottom: 10px;
}

.portfolio-item p {
    font-size: 1em;
    color: #ccc;
}

/* Qualifications Page Styles */
body.qualifications {
    font-family: Oswald, sans-serif;
    background-color: #2e2e2e;
    color: white;
    margin: 0;
    padding: 0;
}

body.qualifications .container {
    width: 75%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

body.qualifications .title {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ffcc00;
}

body.qualifications .resume-section {
    background-color: #3e3e3e;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

body.qualifications .resume-iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
}

body.qualifications .resume-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

body.qualifications .resume-button {
    background-color: #ffcc00;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

body.qualifications .resume-button:hover {
    background-color: #e6b800;
}

body.qualifications .columns {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

body.qualifications .column {
    width: 45%;
    text-align: left;
}

body.qualifications .column-title {
    font-size: 1.5rem;
    color: #ffcc00;
    margin-bottom: 10px;
}

body.qualifications ul {
    list-style-type: none;
    padding-left: 0;
}

body.qualifications ul li {
    margin-bottom: 15px;
}

body.qualifications .highlight {
    color: white; 
    text-decoration: none;  /* removes underline from the link */
    font-weight: bold;
}

body.qualifications .highlight:hover {
    text-decoration: underline;
}

/* Services Page Styles */
body.services {
    font-family: Oswald, sans-serif;
    margin: 0;
    padding: 0;
    color: white;
}

body.services .services-header {
    background-color: #333;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body.services-header .header-content {
    max-width: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
}

body.services .services-header h1 {
    font-size: 48px;
    margin: 0;
    color: #FFD700;
}

/* Services Content + Background Styling */
body.services .container {
    background: url('pics/service_background.JPG') no-repeat center center fixed;
    background-size: cover;
    padding: 20px;
    padding-bottom: 100px; /* add padding to the bottom to prevent the footer from blccking the content */
}

body.services .content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.6); /* transparent background */
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5); /* shadow effect */
}

body.services .container .services-image {
    display: none; /* hide the image for the first style, only display it for the second style */
}

body.services .content p {
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
    font-size: 1.5rem;
}

body.services .content p:last-child {
    margin-bottom: 0;
}

/* Footer Styling */
body.services .services-footer {
    background-color: #333;
    padding: 25px;
    text-align: center;
    bottom: 0;
    position: fixed;
    box-sizing: border-box;
    width: 100%;
}

body.services .services-footer a {
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
}

body.services .services-footer a:hover {
    text-decoration: underline; /* Adds an underline on hover */
}

/* AI Generated Page Styles */
body.aiGenerated {
    font-family: Oswald, sans-serif;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #333;
}

body.aiGenerated .prompt-box {
    text-align: center;
    color: #f1c40f;
    margin-top: 40px;
    padding-bottom: 40px;
}

body.aiGenerated .text-box {
    border: 2px solid #f1c40f; 
    padding: 10px;
    color: #fff; 
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 5px;
    text-align: left;
}

body.aiGenerated .game-container {
    margin-top: 100px;
    text-align: center;
    color: #f1c40f;
}

body.aiGenerated .board {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 100px);
    grid-template-rows: repeat(3, 100px);
    gap: 5px;
    margin-bottom: 20px;
}

body.aiGenerated .cell {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 2rem;
    cursor: pointer;
}

body.aiGenerated .cell:hover {
    background-color: #e0e0e0;
}

#restart {
    font-family: Oswald, sans-serif;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
}

#message {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #f1c40f;
}
