* {
    box-sizing: border-box;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
}
  
html {
    background-color: white;
    color: black;
    font-family: "Open Sans", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 16px;
}

body {
    margin: 0;
    padding: 0;
    display: grid;
    width: 100%;
    grid-template-areas: 
    "header"
    "main"
    "footer";
    grid-template-columns: 1fr;
    position: relative;
    min-height: 100vh;
}

.desktop-header {
    display: none;
}

.mobile-menu {
    width: auto;
    position: fixed;
    padding: 0;
    height: 50px;
    /* disable text selection by clicking */
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-areas: 
    "logo . . menu"
    "dropdownitem dropdownitem dropdownitem dropdownitem";
    background-color: #ea4c15;
    align-items: center;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-bottom: 3px solid black;
    z-index: 101;
}

.logo {
    grid-area: logo;
    height: 50px;
}
  
.dropdown-link{
    grid-area: menu;
    display: block;
    height: 30px;
    padding: 0 20px;
    color: white;
    font-size: 1.2rem;
    font-weight: bolder;
    cursor: pointer;
    background: black;
    border: 1px solid white;
    border-radius: 5px;
    margin: 10px;
    
}
  
.mobile-dropdown {
    display: none;
    grid-area: dropdownitem;
    list-style-type: none;
    background: black;
    padding: 0;
    width: 100%;
    position: relative;
    z-index: 100;
    margin: 0;
    text-align: center;
}
  
.mobile-dropdown li{
    padding: 0;
    height: auto;
    border-bottom: 1px solid #EA4C15;
}
  
.mobile-dropdown li a{
    margin: 0;
    color: white;
    display: block;
    padding: 8px;
    font-size: 1.4rem;
    text-decoration: none;
}
  
.mobile-dropdown li a:hover{
    text-decoration: none;
    background: #cc1d3a;
}

#school {
    display: none;
}

main {
    position: relative;
    top: 50px;
    grid-area: main;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-areas:
    "motto"
    "dates"
    "infos"
    "tr-form"
    "infos2"
    "policy"
    "motto2"    
    "contact"
    "gift";
}

.motto {
    grid-area: motto;
    background-color: black;
    color: white;
    width: 100%;
    margin: 0;    
    text-align: center;    
}

.motto h1{
    margin: 0 auto 0 auto;
    padding: 10px 0;
    font-size: 1.5rem;
    font-weight: 900;
    width: 90%;
    color: white;
    -webkit-text-stroke-width: 0.5px; 
    -webkit-text-stroke-color: #e30713; 
}

.dates h1, .policy h1, .gift h1 {
    font-size: 1.2rem;
    color: #EA4C15;
    padding: 20px 10px 20px 10px;
    margin: 0;
}

.dates {
    grid-area: dates;
    display: grid;
    grid-template-columns: 20% 1fr 1fr 1fr;
    grid-template-areas: 
    "headline headline headline headline"
    "par par par par"
    "excl1 dates2020 dates2020 dates2020";
}

.dates h1 {
    grid-area: headline;
}

.dates ul {
    grid-area: dates2020;
    
    justify-self: center;
   
}

.dates p {
    grid-area: par;
    padding: 20px 10px 0 10px;
}

.fas {
    color: #EA4C15;
    font-size: 4rem;
}

.warning1 {
    grid-area: excl1;
    align-self: center;
    text-align: center;
}

.dates2020 {
    padding-left: 0;
    font-size: 0.9rem;
    margin: 0;
    color: #EA4C15;
}


.warning2 {
    display: none;
}

.infos {
    grid-area: infos;
}

.infos h2 {
    display: none;
}

.infos img {
    width: 100%;
}

.infos a, form a {
    color: #EA4C15;
    font-weight: bolder;
}

.infos p {
    padding: 20px 10px 0 10px;
}

input[type=text], input[type=email], input[type=tel], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}

#radio span {
      display: inline-block;
      background-color: #EA4C15;
      border-radius: 5px;
      margin: 10px;
      padding: 1%;
      color: white;    
}
  
label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

#terms, #gdpr {
    width: 1.3em;
    height: 1.3em;
    background-color: white;
    border-radius: 50%;
    vertical-align: middle;
    border: 2px solid black;
    -webkit-appearance: none;
    cursor: pointer;
}

#terms:checked {
    background-color: #ea4c15;
}

#gdpr:checked {
    background-color: #ea4c15;
}
  

  
.g-recaptcha {
    background-color: #EA4C15;
    color: white;
    margin-top: 3%;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    font-size: 1rem;
}
  
.container {
    grid-area: tr-form;
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 5px;
    border: 1px solid black;
}
  
.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}
  
