* {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    background-image: url('assets/circuitry3.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}


#container {
    /* padding-bottom: 40vh; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; 
    width: 100%;
    margin: 0;
    background-image: none;
    background-color: rgba(0, 0, 0, 0.7);
}
.header-text {
    font-size: 2rem;
    margin: 0;
    max-width: 100%;
    color: white;
    font-family: monospace;
    text-align: start;
    /* letter-spacing: 1em; */
}


#about-me-header {
    font-weight: 700;
    font-size: 4rem;
    margin: 1.5rem;
    padding: 2rem;
    border: 1px solid black;
    /* letter-spacing: 0.75em; */

}

.about-me-content {
    font-size: 1.5rem;
    max-width: 80%;
    text-align: start;
    margin: 0;
}

.breaker {
    margin: 1rem;
    font-size: 30px;
    text-align: center;
}


#header {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    background-color: black;
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
    padding: 3rem 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
}
#links {
    margin: 7rem;
}
#logo-main {
    max-width: 30rem;
}

.subtitles{ 
    color: white;
    font-size: 45px;
    margin: 10px 0;
}

.button {
    width: 25rem;
    height: 8rem;
    margin: 3rem 0;
    

}
.button:hover {
    transform: scale(1.05);
    transition: 0.3 ease all;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#scuttle-content-block{
    background-color: white;
}
#about-me {
    text-align: center;
    background-color: rgba(200, 200, 200, 0.8);
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    margin-bottom: 3rem;
    border-radius: 20px;
    padding: 5em 0;
    width: 80%;
    line-height: 4em;
}

h1 {
font-size: 1rem;
margin: 0;
text-align: center;
}



.all-text {
font-family: 'monospace', 'Lucida Console', 'Courier New';
overflow: visible;
}
.content {
display: flex;
flex-direction: column;
align-items: center;
max-width: 85vw;
margin: auto;
}

.divider {
height: 4px;
background-color: white;
width: 80vw;
margin: 2rem;
}

a {
    color: inherit;
    text-decoration: none;
}
.in-dev {
    background-color: white;
    color: black;
    width: 100vw;
    font-weight: 800;
    font-size: 38px;
    text-align: center;
}

#subdiv {
    width:90vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.section-header {
    color: white;
    font-size: 70px;
    letter-spacing: 0.5em;
    margin: 2em;
    border: 1px solid white;
    padding: 1em;
}

.link-button {
    color: white;
    height: 1000px;
    width: 55%;
    border: none;
    border-radius: 20px;
    background-color: grey;
    margin: 1rem;
    font-size: 2rem;
    font-weight: 600;
    padding: 2rem;
    display: flex;
    overflow-y: hidden;
}

.cert-link {
    color: white;
    height: auto;
    width: 100%;
    border: none;
    border-radius: 20px;
    background-color: grey;
    margin: 1rem;
    font-size: 2rem;
    font-weight: 600;
    padding: 2rem;
    display: flex;
    overflow-y: hidden;
}

.link-button:hover {
    cursor: pointer;
    
}

.react-game {
    width: 60%;
    height: 100%;
    margin: 1rem;
}

iframe {
    height: 100%;
    /* overflow-y: hidden; */
    width: 100%;
    border: none;
    overflow-y: hidden;
    border-radius: 20px;
}

.cert {
    width: 100%
}

.about-site {
    width: 35%;
    height: auto;
    margin: 1rem;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-site-border {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2em;
    border: 2px solid white;
    line-height: 2.4em;
    background-color: rgba(100, 100, 100, 0.8)
}

.about-site-border > h2{
    font-size: 40px;
    margin-bottom: 1em;
    border-bottom: 3px solid white;
    min-height: fit-content;
}

#react-section-header {
    width: fit-content;
    margin: 7rem auto;
}

.site-container {
    width: 100%;
    display: flex;
    height: auto;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    z-index: 1000;
  }

#link-buttons-div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 100vw;
    min-height: 60vh;
    padding: 2rem;
}

.contact-field {
    font-size: 3.7rem;
}
#contact-info-div {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    margin: auto;
}
.contact-info {
    height: 4rem;
    margin: 2rem;
    background-color: rgba(0, 0, 0, 0);
    padding: 1rem;
    color: white;
    font-size: 1.6rem;
}
.contact-header {
    height: 4rem;
    margin: 2rem;
    background-color: rgba(0, 0, 0, 0);
    padding: 1rem;
    color: white;
    font-size: 2rem;
    margin-bottom: 4rem;
}

.indented-one {
    margin-left: 2em;
}

.indented-two {
    margin-left: 4em;
}

.code {
    background-color: grey;
    border-radius: 30px;
    padding: 1em;
    border: 3px solid white;
    width: 90%;
}

.nav-button {
    height: 3em;
    width: 8em;
    border: 1px solid white;
    /* margin: 2em; */
    margin: 1.2em;
    margin-bottom: 0;
    color: white;
    font-size: 30px;
    background-color: rgba(0, 0, 0, 0); 
}

