/*Créé par Thomas Mao le 14 mars 2025.*/
/*page CSS pour toutes les pages du site.*/

html {
    scroll-behavior: smooth;
    transition: 0, 5 ease-in-out;
    max-width: 100%;
}

body {
    font-family: "Rubik", serif;
    margin: 0;
    padding: 0;
    background-color: bisque;
    color: #333;
    box-sizing: border-box;
}

header {
    display: block;
    flex-direction: column;
    justify-content: center;
}

h1 {
    text-align: center;
    padding: 250px 0;
    font-size: 125px;
    color: white;
    -webkit-text-stroke: 2px rgb(165, 165, 165);
}

@media(max-width: 1000px){
    h1{
        font-size: 95px;
    }
}

@media(max-width: 500px){
    h1{
        font-size: 65px;
    }
}

img {
    display: flex;
    width: 280px;
    height: 250px;
    object-fit: cover;
    max-inline-size: 100%;
}

footer {
    background-color: antiquewhite;
    overflow: hidden;
}

footer p {
    margin: 25px 25px 25px 25px;
}

a {
    text-decoration: none;
    color: #333;
}

iframe{
    width: 560px;
    height: 315px;
}

@media(max-width: 1000px){
    iframe{
        width: 560px;
        margin-bottom: 20px;
        padding: 20px 0;
    }
}
@media(max-width: 600px){
    iframe{
        width: 350px;
        height: 250px;
        margin-bottom: 20px;
    }
}

.icon-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 25px;
    justify-content: space-between;
    background-color: antiquewhite;
}

@media(max-width: 800px){
    .icon-row {
        display: block;
    }
}

nav .icon {
    flex: 1;
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background-color: bisque;
    border: 1px solid black;
}

@media(max-width: 1000px){
    nav .icon {
        padding: 15px;
    }
}

.icon p {
    font-size: 20px;
    margin-top: 20px;
    font-weight: bold;
}

@media(max-width: 1000px){
    nav .icon p {
        font-weight: bold;
        font-size: 15px;
    }
}

.element-icon{
    display: flex;
    align-items: stretch;
    width: 50%;
    margin: 10px;
}

@media(max-width: 800px){
    .element-icon {
        width: 100%;
        margin: 0 0 10px 0;
    }
}

