@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Slackey&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Lato' , sans-serif;
    line-height: 1.6; 
    margin: 0;
    background-color: #ececec;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, a {
    color: #34495e;
}

.topnav {
    width: 1440px;
    background-color: #fff; 
    margin: 0 auto;
   justify-content: space-between;
    padding: 1.5em 0;
}

.topnav, .main-nav {
    display: flex;
}

.main-nav {
    margin: 0 auto;
    padding: 10px 0;
}

.logo {
    margin: 0;
    font-size: 3em;
    font-family: 'slackey' , cursive;
    padding-left: 100px;
}

.main-nav a {
    padding: 10px 15px;
    /*border: 1px solid red;*/
    display: block;
    text-decoration: none;
    /*text-transform: uppercase;*/
}

.main-nav a:hover {
    color: #ff0aba
}

.main-nav li a:hover {
    display: block;
    background-color: #ccc;
}

header {
    background-image: url("../images/door.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 1440px;
    height: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 100px;
}

header h1 {
    font-family: 'slackey' ,cursive;
    font-size: 60px;
    color: white;
    text-align: center;
    padding: 50px;  
}

.center{
    margin: 0 auto;
}

.cta {
    background-color: #5ced74;
    padding: .35em 1em;
    display: inline-block;
    border-radius: 18px;
    font-size: 24px;  
    text-decoration: none;
    color: #000;
   
    
}

.cta:hover {
    color: #fff;
}

.trio {
    width: 1440px;
    background-color: #9dddfb;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    font-weight: 700;
    font-size: 45px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px #000;
}

.trio-box{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 25%;
    padding: 125px 0;
    margin: 0 10px;
    border-radius: 10px;
}

.trio-one {
    background-image: url("../images/skaters.jpg");
}

.trio-two {
     background-image: url("../images/lab.jpg");
}

.trio-three {
    background-image: url("../images/galaxylounge.jpg");
}

.row {
    width: 1440px;
    margin: 0 auto;
    display: flex;
}

.row h2 {
    font-family: 'slackey' ,cursive;
    font-size: 40px;
    color: #000;
    margin: 0;
}

.row p {
    font-family: 'lato', sans serif;
    font-size: 17px;
}

.balloons-bg {
    background-image: url("../images/balloons.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 50%;
    order: 2;
}

.birthday-parties {
    background-color: #c05dd9;
    padding: 125px 150px;
    width: 50%;
    
}

.food-drinks {
    background-color: #85ccc9;
    padding: 125px 150px;
    width: 50%;
}

.summer-camp {
    background-color: #f9fe94;
    padding: 125px;
    width: 50%;
}

.camp-bg {
    background-image: url("../images/campkids.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 50%;  
    order: 2;
}

.burger-bg {
    background-image: url("../images/burger.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    width: 50%;
}

.card {
    width: 1440px;
    margin: 0 auto;
    background-image: linear-gradient(#8f71ff, #8bdfff);
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding: 100px 0;
    
}

.card-box {
    width: 25%;
    border-radius: 10px;
    margin: 0 10px; 
    background-color: #fff;
    text-align: center;
    overflow: hidden;
}

.card-box h2 {
    font-weight: 700;
    font-size: 45px;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px #000;
    padding: 50px 0;
    margin: 0;
}

.card-box p {
    padding: 10px 20px;
}

.funtazmic h2 {
    background-image: url("../images/skaters.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.extremefun h2 {
    background-image: url("../images/lab.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.ultimatefun h2 {
    background-image: url("../images/galaxylounge.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
    width 1440px;
    height: 618px;
}

.griditem {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ccc;
    width: 20%
}

.grid-item1 {
    background-image: url("../images/photo_1.jpg");
}

.grid-item2 {
    background-image: url("../images/photo_2.jpg");
}

.grid-item3 {
    background-image: url("../images/photo_3.jpg");
}

.grid-item4 {
    background-image: url("../images/photo_4.jpg");
}

.grid-item5 {
    background-image: url("../images/photo_5.jpg");
}

.grid-item6 {
    background-image: url("../images/photo_6.jpg");
}

.grid-item7 {
    background-image: url("../images/photo_7.jpg");
}

.grid-item8 {
    background-image: url("../images/photo_8.jpg");
}

.grid-item9 {
    background-image: url("../images/photo_9.jpg");
}

.grid-item10 {
    background-image: url("../images/photo_10.jpg");
}

footer {
    width: 1440px;
    margin: 0 auto;
    padding: 4% 0 1% 0;
    background: linear-gradient(180deg, #ba0fcf 0%, #fd80db 100%);
    display: flex;
    align-items: center;
    flex-direction: column;
    color: white;
}

.info {
    display: flex;
    justify-content: space-between;
    width: 80%;
    padding: 2% 0 4% 0;
}

.footer img {
    filter: drop-shadow (0 4px 0 rgba(255, 255, 255, 1))
    padding-bottom: 2%;
    }

ul {
    text-align: right;
}

.address {
    text-align: center;
    
}

.footer li {
    list-style: none;
    font-weight: bold;
}

.footer a {
    color: white;
}

.copy {
    font-size: 10px;
}










