* {
    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;
    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: 5px;
    font-size: 1.4rem;
    text-decoration: none;
}
  
.mobile-dropdown li a:hover{
    text-decoration: none;
    background: #cc1d3a;
}

#school {
    display: none;
}

/*MAIN SECTION*/
main {
    position: relative;
    top: 50px;
    grid-area: main;
    width:100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
    "motto"
    "price"
    "customer"
    "motto2"
    "gift";
}

.price-head, .customer-head, .gift h2 {
    font-size: 1.2rem;
    margin: 0;
    padding: 20px 10px 20px 10px;
    color: #EA4C15;
}

.motto {
    grid-area: motto;
    background-color: black;
    color: white;
    width: 100%;
    margin: 0;
    text-align: center;
    
}

.motto h2{
    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; 
}

.price {
    grid-area: price;
    grid-template-columns: 1fr;
    grid-template-areas:
    "price-head"
    "table"
    "price-p"
    "price-ul";
    margin: 0;
    padding: 20px 10px 0 10px;
}

.price-head {
    grid-area: price-head;
}

.table {
    grid-area: table;
    border: 2px solid #EA4C15;
    border-collapse: collapse;
    width: 98%;
    line-height: 3;
    justify-items: center;
    margin: 5% auto 5% auto; 
    
}

.table td {
    letter-spacing: 0.7px;
    font-size: 0,5rem;
    padding: 1%;
    border: 2px solid #EA4C15;
}

.centered-td{
    text-align: center;
    font-size: 0.5rem;
}

.price-p {
    grid-area: price-p;
    margin: 20px 10px;
}

.price-ul {
    grid-area: price-ul;
    font-size: 0,5rem;
}
.price-ul li {
    line-height: 1.5;
}

.customer {
    grid-area: customer;
    grid-template-columns: 1fr;
    grid-template-areas:
    "customer-head"
    "customer-p"
    "customer-img"
    "customer-ul";
    margin: 0;    
}

.customer-head {
    grid-area: customer-head;
    padding: 30px 10px;
}

.customer-p {
    grid-area: customer-p;
    padding: 0 10px;
    margin: 0;
    line-height: 2;
}

.customer-ul {
    grid-area: customer-ul;
    padding: 20px 10px;
}

.customer-img {
    grid-area: customer-img;
    max-width: 100%;
    padding: 20px 0;
}

.price-ul, .customer-ul {
    margin: 0;
    padding: 0 0 0 40px;
    list-style-image: url(../img/bullets.jpg);
    line-height: 2;
}

.customer a {
    color: #EA4C15;
    font-weight: bolder;
}

.customer-img2 {
    display: none;
}

.motto2 {
    grid-area: motto2;
    background-color: #EA4C15;
    color: white;
    margin: 30px 0 10px 0;
    padding: 0;
    width: 100%;
}

.motto2 h2 {
    font-size: 1rem;
    margin: 0;
    padding: 3% 0;
    text-align: center;
    font-style: italic;
}

.gift {
    grid-area: gift;
    background-color: white;
    color: black;
    text-align: left;
    padding: 10px 10px 10px 20px;
    line-height: 2;
    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 h2 {
    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) {
    .gift h2, .headline h2 {
        font-size: 1.4rem;
    }
    
    .motto2 h2 {
        font-size: 1rem;
    }
    
    .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;
    }

    .motto2 h2 {
        font-size: 1rem;
    }

    .price-head, .customer-head, .gift h2 {
        font-size: 1.4rem;
        padding-left: 30px;
    }

    .price-p, .customer-ul li, .customer-p, .gift p {
        line-height: 2;
    }

    .customer-head {
        margin-top: 5%;
    }

    .customer-img2 {
        display: none;
    }

    .gift img {
        width: 130px;
        justify-self: center;
    }

    .foo3, .foo5, .foo6 {
        text-align: right;
    }
}

@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;
    }

    .price-head, .gift h2 {
        font-size: 1.4rem;
        padding-left: 30px;
    }

    .price-p, .price-ul, .customer-ul, .customer-p, .gift p {
        line-height: 2;
        font-size: 1.2rem;
    }

    main {
        grid-area: main;
        display: grid;
        grid-template-columns: 15% 35% 35% 15%;
        grid-template-areas:
        "motto motto motto motto"
        "price price customer customer"
        "price price customer customer"
        "customer-img2 customer-img2 customer-img2 customer-img2"
        "motto2 motto2 motto2 motto2"
        ". gift gift ."
    }
    
    .motto {
        display: none;
    }

    .motto2 h2 {
        padding: 1%;
        font-size: 1.2rem;
        text-align: center;
    }
    .motto2 {    
        padding: 0;
    }
    .price, .customer {
        padding: 20px 10px 0 10px;
    }
    .table {
        margin: 0 auto 0 auto;
    }

    .table td {
        font-size: 1.2rem;
    }
    .price-p {
        padding-left: 30px;
    }

    .customer-head {
        font-size: 1.4rem;
    }
    .customer-img {
        display: none;
    }

    .customer-img2 {
        grid-area: customer-img2;
        display: grid;
        justify-self: center;
        margin: 30px auto;
        padding: 0;
        border-radius: 25px;
        width: 70%;
    
    }

    .gift img {
        width: 130px;
        justify-self: 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;
    }

    footer a {
        font-size: 1.3rem;
    }

    .foo3 span {
        padding: 2%;
    }
}