:root {
    --button-color: rgb(23,23,23);
    --bg-color:rgb(36, 36, 36);
    --boxbg-color: rgb(51, 51, 51);
}

@font-face {
    font-family: Main-Font;
    src: url("https://erikoellers.de/projects/stylesheet/Oswald-VariableFont_wght.ttf");
}

body {
    background: url("https://erikoellers.de/projects/img/background.png");
    color: white;
    font-family: Main-Font;
    background-size: 100%;
    overflow-x: hidden;
}

header {
    text-align: center;
    padding: 4%;
}


#title_name {
    font-size: 250%;
}

#title {
    font-size: 600%;
}

.con_head {
    position: relative;
    margin: auto;
    text-align: center;
    font-size: 250%;
    background-color: var(--boxbg-color);
    border-radius: 25%;
    z-index: 2;
    width: 25%;
}

.line {
    width: 100%;
    height: 2px;
    background-color: white;
    margin-top: -2%;
    z-index: 1;
}

.freeline_1 {
    margin-top: 3.5%;
}

.freeline_0 {
    height: 150px;
}


.container {
    border-radius: 25px;
    border: 10px solid gray;
    padding: 2%;
    margin: auto;
    width: 65%;
    background-color: var(--boxbg-color);
}



/*Scroll animation*/

#v0 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    z-index: -1;
    text-align: center;
}

#set-height {
    height: 4000px;
    display: block;
}



/*Button System*/


.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 916px;
    width: calc(100% - 20px);
    align-items: center;
    display: flex;
    justify-content: center;
    margin:auto;
    padding: 0px;
    
}

.button {
    display: inline;
    border-radius: 15px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    height: 260px;
    position: relative;
    width: 300px;
}

.button:hover::before {
    opacity: 1;
}

.buttons:hover > .button > .button_border{
    opacity: 1;
}

.button::before,
.button_border {
    opacity: 0;
    transition: opacity 500ms;
    border-radius: inherit;
    content: "";
    height: 100%;
    left: 0px;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 2;
}

.button::before {
    background: radial-gradient(
        800px circle at var(--mouse-x) var(--mouse-y),
        rgba(255,255,255, 0.06),
        transparent 40%
    );
    z-index: 3;
}

.button > .button_border {
    background: radial-gradient(
        400px circle at var(--mouse-x) var(--mouse-y),
        rgba(255,255,255, 0.3),
        transparent 40%
    );
    z-index: 1;
}

.button_content {
    overflow: hidden;
}

.button_img{
    position: relative;
    width: 170px;
    top: 10%;
    left: 50%;
    transform: translate(-50%);
}

.button_name {
    text-align: center;
    position: absolute;
    font-size: 30px;
    top: 75%;
    left: 50%;
    transform: translate(-50%);
}

.button > .button_content {
    height: calc(100% - 3px);
    width: calc(100% - 3px);
    background-color: var(--button-color);
    border-radius: inherit;
    margin: 1px;
    z-index: 2;
    position: relative;
}
/* Custom buttons */
#button_controller_img {
    position: relative;
    width: 170px;
    top: 20%;
    left: 50%;
    transform: translate(-50%);
}

#winorlosebatch {
    font-size: 20px;
}
#button_name_lua {
    font-size: 23px;
}

.cs_name {
    text-align: center;
    position: absolute;
    font-size: 20px;
    top: 75%;
    left: 50%;
    transform: translate(-50%);
}

.button_winorlose_img {
    position: relative;
    width: 150px;
    top: 10%;
    left: 50%;
    transform: translate(-50%);
}

#button_taschenrechner_img {
    position: relative;
    width: 130px;
    top: 10%;
    left: 50%;
    transform: translate(-50%);
}

#button_machine_img {
    position: relative;
    width: 110px;
    top: 10%;
    left: 50%;
    transform: translate(-50%);
}
#button_dino_img {
    position: relative;
    width: 150px;
    top: 10%;
    left: 50%;
    transform: translate(-50%);
}
