html, body {
    height: auto;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: var(--main-color);
    background-color: var(--main-bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.container {
    flex: 1 0 auto;
}
h1 {
    padding-left: 1rem;
    margin-bottom: 0rem;
}

h2, h3 {
    margin-bottom: 0rem;
}

a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
}

button:hover {
    cursor: pointer;
}

.container, 
.container-legal{
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background: white;
}

.container-legal {
    margin-left: 1rem;
    margin-right: 1rem;
}

.info-blocks,
section {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background: white;
}

/* Info block */
.info-block {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    padding-top: 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-icon {
    height: 80px;
}

.info-btn {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1.2rem;
    background-color: #333333;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 1rem;
    align-self: center
}

.info-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #cc0000;
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
    border-radius: 4px;
}

.info-btn:hover::before {
    width: 100%;
}

.image-crop {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.section-bg-white {
    background-color: #FFFFFF;
}

.triangle {
  position: relative;
  background: #2c3e50;
  height: 0.5vh;
}

/* Tablet and up */
@media (min-width: 700px) {
    h1 {
        padding-left: 0rem;
    }
    
    .image-crop {
        width: 50%;
        height: 50%;
        object-fit: cover;
    }

    .container,
    .container-legal,
    .logo-bar {
        max-width: 80vw;
        padding-left: 0rem;
        margin-left: auto;
        margin-right: auto;
    }

    .info-blocks {
        display: flex;
        gap: 2rem;
    }
}