html {
   height: 100%;
}

body {
   min-height: 100%;
}

body {
    background: #000;
    font-family: "Lucida Console", Courier, monospace;
    color: #fff;
    height: 100%;
    margin: 0px;
}

.content-container {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 60px); /* Subtract the header height */
    height: 100vh;
}

main {
    flex: 1;
}

a {
    color: #fff;
}

a:hover {
    color: teal;
}

.heading {
    top: 120px;
    position: relative;
    text-align: center;
}


div.title {
    position: absolute;
    margin-left: 10%;
    top: 30%;
    z-index: 1;
    opacity: 0;
    transition: opacity 2s;
    -webkit-transition: opacity 2s;
    height: auto;
    user-select: none;
}

#graph-container {
    opacity: 0;
    -webkit-transition: opacity 2s;
    transition: opacity 2s;
}

p.title {
    font-size: 40pt;
    margin-bottom: 10px
}

div.center {
    position: absolute;
    margin: auto;
    top: 45%;
    left: 35%;
    width: 30%;
    border: 3px solid white;
    padding: 10px;
}

div p {
    text-align: center;
}

#egg {
    color: teal;
    position: absolute;
    z-index: 1000;
    display: block;
    font-size: 10px;
    transition: visibility 1s linear, opacity 1s ease-out
}

h3.subhead {
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
}

/* Sections */

content-card:first-of-type section {
    border-radius: 25px 25px 0px 0px;
}

content-card:last-of-type section {
    border-radius: 0px 0px 25px 25px;
    margin-bottom: 100px;
}

content-card:nth-of-type(odd) section {
    flex-direction: row-reverse;
}

content-card section {
    min-height: 300px;
    padding: 50px;
    padding-left: 10%;
    margin: 25px;
    margin-bottom: 0;
    margin-top: 0;
    border-style: none none solid none;
    display: flex;
}

section h2 {
    text-align: center;
    margin-top: 0px;
}

content-card:nth-of-type(even) section {
    background-color: #8080802e;
}

content-card:nth-child(even) section>div.image {
    width: 50%
}

content-card:nth-child(even) section>div.text{
    padding-left: 40px;
    float: right;
    width: 50%
}

content-card:nth-child(even) section>img {
    float: left;
}


content-card:nth-child(odd) section {
    background-color: #c3daff30;
}

content-card:nth-child(odd) section>div {
    float: left;
    width: 50%
}

section>div {
    display: grid;
    align-content: center;
}

section.b>img {}

content-card:nth-child(odd) section>div.text {
    padding-right: 40px
}

section img {
    max-width: 100%;
}
/* Contact */

textarea:focus,
input:focus {
    outline: none;
}

ul li.contact {
    list-style: none;
    margin: 0px;
    padding: 0px;
}

ul li.contact>* {
    font-size: 14px;
    font-family: fontawesome, monospace;
}

h1.contact {
    font-weight: 800;
    text-transform: uppercase;
    /* color: #7a00ff; */
    font-size: 32px;
    width: 200px;
    text-align: center;
    margin: 30px 100px;
}

ul.contact {
    display: inline-block;
    margin: 0px;
    ;
    padding: 0px;
}

#contact {
    background: #18181c;
    position: relative;
    width: 400px;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .1);
    z-index: 700
}

.js #contact {
    position: absolute;
    top: 3em;
    display: none;
    right: 15px;
}

input {
    border: 0;
    margin: 1em 40px;
    width: 300px;
    padding: 10px;
    border-bottom: 2px solid white;
    background: none;
    /* font-family: 'Fontawesome', 'Source Sans Pro', sans-serif; */
    display: block;
    color: white;
}

textarea {
    border: 0;
    width: 300px;
    height: 100px;
    display: block;
    margin-left: 40px;
    background: none;
    padding: 10px;
    /* font-family: 'Fontawesome', 'Source Sans Pro', sans-serif; */
    border-bottom: 2px solid white;
    color: white;
}

#submit {
    margin: 3em auto 4em;
    border: 2px solid teal;
    color: teal;
}

#submit:hover {
    color: #fff;
}

.btn {
    background: white;
    border: 2px solid #252525;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    margin: 15em auto;
    padding: 1.2em 2em;
    color: #212121;
    /* font-family: 'Open Sans'; */
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: ease all .3s;
    display: block;
    position: relative;
}

.btn:hover {
    background: teal;
    color: #fff;
    border:
        teal solid 2px;
}

.btn:active {
    background: #3333aa;
    color: #fff;
    border: #3333aa solid 2px;
}

.close {
    position: absolute;
    right: 20px;
    top: -10px;
    cursor: pointer;
    font-weight: 400;
    font-size: 3em;
    color: #ee4444;
}

#typer {
    /* color: bisque; */
    width: fit-content;
    position: absolute;
    text-align: left;
    /* font-family: opens sans helvetica; */
    font-size: 25px;
    font-weight: 600;
    white-space: pre;
}

.typeit-special {
    color: teal
}

/* Mobile screen */
@media screen and (max-width: 767px) {
    /* Adjust the font size for mobile devices */
    body {
        font-size: 14px;
    }

    /* Adjust header height and logo size */
    header {
        height: 50px;
    }

    .logo {
        height: 15px;
    }

    /* Adjust the navigation menu size and layout */
    nav {
        font-size: 16px;
    }

    /* Adjust the title size and layout */
    p.title {
        font-size: 30pt;
        margin-bottom: 5px;
    }

    /* Adjust the section layout and image size */
    div.section {
        flex-direction: column;
        padding: 25px;
        padding-left: 5%;
    }

    div.section img {
        max-width: 100%;
        height: auto;
    }

    div.section.a>div.image {
        width: 100%;
    }

    div.section.a>div.text {
        padding-left: 0;
        float: none;
        width: 100%;
    }

    div.section.b>div {
        float: none;
        width: 100%;
    }

    div.section.b>div.text {
        padding-right: 0;
    }

    /* Adjust the contact form layout */
    #contact {
        width: 100%;
    }

    input, textarea {
        margin: 1em 20px;
        width: calc(100% - 40px);
    }
    /* textarea { */
    /*     width: 250px; */
    /* } */

    /* input { */
    /*     width: 250px; */
    /* } */
}
