/* styles.css für tn_NM_v0.1*/
body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #dddddd;
}

.logo-container {
    position: relative;
    width: 350px; 
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: relative;
    width: 150px;
    height: 150px;
    background-color: black;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2; 
    overflow: hidden;
}

.text {
    position: relative;
    z-index: 3; 
    color: white;
    font-family: Arial, sans-serif;
    font-size: 34px; 
    text-align: center;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.divider {
    width: 60%;
    height: 2px;
    background-color: white;
    margin: 5px 0;
}

.color-box {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0;
    border-radius: 10px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; 
}

/*used color palett: https://colorhunt.co/palette/1d2b537e2553ff004dfaef5d*/

.color-left {
    background: #FF004D; 
    box-shadow: 0px 0px 10px #FF004D
}

.color-left-bottom {
    background: #FAEF5D; 
    z-index: 0;

    box-shadow: 0px 0px 10px #FAEF5D
}

.color-right {
    background: #1D2B53; 
    box-shadow: 0px 0px 10px #1D2B53
}

.logo-container:hover .color-left {
    opacity: 1;
    transform: translate(-30px, -30px) scale(1.5); 
}

.logo-container:hover .color-left-bottom {
    opacity: 1;
    transform: translate(-30px, 30px) scale(1.1); 
}

.logo-container:hover .color-right {
    opacity: 1;
    transform: translate(35px, 35px) scale(1.1); 
}

.divider_hover {
    width: 60%;
    height: 2px;
    background-color: black;
    margin: 5px 0;
}

.hover-text {
    position: absolute;
    top: 50%;
    left: 280px; 
    transform: translateY(-50%);
    color: black; 
    font-family: Arial, sans-serif;
    font-size: 34px; 
    font-weight: bold;
    text-align: left;
    opacity: 0; 
    overflow: hidden; 
    white-space: nowrap; 
    transition: all 0.5s ease-in-out; 
    clip-path: inset(0 100% 0 0); 
}

.logo-container:hover .hover-text {
    opacity: 1; 
    clip-path: inset(0 0 0 0); 
}
