body {
    background-color: gray;
    background-image:  linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url("../img/background.jpg");
    background-size: 100vw auto;
    overflow-x: hidden;
    min-height: 2400px;
    max-height: 2400px;
}

.titleimg {
    padding-top: 50px;
    width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transform: translateY(-150%);
    transition: transform 2s ease-in-out;
}


#title {
    /* background-color: rgba(0, 0, 0, 0.5); */
    height: 40vh;
}


.text {
    color: white;
    font-family:'Courier New', Courier, monospace;
}


#titletext {
    font-size: 8em;
    text-align: center;
    opacity: 0; /* Hidden initially */
    transform: translateX(-100%); /* Positioned off the screen to the left */
    transition: transform 2s ease-in-out;
}


#titlesubtext {
    font-size: 5em;
    text-align: center;
    opacity: 0; /* Hidden initially */
    transform: translateX(100%); /* Positioned off the screen to the left */
    transition: transform 2s ease-in-out;
}

.descriptionone, .descriptiontwo {
    text-align: justify;
    padding-top: 100px;
    padding-bottom: 50px;
    margin-left: 250px;
    margin-right: 250px;
    opacity: 0;
    font-size: 2.5em;
    transform: translateX(-130%);
    transition: transform 1s ease-in-out;
}


#titletext.activateanim, #titlesubtext.activateanim, #descriptionone.activateanim, #descriptiontwo.activateanim, .titleimg.activateanim, .button-group.activateanim {
    opacity: 1; /* Fully visible */
    transform: translateX(0) translateY(0); /* In place */
}

.button-group {
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 1s ease-in-out
}

.button-group button {
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    font-weight: bold;
    padding: 30px 60px;
    margin-left: 60px;
    margin-right: 60px;
    border: none;
    cursor: pointer;
    font-size: 2em;
    transition: background-color 0.3s ease;
}

.button-group button:hover {
    background-color: rgba(15, 15, 15, 0.3); 
}

.optiontextbox {
    position: relative;
}


.optiontext {
    position: absolute;
    width: 50%;
    margin-left: 25%;
    margin-top: 100px;
    font-size: 1.5em;
    text-align: center;
    transform: translateX(100vw);
    transition: transform 1s ease-in-out;
}

.optiontext > .optionsubtext {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 10%;
    text-align: left;
}

.optiontext > .secrettheme {
    background-color: rgb(255, 255, 255);
    color: rgb(255, 255, 255);
}

.optiontext > .secrettheme:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: rgb(255, 255, 255);
    transition: background-color 30s;
}

.urgentrelocation {
    transition: transform 0s !important;
}

.optiontext.animatefromright {
    transform: translateX(0%);
}

.optiontext.animatetoleft {
    transform: translateX(-100vw);
}

