@font-face {
    font-family: 'Inter';
    src: url("./assets/font/Inter-VariableFont_opsz,wght.ttf");

}

.cursor{
    cursor: pointer;
}

a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

main {
    margin-left: 232px;
    overflow-y: auto; /* Ermöglicht Scrollen bei langen Inhalten */
    display: flex;
    flex-direction: column; /* Flexibles Layout */
    box-sizing: border-box;
    height: 100vh;
}

.d-none {
    display: none;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Volle Höhe der Ansicht */
    display: flex;
    flex-direction: column;
    background-color: #F6F7F8;
    font-family: Inter;
}


nav {
    flex-shrink: 0; /* Fixe Höhe */
}

header {
    flex-shrink: 0; /* Fixe Höhe */
}

h1 {
    font-size: 61px;
    font-weight: 700 ;
    margin: 0;
}
h2 {
    font-size: 27px;
    font-weight: 400px;
}
h3 {
    font-size: 20px;
}

main:has(#contacts){
    overflow: hidden;
}

.maxWidth{
    max-width: 1970px;
}

.input-container.invalid input {
    border: 2px solid red;
}

.input-container input {
    border: 1px solid #ccc;
    padding: 8px;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.input-container input:focus {
    border-color: #007bff;
}

.userNamePopUp{
    font-weight: 700;
    font-size: 64px;
    color: #29ABE2;
}

.greeting {
    font-weight: 500;
    font-size: 47px;
    color: #2A3647;
}

.greetingPopUp {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.greetingPopUp {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.greeting {
    font-size: 24px;
    margin-bottom: 10px;
}

.userNamePopUp {
    font-size: 20px;
    color: #29ABE2;
}