/*
    Theme Name: b2w_theme
    Theme URI: https://borntoweb.fr/
    Author: BornToWeb.fr
    Author URI: http://borntoweb.fr/
    Description: BornToWeb Theme
    Version: 0.0.1
    License: Private Theme for BornToWeb.fr
    Text Domain: borntoweb
*/

:root {
    --white: white;
    --midnight-blue: rgb(8, 8, 27);
    --deep-sky-blue: #5ac4ff;
    --goldenrod: #ffc24b;
    --light-coral: #ff5777;
    --medium-aquamarine: #3fc98f;
    --coral: #f58c51;
    --dark-slate-grey: #26546e;
    --midnight-blue-light: #113a52;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    background-color: var(--midnight-blue);
    background-size: auto;
    background-repeat: no-repeat;
    font-family: Outfit, sans-serif;
    font-size: 1rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    position: relative;
    font-weight: 200;
    overflow-x: hidden;
}

/* fonts */
h1 {
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

h2 span {
    
}

.highlight {
    position: relative;
    display: inline-block;
    padding: 0 0.5rem;
    background-image: linear-gradient(transparent, transparent);
    background-size: 0 100%;
    background-repeat: no-repeat;
    border-radius: 6px;
}

.highlight.blue {
    background-image: linear-gradient(var(--deep-sky-blue), var(--deep-sky-blue));
}

.highlight.red {
    background-image: linear-gradient(var(--light-coral), var(--light-coral));
}

.highlight.green {
    background-image: linear-gradient(var(--medium-aquamarine), var(--medium-aquamarine));
}

.highlight.yellow {
    background-image: linear-gradient(var(--goldenrod), var(--goldenrod));
}

.highlight.orange {
    background-image: linear-gradient(var(--coral), var(--coral));
}

.highlight.gradient {
    background: linear-gradient(90deg,
            var(--deep-sky-blue),
            var(--medium-aquamarine),
            var(--goldenrod),
            var(--coral),
            var(--light-coral),
            var(--deep-sky-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    background-size: 100%;
}

/* global */
section {
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    margin-top: 4rem;
}

.container {
    max-width: 1200px;
    width: calc(100% - 30px);
    margin: 0 auto;
}

@media screen and (max-width: 920px) {
    h2 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 450px) {
    h2 {
        font-size: 1.1rem;
    }
}