/* Header and hero elements */
header, .hero {
    position: relative;
}

.hero.hide {
    display: none;
}

.hero img {
    object-fit: none;
    max-height: 65vh;
    width: 100%;
}

.hero-1 button {
    text-transform: uppercase;
    position: absolute;
    background: linear-gradient(to right, #4A477F, #4D608E );
    opacity: 0.9;
    font-weight: 900;
    border: 0;
    color: var(--white);
    top: 70%;
    left: 42.5%;
    font-size: 2em;
    padding: 0.5em 1em;
}

.hero-1 button:hover {
    background: linear-gradient(to right, #3f4477 0%, #485b88 100%);
    opacity: 1;
}

.hero-2 .hero-content{
    position: absolute;
    max-width: 40%;
    right: 0;
    top: 0;
    height: 100%;
    background: var(--white-transparent);
    padding: 2em;
}

.hero-content h2{
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.25em;
}

.hero-content p{
    font-size: 1.3rem;
}

.toggle-buttons {
    position: absolute;
    left: 48%;
    top: 90%
}

.toggle-button {
    display: inline-block;
    padding: 5px;
    border: 4px solid var(--primary-gray-color);
    border-radius: 50%;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    margin: 5px;
    background-color: var(--white);
    color: var(--secondary-blue-text-color);
}

.toggle-button:hover {
    background-color: var(--primary-gray-color);
}

.toggle-button.active {
    border-color: var(--secondary-blue-text-color);
}

/* Message */

.message-container {
    height: 20vh;
    display: flex;
    border-bottom: 20px var(--red-bottom-border-color) solid;
    text-transform: uppercase;
    vertical-align: middle;
}

.message-container * {
    width: 50%;
    font-weight: bold;
}

.founders-message-button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: var(--primary-yellow-color);
    color: var(--secondary-blue-text-color);
    cursor: pointer;
}

.founders-message-button:hover {
    background-color: var(--primary-yellow-transparent);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.2);
    text-decoration: underline;
}

.message-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1.2em;
}

.highlighted-text {
    font-size: 1.7rem;
    color: var(--secondary-blue-text-color);
}

/* Tablet */

@media (max-width: 992px) {
    .hero img, .hero .img, .hero .img-fluid{
        object-fit: cover;
        height: 75vh;
        width: 100%;
    }

    .hero-1 button {
        top: 70%;
        font-size: 1.5em;
        padding: 0.25em 1em;
    }

    .message-container {
        flex-direction: column;
        height: auto;
    }

    .message-container * {
        width: 100%;
    }   
    
    .message-text {
        text-align: center;
        justify-content: center;
        font-size: 1.25rem;
        padding: 1em;
    }
    
    .highlighted-text {
        font-size: 1.5rem;
        color: var(--secondary-blue-text-color);
    }

    .founders-message-button {
        padding: 1em;
        font-size: 1.25rem;
        text-align: center;
    }

    .footer-links {
        display: none;
    }

    .hero-2 .hero-content{
        max-width: 50%;
    }
}


/* ipad Mini Landscape */
@media only screen and (width:1024px) {
    .hero-content h2{
        font-size: 2rem;
        margin-bottom: 1em;
    }
    
    .hero-content p{
        font-size: 1rem;
    }
}

/* Ipad pro - Portrait */
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1.5) {
    .hero img, .hero .img, .hero .img-fluid{
        object-fit: cover;
        height: 75vh;
        width: 100%;
    }
}

@media only screen
and (max-width: 480px) {
    .hero-1 button {
        left: 25%;
    }

    .hero-2 .hero-content {
        max-width: 100%;
    }
}
