@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
#cover #header, #cover .content-text, #cover h1{
    margin: 1vw 2vw; 
}
#header{
    font-size: 14px; 
    font-weight: 200; 
    letter-spacing: 2px; 
}
h1 {
    grid-area: head;
    font-size: 25px; 
    margin-bottom: 0.9vw; 
    letter-spacing: 1px; 
    font-weight: 500; 
}
.section-one .content-text p{
    text-align: left;
    font-size: 16px; 
    color: #12142D;
    margin-bottom: 1vw; 
    margin-right: 2vw; 
    font-weight: 200;  
    line-height: 25px; 
}
.content-text {
    margin-top: auto; 
    margin-bottom: auto; 
}
.container{
    position: relative; 
    overflow: hidden;
    }
    .container img {
    transition: transform 1s, filter 1.5s ease-in-out;
    transform-origin: center center;
    filter: brightness(75%);
    }

    /* The Transformation */
    .container:hover img {
    filter: brightness(100%);
    transform: scale(1.2);
    }  
.container h4{
    position: absolute; 
    top: 55%;
    right: 5%;
    color: #faf9f1;
    font-family: 'Playfair Display', serif;
    font-size: 3vw; 
    font-weight: 300; 
    width: inherit;    
    text-shadow: #0C0D1D 0px 0px 10px; 
    display: flex; 
}
.content-pic {
    grid-area: pic;  
    border-radius: 2px; 
}
.content-text p , .text-free-practice p{
    text-align: left;
    font-size: 16px; 
    color: #0C0D1D;
    margin: 1vw 0;
    font-weight: 200;  
    line-height: 25px; 
}
.content-text{
    grid-area: text;
}
#image{
    width: 100% ; 
    height: auto;
    transition: 0.2s; 
}
figcaption{
    text-align: center; 
    font-style: italic;
    font-size: 12px; 
    margin-bottom: 2vw; 
}
figure{
    margin: auto 0; 
}
.section-one {
    display: grid; 
    margin:1vw 2vw; 
    border-bottom: solid 1px #12142D;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
    "text pic" ;
}
.section-two {
    display: grid; 
    margin: 1vw 2vw; 
    border-bottom: solid 1px #12142D;
    grid-template-columns: 1fr 1.4fr; 
    grid-template-rows: auto; 
    grid-template-areas: 
    "pic text";
}
.section-two h1{
    text-align: right; 
}
.section-two #image {
    width: 100%; 
    height: 23vw; 
}
.section-two p {
    text-align: right;
    font-size: 16px; 
    color: #12142D;
    margin-bottom: 1vw; 
    margin-left: 2vw; 
    font-weight: 200;  
    line-height: 25px; 
}
h2{
    font-size: 20px; 
    letter-spacing: 2px; 
    font-weight: 500; 
    color: #737373;
}
.section-three {
    display: grid;
    margin: 2vw; 
    margin-top: 0; 
    grid-template-columns: 1fr 1fr;  
    grid-template-rows: auto; 
    grid-template-areas: 
    "head head"
    "text text"
    "text-fp fp"
    "quali text-quali"
    "text-race race"
}

.text-free-pratice, .text-free-practice p{
    grid-area: text-fp; 
    text-align: left;
    font-size: 16px; 
    color: #12142D;
    margin: 1vw 0;
    margin-right: 0.7vw; 
    font-weight: 200;  
    line-height: 25px; 
}
.text-qualifying , .text-qualifying p{
    text-align: left;
    font-size: 16px; 
    color: #12142D;
    margin: 1vw 0;
    margin-left: 0.7vw; 
    font-weight: 200;  
    line-height: 25px; 
}
.text-race-day, .text-race-day p {
    text-align: left;
    font-size: 16px; 
    color: #12142D;
    margin: 1vw 0;
    margin-right: 0.7vw ; 
    font-weight: 200;  
    line-height: 25px; 
}
#free-practice{
    grid-area: fp; 
}
#qualifying 
{
    grid-area: quali
}
#race-day{
    grid-area: race; 
}
.section-four{
    margin: 2vw 2vw; 
}
.section-four a, .section-four p {
    font-size: 14px; 
    color: #12142D; 
    margin-bottom: 3px; 
} 
.section-four a:hover{
    text-decoration: underline;
}
.section-four h1{
    font-size: 18px; 
}
@media only screen and (max-width: 900px){
    .section-one , .section-two{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
        "head"
        "pic"
        "text"    }
    .section-three{
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
        "head"
        "text"
        "fp"
        "text-fp"
        "quali"
        "text-quali"
        "race"
        "text-race"
        ;
    }
    h1, .section-two h1{
        font-size: 20px; 
        text-align: left; 
        letter-spacing: 1px; 
    }
    .content-text > p, .section-one .content-text p, .section-three  p {
        margin: 0; 
        text-align: left; 
        margin-top: 5px; 
        margin-bottom: 5px;
    }
    .section-two #image{
        height: auto; 
    }
    #pic-two{
        display: none; 
    }
    main{
        margin: 1.7vw; 
    }
    .container h4{
        display: none; 
    }
}