body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
}

pre, code {
    font-family: 'Courier New', Courier, monospace;
}

.page1{
    min-height: 100vh;
    background-color: #f4f4f4;
}
.page1 h3 {
    color: #333;
    text-align: center;
    margin-top: 20px;
    text-transform: uppercase;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.contain {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
}

.contain a {
    text-decoration: none;
    color: #007BFF;
    margin: 10px;
}

.contain a h1 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    transition: background-color 0.3s, color 0.3s;
}

.contain a h1 {
    position: relative;
    overflow: hidden;
}

.contain a h1::before {
    content: attr(data-content);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    color: #fff;
    background-color: #007bff61;
    overflow: hidden;
    transition: width 0.8s ease;
}

.contain a h1:hover::before {
    width: 100%;
}
.page1 h2{
    color: #444;
    text-align: center;
    font-size: clamp(2rem, 8vw, 5rem);
    margin: 50px auto;
    margin-top: 20vh;
    padding: 10px;
    background-color: #eec4c43e;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.533);
    max-width: 60%;
    overflow: hidden;
    white-space: nowrap;
    border-right: 0.15em solid #444;
    animation: 
        typing 10s steps(40, end) infinite,
        blink-caret 0.70s step-end infinite;
}

@keyframes typing {
    0% { width: 0 }
    40%, 60% { width: 100% }
    100% { width: 0 }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #444 }
}

.contain {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.page2, .page3, .page4, .page5, .page6, .page7 {
    min-height: 100vh;
    background-color: #f4f4f4;
    padding: 20px;
}

.page2 h1, .page3 h1, .page4 h1, .page5 h1, .page6 h1, .page7 h1 {
    color: #444;
    text-align: center;
    font-size: clamp(1.5rem, 5vw, 3rem);
    text-decoration: underline;
    text-decoration-style: double;
    text-underline-offset: 0.2em;
    padding-bottom: 0.1em;
    text-transform: uppercase;
    margin-top: 5vh;
}

.page2 code, .page3 .code-container, .page4 .code-container, .page5 .code-container, .page6 .code-container, .page7 .code-container {
    margin-top: 5vh;
    margin-left: 5%;
    width: 90%;
    font-size: clamp(1rem, 3vw, 2rem);
    color: #26802c;
    font-weight: bold;
    margin-bottom: 5vh;
    overflow-x: auto;
}

.page2 p, .page3 p, .page4 p, .page5 p, .page6 p, .page7 p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-left: 5%;
    width: 90%;
}

.page2 h2, .page3 h2, .page4 h2, .page5 h2, .page6 h2, .page7 h2 {
    color: #007BFF;
    text-align: center;
    font-size: clamp(1.2rem, 4vw, 2rem);
}

.page2 .explanation, .page3 .explanation, .page4 .explanation, .page5 .explanation, .page6 .explanation, .page7 .explanation {
    margin-left: 3%;
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1rem, 3vw, 2rem);
}

.explanation h3 {
    color: #cc0000fe;
    font-size: clamp(1.2rem, 3vw, 2rem);
}

.page3 h4, .page4 h4, .page5 h4, .page6 h4, .page7 h4 {
    margin-left: 2%;
    font-size: clamp(1rem, 2vw, 1.5rem);
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    font-family: 'Open Sans', sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    margin: 0 20px 20px;
    min-width: 200px;
    transition: transform 0.3s ease;
}

.footer-section:hover {
    transform: translateY(-5px);
}

.footer-section h3 {
    color: #007BFF;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 15px;
}

.footer-section p {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

.footer-section.links ul {
    list-style-type: none;
    padding: 0;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #007BFF;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.footer-section.links ul li a:hover {
    background-color: #0056b3;
    transform: scale(1.1) rotate(-5deg);
}

.footer-section.links ul li a:active {
    transform: scale(0.95) rotate(5deg);
}

@keyframes quack {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

.footer-section.links ul li a:hover {
    animation: quack 0.3s ease-in-out;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #555;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
}

    .lock-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0, 0, 0);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .lock-icon {
        font-size: 5rem;
        color: #fff;
        margin-bottom: 2rem;
    }

    #password-input {
        padding: 10px;
        font-size: 1rem;
        margin-bottom: 1rem;
        width: 200px;
        border: none;
        border-radius: 5px;
    }

    #unlock-button {
        padding: 10px 20px;
        font-size: 1rem;
        background-color: #4CAF50;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
    }

    #unlock-button:hover {
        background-color: #45a049;
    }



@media screen and (max-width: 1054px) {
    .page1 h2{
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }

.page2 code {
    display: block;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
    font-size: clamp(0.8rem, 2vw, 1rem);
    line-height: 1.5;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 5px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .page2 code {
        font-size: 0.9rem;
        padding: 10px;
    }
}
.page1 h2{
    width: 90%;
}
body {
    font-size: 18px; /* Increase the base font size */
}

h1 {
    font-size: 2.5em; /* Larger headings */
    transition: transform 0.3s ease;
}

h2 {
    font-size: 2em;
    transition: transform 0.3s ease;
}

h3 {
    font-size: 1.75em;
    transition: transform 0.3s ease;
}

p, li, a {
    font-size: 1.1em; /* Slightly larger body text */
    transition: transform 0.3s ease;
}

.contain a h1 {
    font-size: clamp(1.2rem, 3.5vw, 1.8rem); /* Larger font size for navigation items */
    transition: transform 0.3s ease;
}

h1:hover, h2:hover, h3:hover, p:hover, li:hover, a:hover, .contain a h1:hover {
    transform: scale(1.05); /* Slight increase in size on hover */
}

@media (max-width: 768px) {
    body {
        font-size: 16px; /* Slightly smaller base size for mobile, but still larger than default */
    }
}

}
