:root{
    --primary-color: rgb(0, 0, 0);
    --bg-color: rgb(255, 255, 255);
    --seconday-color: #127D77;
}

html {
    box-sizing: border-box;
  }
  *,
  *:before,
  *:after {
    box-sizing: inherit;
  }

body {
    margin: 4rem 2rem;
    background-color: var(--bg-color);
    font-family: Poppins, sans-serif;
    color: var(--primary-color);
    letter-spacing: .1rem;
    line-height: 1.5rem;
}

.close img {
    width: 1rem;
    border-radius: 1000000px;
}

.close {
    padding: 0 100% 0rem 0rem;
}

h1 {
    text-transform: uppercase;
    font-size: 2.5rem;
    width: 100%;
    line-height: 2.4rem;
}

h2 {
    background-color: var(--primary-color);
    font-size: .5rem;
    width: fit-content;
    text-align: center;
    color: var(--bg-color);
    padding: 0 .6rem;
}

a {
    text-decoration: underline dashed;
    color: var(--primary-color);
}

.lien:hover {
    font-size: 110%;
    background-color: var(--seconday-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    color: var(--bg-color);
}

h3 {
    text-transform: uppercase;
    font-size: 1.2rem;
    font-weight: 700;
}

h4{
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
    margin-top: 4rem;
}

.info{
    border: .1rem dashed var(--primary-color);
    padding: 0 1rem;
    width: 100%;
    margin-bottom: 4rem;
}

.resume{
    margin: 0;
    margin-bottom: 2rem;
}

.infos{
    display: flex;
    gap: 7rem;
    text-align: right;
}

.type{
    font-size: .8rem;
    font-weight: 600;
}

.date{
    font-size: .8rem;
    font-weight: 100;
    font-style: italic;
    text-align: right;
}

.precisions{
    font-size: 1rem;
    margin-bottom: 2rem;
}

.historiette{
    padding: 2rem 0 2rem 10rem;
    width: fit-content;
    height: fit-content;
    font-size: .8rem;
    font-weight: 300;
    font-style: italic;
    text-align: right;
}

img{
    width: 100%;
    object-fit: cover;
    margin-top: 1rem;
    box-shadow: 0px 5px 20px rgb(192, 192, 192);
}

.carte{
    border-radius: .7rem;
}

.responsive, .tel, .prez{
    list-style-type: none;
}

iframe{
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 400px;
    height: 600px;
}

@media (min-width: 1000px){
    body{
        margin: 0 8rem;
        display: flex;
        gap: 4rem;
    }
    
    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 24rem;
        height: 100vh;
        position: sticky;
        left: 0;
        top: 0;
        margin-top: 0;
    }

    main {
        margin: 3rem 0;
    }

    .info{
        width: 22rem;
    }

    .pack{
        display: flex;
        flex-direction: row;
        gap: .5rem;
        margin: 1rem;
        padding: 1rem;
    }

    .pack-responsive{
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 1rem;
    }
    
    .tel, .responsive{
        width: 100%;
        overflow-y: scroll;
        scrollbar-width: none;
        margin-bottom: 4rem;
    }

    .tel{
        height: 43.5rem;
        padding: .5rem;
    }

    .responsive {
        height: 45rem;
    }
}