@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

main {
    min-height: 90vh;
    overflow-y: hidden;
}

* {
    padding: 0;
    margin: 0;
    gap: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* width: 100%; */
}

nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav a {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    color: #4f4f4f;
    padding: 5px 10px;
    font-size: 1.1vw;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000000;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.active {
    font-weight: bold;
    background: linear-gradient(45deg, #BED1A5, #153885);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.active::after {
    width: 100%;
}


#first-row {
    padding: 10px 20px;
}

#second-row {
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap:37px;
    border-top: 1px solid #c7c7c7;
    width: 100%;
    padding: 20px 20px;
}

#second-row-special {
    border-top: 1px solid #c7c7c7;
}


#logo {
    width: 400px;
}

.SDP-el {
    width: 80px;
}

.nav-row {
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-row p {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    background: linear-gradient(45deg, #BED1A5, #153885);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


footer {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    font-size: 1.2vw;
    padding: 20px;
    background-color: #1F2937;
    color: #9CA3AF;
    overflow-y: hidden;
}

footer a {
    color: #dbff00
}


@media (max-width: 768px) {

    nav a {
        font-size: 1.1rem;
    }

    .nav-row {
        justify-content: left;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    #second-row{
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }



    .line {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 20px;
    }
    
    #logo {
        display: none;
    }

    #first-row {
        padding: 20px;
    }

    #second-row {
        padding: 10px 20px;
    }

}