.nav-button:hover {
    cursor: pointer;
    color: green;
    border: 2px solid green;
}

#navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
    margin: auto;
    flex-wrap: wrap;
}


  html {
    scroll-behavior: smooth;
}

.slideUp {
    overflow: hidden;
    visibility: hidden;
}
.slideDown {
    overflow: hidden;
    visibility: hidden;
}

.animate__slideInUp {
    overflow: hidden;
}

#project-1, #project-3 {
    display: flex;
    flex-direction: row-reverse;
}

#skuttlebucket-img {
    display: none;
}


@media screen and (min-width: 768px) {
    .contact-header {
        font-size: 4rem;

    }
    .contact-info {
        font-size: 3rem;
    }
}

#skuttlebucket-img {
    display: none;
}


@media screen and (max-width: 1450px) {

    .contact-header {
        font-size: 3rem;

    }
    .contact-info {
        font-size: 2rem;
    }

    .nav-button {
        height: 3em;
        width: 8em;
        margin-top: 1em;
        font-size: 22px;
    }
    
    #navbar {
        margin: 0;
    }

    #experience-section {
        margin-top: 2rem;
    }

    .section-header {
        font-size: 40px;
    }

}

@media screen and (max-width: 1220px) {

    body {
        background-image: url('assets/circuitry3.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        /* background-color: pink; */
    }

    #container {
        background-image: none;
        background-color: rgba(0, 0, 0, 0.7);
    }

    #project-1 {
        flex-direction: column;
    }
    
    #project-2 {
        flex-direction: column;
    }

    #project-3 {
        flex-direction: column;
    }
    
    .site-container {
        flex-direction: column;
        align-items: center;
    }

    .about-site {
        width: 95%;
        height: auto;
        margin: auto;
        padding: 2px;
    }

    .about-site-border {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1em;
        border: 1px solid white;
        line-height: 2em;
        width: 90%;
    }
    
    .about-site-border > h2{
        font-size: 20px;
        margin-bottom: 2em;
        border-bottom: 1px solid white;
    }
    
    #link-buttons-div {
        width: 95%;
        min-height: 60vh;
        padding: 2rem;
    }

    .link-button {
        width: 95%;
        padding: 5px;
        height: 500px;
        margin: auto;
        margin-top: 1em;
        background-color: white;
        border-radius: 0px;
        margin-bottom: 2em;
    }

    #skuttlebucket-iframe {
        display: none;
    }

    #skuttlebucket-img {
        display: block;
        height: 100%;
        width: auto;
    }

    #skuttlebucket-img:hover {
        cursor: pointer;
    }

    .skuttle-container {
        display: flex;
        justify-content: center;
    }

}

@media screen and (max-width: 850px) {
    body {
        background-image: url('assets/circuitry3.jpg');
        background-size: cover;
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
        /* background-color: pink; */
    }

    #container {
        background-image: none;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .header-text {
        font-size: 1.2rem;
    }
    
    .code {
        margin: 0 1rem;
    }

    #navbar {
        padding: 0;
    }

    .nav-button {
        height: 3em;
        width: 8em;
        margin-top: 1em;
        font-size: 22px;
    }
    
    .section-header {
        font-size: 26px;
        letter-spacing: 0.3em;
        margin: 1.5em;
        border: 1px solid white;
        padding: 1em;
    }

    #certifications-section-header {
        font-size: 20px;
    }

    #project-1 {
        flex-direction: column;
    }
    
    #project-2 {
        flex-direction: column;
    }

    #project-3 {
        flex-direction: column;
    }
    
    .about-site {
        width: 95%;
        height: auto;
        margin: auto;
        padding: 2px;
    }

    .about-site-border {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1em;
        border: 1px solid white;
        line-height: 2em;
        width: 90%;
    }
    
    .about-site-border > h2{
        font-size: 20px;
        margin-bottom: 2em;
        border-bottom: 1px solid white;
    }
    
    #link-buttons-div {
        width: 95%;
        min-height: 60vh;
        padding: 2rem;
    }

    .link-button {
        width: 95%;
        padding: 5px;
        height: 200px;
        margin: auto;
        margin-top: 1em;
        background-color: white;
        border-radius: 0px;
        margin-bottom: 2em;
    }

    #skuttlebucket-iframe {
        display: none;
    }

    #skuttlebucket-img {
        display: block;
        height: 100%;
        width: auto;
    }

    #skuttlebucket-img:hover {
        cursor: pointer;
    }

    .skuttle-container {
        display: flex;
        justify-content: center;
    }

    .breaker {
        font-size: 18px;
        line-height: 2em;
        width: 100%;
        margin: 0;
    }

    #about-me {
        padding: 1em;
    }

    .about-me-content {
        font-size: 16px;
        line-height: 2em;
    }

    #email-address {
        margin: 0;
    }

    #phone-number {
        margin: 0;
    }
    .contact-header {
        font-size: 2rem;

    }
    .contact-info {
        font-size: 1.5rem;
    }
}