/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

@use 'colors';
@use 'globals';

h1 {
    margin-top: 0.25in;
    margin-bottom: 0.25in;
}

h1.title {
    background: #003c2b;
    color: white;
    padding: 1em;
    margin-bottom: 0.5in;
    background-image:
        linear-gradient(-20deg, #002d20 70%, #00553c 70%),
        linear-gradient(-176deg, #003c2b 70%, #002017 70%);
    background-blend-mode: color-dodge;
    background-repeat: no-repeat;
    text-align: center;
    margin-top: 0;
    font-size: 3em;
}

h1.title .release-type {
    opacity: 0.5;
    font-weight: normal;
    padding-left: 0.5em;
}

h2 {
    margin-top: 2em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rubik';
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 300;
    font-size: 2em;
    border-left: 3px solid colors.$text-color;
    padding: 0.5em;
    margin: 2em 0;
    margin-bottom: 1em;
    background: globals.lightdark(#f9f9f9, #222);
}

h3 { 
    font-weight: bold;
    margin: 2em 0;
    margin-bottom: 1em;
}

/* Style appropriately for printing */
@media print {
    h1.title {
        background: none;
        color: black;
        padding: 0;
    }
}

