html {
    scroll-snap-type: y mandatory;
}

section {
    height: 100vh;
    padding-top: 60px;
    scroll-snap-align: end;
    scroll-snap-stop: always;
    background-color: #fefaf6ff;
}

html {
    scroll-behavior: smooth;
}

.viz-nav-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2em;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 66%;
    z-index: 2;
}

.viz-nav-button {
    padding: 1em 2em;
    background: #ff4081;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: background 0.2s, transform 0.2s;
    cursor: pointer;
    outline: none;
}

.viz-nav-button:hover,
.viz-nav-button:focus {
    background: #e73370;
    transform: translateY(-3px) scale(1.04);
}

#viz-nav-section {
    background: linear-gradient(rgba(30, 30, 30, 0.7), rgba(30, 30, 30, 0.7)), url('./../assets/woodstock-2-2.jpg') center/cover no-repeat;
    padding: 0 0 40px 0;
    color: #fff;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.viz-nav-title {
    font-size: 2.2em;
    font-weight: bold;
    margin: 1.5em 0 0.5em 0;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 3;
    letter-spacing: 1px;
}

.gjs-divider {
    width: 100%;
    height: 90px;
    background: rgba(30, 30, 30, 0.85);
    margin: 0;
    border: none;
    display: block;
    position: relative;
    z-index: 10;
}

/* Last page background */
#officiallang-row-intro-2 {
    background: url('./../assets/fin.jpg') center/cover no-repeat;
    min-height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#officiallang-col-intro-2 {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    margin: 0 auto 3em auto;
    width: 22%;
    min-width: 200px;
    max-width: 320px;
    position: absolute;
    left: 50%;
    bottom: 40px;
    transform: translate(-50%, 0);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
    padding: 1.2em 1.2em 1em 1.2em;
    text-align: center;
}

@media (max-width: 600px) {
    #officiallang-col-intro-2 {
        width: 80%;
        min-width: 0;
        max-width: 95vw;
        font-size: 0.95em;
    }
}

img {
    max-height: 100%;
    max-width: 100%;
    height: 100vh;
    width: 100vw;
}

#nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #e73370;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    height: 60px;
}

/* Title button of the nav-bar styling */
.title:visited {
    color: white;
    text-decoration: none;
}

.title:link {
    text-decoration: none;
    color: white;
}

/* Navigation bar button styling */
.nav-button:link {
    height: 60px;
    padding: 15px;
    align-items: center;
    font-size: 1.25em;
    margin-right: 10px;
    text-decoration: none;
}

.nav-button {
    color: white;
    text-decoration: none;
    height: 100%;
}

.nav-button:visited {
    color: white;
    text-decoration: none;
}

.nav-button:hover {
    text-decoration: none;
    background-color: #475569;
}

/* Team members styling */
.member {
    margin-left: 10px;
}

.member:link {
    text-decoration: none;
    font-size: 1.25em;
    color: wheat;
}

.member:hover {
    text-decoration: underline;
}

.member:visited {
    color: black;
}


#welcome-row {
    padding-top: 60px;
    flex: 1;
}

#welcome-row p {
    text-align: center;
    text-align: left;
}

body {
    margin: 0;
}

span {
    color: #102c57ff;
}


.gjs-grid-column {
    flex: 1 1 0%;
    max-height: 100vh;
}

.gjs-grid-row {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    flex-direction: row;
    min-height: auto;
}

.gjs-heading {
    margin: 0;
    color: rgba(29, 40, 55, 1);
}

.text-main-content {
    line-height: 30px;
    font-size: 1.2rem;
}

#wals-body {
    font-family: Arial, Helvetica, sans-serif;
    background-image: linear-gradient(180deg, rgba(59, 130, 245, 0.11), white 14%);
    background-position: 0px 0px;
    background-size: 100% 100%;
    background-repeat: repeat;
    background-attachment: scroll;
    background-origin: padding-box;
    color: #475569;
}

.gjs-grid-column.feature-item {
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 30%;
}

.gjs-grid-column.testimonial-item {
    padding-top: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 45%;
    background-color: rgba(247, 247, 247, 0.23);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    align-items: flex-start;
    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-top-color: rgba(0, 0, 0, 0.06);
    border-right-color: rgba(0, 0, 0, 0.06);
    border-bottom-color: rgba(0, 0, 0, 0.06);
    border-left-color: rgba(0, 0, 0, 0.06);
}

.gjs-button {
    vertical-align: top;
    max-width: 100%;
    display: inline-block;
    text-decoration: none;
    color: white;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 15px;
    background-color: rgb(36, 99, 235);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    padding-top: 10px;
    font-size: 1.1rem;
    text-align: center;
}

.gjs-text-blue {
    color: rgb(36, 99, 235);
}

.gjs-link:hover {
    color: rgb(36, 99, 235);
    text-decoration: underline;
}

.gjs-icon.gjs-feature-icon {
    padding-top: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    background-color: rgb(36, 99, 235);
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

@media (max-width: 992px) {
    .gjs-grid-row {
        flex-direction: column;
    }
}

.tooltip {
    position: absolute;
    width: 200px;
    height: auto;
    max-height: 150px;
    padding: 10px;
    background-color: #edddcc;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    overflow-y: scroll;
}

.hidden {
    display: none;
}

.tooltip p {
    margin: 0;
    font-family: sans-serif;
    font-size: 16px;
    line-height: 20px;
}