@import url(normalize.css);
@import url(bootstrap.min.css);
@import url(fontawesome.min.css);
@import url(solid.min.css);
:root {

}

html {
    scroll-behavior: smooth;
    color: var(--dark);
}
a:hover {
    color: var(--tertiary-color);
}
h1,
h2,
h3,
h4,
h5 {
    font-weight: bold;
}
h1, h1 a {
    text-decoration: none;
    font-size: 3rem;
}
h2, h2 a {
    text-decoration: none;
    font-size: 2.4rem;
}
h3, h3 a {
    text-decoration: none;
    font-size: 2rem;
}

h2 {
    margin-bottom: 38px;
    position: relative;
}
h2::before {
    content:'';
    width: 80px;
    height: 5px;
    border-radius: 100px;
    background-color: var(--secondary-color);
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
}
ul, ol {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-indent: 0;
}
.btn, .btn:hover {
    font-weight: bold;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    z-index: 2;
}
.btn:hover {
    opacity: .8;
}

#header {
    background-color: var(--primary-color);
    position: relative;
}
.header-mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(0,0,0);
    background: linear-gradient(142deg, rgba(255,255,255,1) 0%, rgba(0,0,0,1) 100%);
    pointer-events: none;
    opacity: .4;
    mix-blend-mode: luminosity;
    z-index: 0;
}
#header .title,
#header .title a,
#header .subtitle,
#header .description {
    position: relative;
    z-index: 5;
    color: #fff
}
#header .subtitle {
    opacity: .8;
}
#header .description {
    color: var(--secondary-color);
}
.header-image {
    height: 274px;
    width: 274px;
    margin: auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
    position: relative;
    z-index: 5;

}
.header-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
#header .btn, #header .btn:hover {
    position: relative;
    z-index: 5;
    background-color: transparent;
    border: 2px solid #fff;
}
.infos p {
    margin: 0;
    padding-bottom: 24px;
}
.link-area {
    color: var(--dark);
    text-align: center;
    background: var(--secondary-color);
}

footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}
footer input[type="checkbox"] {
    display:none;
}
footer input[type="checkbox"]:checked ~ .modal,
footer input[type="checkbox"]:checked ~ .modal-background {
    display: block;
}
footer .btn, footer .btn:hover {
    background-color: transparent;
    border: 2px solid #fff;
}
.modal-background {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 9998;
}
.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    display: none;
    width: 30vw;
    min-width: 320px;
    height: auto;
    background-color: #fff;
    z-index: 9999;
    border-radius:5px;
}
.modal p {
    padding: 15px;
    margin: 0;
    color: var(--dark) !important;
}
.modal-header {
    background-color: var(--light);
    border-bottom: 1px solid #dddddd;
    box-sizing: border-box;
    height: 50px;
}
.modal-header h3 {
    margin: 0;
    box-sizing: border-box;
    padding-left: 15px;
    line-height: 50px;
    color: #4d4d4d;
    font-size: 16px;
    display: inline-block;
}
.modal-header label {
    box-sizing: border-box;
    border-left: 1px solid #dddddd;
    float: right;
    line-height: 50px;
    padding: 0 15px 0 15px;
    cursor: pointer;
    color: var(--primary-color);
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