.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}
  
  /* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}
  
  /* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .dates2020 span {
        display: none;
    }
    
    .container {
        width: 90%;
        margin: 10px auto;
    }
    .col-25, .col-75 {
      width: 100%;
      margin-top: 0;
    }


    #radio span {
        display: block;
    }
}

@media all and (min-width: 601px) and (max-width: 992px) {
    #radio span {
        display: block;
        width: 70%;
        
    }
}


.infos2 {
    grid-area: infos2;
}

.infos h2 {
    display: none;
}

.infos2 p {
    padding: 20px 10px 0 10px;
}

.policy {
    grid-area: policy;
    padding: 20px 10px;
}

.policy h1 {
    font-size: 1.2rem;
    color: #EA4C15; 
    margin: 0;
    padding: 20px 10px 20px 10px;  
}

.policy ul {
    margin: 0;
    padding: 0 0 0 10px;
    margin: 0;
    padding: 0 0 0 20px;
    list-style-image: url(../img/bullets.jpg);
    line-height: 2;
}

.policy ul li {
    margin: 0;
    padding: 0;
}

.policy a {
    color: #EA4C15;
    font-weight: bolder;
}


.motto2 {
    grid-area: motto2;
    background-color: #EA4C15;
    color: white;
    padding: 0;
    width: 100%;
}

.motto2 h1 {
    font-size: 1rem;
    margin: 0;
    padding: 3% 0;
    text-align: center;
    font-style: italic;
}

.contact {
    grid-area: contact;
    margin: 0;
    padding: 0;
}

.contact-head {
    grid-area: contact-head;
}

.contact p {
    padding: 20px 10px 0 10px;
}

.contact a {
    color: #ea4c15;
    font-weight: bolder;
}

.gift {
    grid-area: gift;
    background-color: white;
    color: black;
    text-align: left;
    padding: 10px;
    line-height: 1.5;
    display:grid;
    grid-template-areas: 
    "gh1 gimg"
    "gp gp";
}

.gift img {
    grid-area: gimg;
    width: 80px;
    justify-self: right;
}

.gift p {
    grid-area: gp;
}

.gift h1 {
    grid-area: gh1;
}

.gift a {
    color:#ea4c15;
    font-weight: bolder;
}

footer {
    grid-area: footer;
    background-color: black;
    width: 100%;
    position: relative;
    top: 50px;
}

footer nav {
    display: grid;
    width: 100%;
    grid-template-columns: 50% 50%;
    grid-template-areas: 
    "foo1 foo3"
    "foo2 foo5"
    "foo4 foo6";
    color: white;
    padding: 2%;
    gap: 10px;
}

.foo1 {
    grid-area: foo1;
}

.foo2 {
    grid-area: foo2;
}

.foo3 {
    grid-area: foo3;
}

.foo3 span {
    background-color: #EA4C15;
    border-radius: 5px; 
    padding: 3%;
}

.foo4 {
    grid-area: foo4;
}

.foo5 {
    grid-area: foo5;    
}

.foo6 {
    grid-area: foo6;   
}

footer a {
    text-decoration: none;
    color: white;
    margin: 0 20px;
    font-size: 1rem;
}

@media all and (min-width: 420px) and (max-width: 480px) {
    .dates h1, .gift h1, .policy h1 {
        font-size: 1.4rem;
    }
    
    .motto2 h1 {
        font-size: 1.1rem;
    }

    .dates p, .infos p, .infos2 p, .dates p, .dates2020 li, .policy, .policy li,.contact p, .gift p {
        line-height: 2;
        font-size: 1rem;
    }

    .warning2 {
        display: none;
    }

    .dates2020 li {
        margin: 0;
    }

    .infos h2 {
        display: none;
    }
    
    .foo3, .foo5, .foo6 {
        text-align: right;
    }
}

@media all and (min-width: 481px) and (max-width: 768px) {

    .mobile-menu {
        grid-area: header;
        display: grid;
        grid-template-columns: 80px 1fr 1fr 120px;
        grid-template-areas: 
        "logo school school menu"
        ". . dropdownitem dropdownitem";
        background-color: #EA4C15;
        height: 50px;
        width: 100%;
        text-align: center;
    }    

   
    #school {
        grid-area: school;
        display: block;
        font-size: 1.1rem;
        margin: 0;
        padding: 0;
        color: white;
        align-self: center;
        text-align: center;
    }

    .dates h1, .gift h1, .policy h1 {
        font-size: 1.4rem;
        padding-left: 30px;
    }

    .infos {
        text-align: center;
    }
    
    .infos h2 {
        display: none;
    }

    .infos img {
        width: 70%;
    }

    .infos p {
        text-align: left;
    }

    .container {
        width: 90%;
        margin: 10px auto;
        padding: 10px;
    }

    .motto2 h1 {
        font-size: 1.1rem;
    }

    .policy h1{
        font-size: 1.8rem;
        padding-left: 30px;
        text-align: left;
    }

    .policy p{
        line-height: 2;
        text-align: left;
        font-size:1.2rem;
    }

    .policy li {
        line-height: 2;
        font-size:1.2rem;
    }

    .gift img {
        width: 130px;
        justify-self: center;
    }

    .dates p, .infos p, .infos2 p, .dates p, .dates2020 li, .policy, .policy li,.contact p, .gift p {
        line-height: 2;
        font-size: 1.2rem;
    }

    .foo3, .foo5, .foo6 {
        text-align: right;
    }

    footer a {
        font-size: 1.1rem;
    }
}

@media all and (min-width: 769px) {

    .mobile-header {
        display: none;
    }

    .desktop-header {
        grid-area: header;
        display: grid;
        grid-template-columns: repeat(5,1fr);
        grid-template-areas: 
        "logo2 school2 school2 school2 social"
        "menu menu menu menu menu";
        width: 100%;
        background-color: #ea4c15;
    }

    .desktop-header div {
        grid-area: social;
        text-align: right;
        padding: 10px;
    }

    .desktop-header div a {
        padding: 10px;
        font-size: 40px;       
        text-align: center;
    }
    #yt2 {
        color: white;        
        font-size: 35px;
        width: 50px;
        height: 40px;
        background-color: black;
        border-radius: 10px;
        margin: 0 auto 0 auto;
        padding:2px;
        justify-self: center;
        align-self: center;
    }

    #fb2 {
        color: white;
        font-size: 35px;
        margin: 0 auto 0 auto;
        width: 40px;
        height: 40px;
        background-color: black;
        border-radius: 10px;
        align-self: center;
        padding: 2px;
        justify-self: center;
    }

    .mainMenu2 {
        grid-area: menu;
        display: grid;
        grid-template-areas:
        "li1 li2 li3 li4 li5";
        background-color: #ea4c15;
        color: white;
        top: 50px;
        width: 100%;
        height: 40px;
        text-align: center;
        padding:0;
        margin: 0;
    }

    .logo2 {
        grid-area: logo2;
        height: 60px;
        align-self: flex-end;
    }

    #school2 {
        grid-area: school2;
        font-size: 1.4rem;
        margin: 0;
        padding: 0;
        color: white;
        align-self: center;
        text-align: center;
    }

    .mainMenu2 a {
        color: white;
        padding: 0;
        margin: 0;
        font-size: 1.3rem;
        border-right: 2px solid #EA4C15;
        background-color: black;
        align-self: center;
        border-bottom: none;
    }

    .mainMenu2 a:nth-child(5){
        border: none;
    }

    .nav1 {
        grid-area: li1;
    }

    .nav2 {
        grid-area: li2;
    }

    .nav3 {
        grid-area: li3;
    }

    .nav4 {
        grid-area: li4;
    }
    
    .nav5 {
        grid-area: li5;
    }

    .nav5 {
        border:none;
    }

    main {
        grid-area: main;
        display: grid;
        width: 100%;
        grid-template-columns: 5% 30% 30% 30% 5%;
        grid-template-areas:
        "motto motto motto motto motto"
        ". dates dates dates ."
        ". infos infos infos ."
        "tr-form tr-form tr-form tr-form tr-form"
        ". infos2 infos2 infos2 ."
        ". policy policy policy ."
        "motto2 motto2 motto2 motto2 motto2"    
        ". contact contact contact ."
        ". gift gift gift .";
    }

    .dates {
        grid-area: dates;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-areas: 
        "headline headline headline headline"
        "par par par par"
        "excl1 dates2020 dates2020 excl2";
    }

    .warning1 {
        text-align: right;
    }
    .warning2 {
        display: grid;
        grid-area: excl2;
        align-self: center;
    }

    .dates2020 {
        padding: 0;
    }

    .dates h1, .gift h1, .policy h1 {
        font-size: 1.4rem;
        padding-left: 30px;
    }

    .infos {
        text-align: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
        "online online"
        "infoimg firstpar"
        "secondpar secondpar";

    }

    .infos h2 {
        display: none;
    }

    .infos img {
        grid-area: infoimg;
        align-self: center;
    }


    .firstpar {
        grid-area: firstpar;
        text-align: left;
        align-self: center;
    }

    
    .secondpar {
        grid-area: secondpar;
        text-align: center;
    }

    .container {
        width: 90%;
        margin: 10px auto;
        padding: 10px;
    }

    .motto {
        display: none;
    }

    .motto2 h1 {
        font-size: 1.2rem;
        padding: 0;
    }
    
    .motto2 {
        padding: 1%;
    }

    .policy h1{
        font-size: 1.8rem;
        padding-left: 30px;
        text-align: left;
    }

    .policy p{
        line-height: 2;
        text-align: left;
        font-size:1.2rem;
    }

    .policy li {
        line-height: 2;
        font-size:1.2rem;
    }

    .gift img {
        width: 130px;
        justify-self: center;
    }

    .dates p, .infos p, .dates p, .dates2020 li, .policy, .policy li,.contact p, .gift p {
        line-height: 2;
        font-size: 1.2rem;
    }

    .contact p {
        text-align: center;
    }

    footer nav {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: 
        "foo1 foo3 foo5"
        "foo2 foo4 foo6";
        gap: 10px;
        text-align: center;
    }

    .foo3 span {
        padding: 2%;
    }
    footer a {
        font-size: 1.3rem;

    }

}




