/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

@font-face {
    font-family: 'Yolien';
    src: url('Yolien.woff2') format('woff2'),
        url('Yolien.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family:'retro_magicregular';
    src: url('retro_magic_font_by_keithzo-webfont.woff2') format('woff2'),
         url('retro_magic_font_by_keithzo-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}






html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}








/* desktop stuff */

.navbar {
    width: 100%;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
	position: fixed;
  }
  
  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
  }
  
  .navbar .menu-items {
    display: flex;
  }
  
  .navbar .nav-container li {
    list-style: none;
  }
  
  .navbar .nav-container a {
    text-decoration: none;
    color: #0e2431;
    font-weight: 500;
    font-size: 2rem;
    padding: 0.7rem;
  }
  
  .navbar .nav-container a:hover{
      font-weight: bolder;
  }
  
  .nav-container {
    display: block;
    position: relative;
    height: 50px;
  }
  
  .nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
  }
  
  .nav-container .hamburger-lines {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .nav-container .hamburger-lines .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #082334;
  }
  
  .nav-container .hamburger-lines .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line2 {
    transition: transform 0.2s ease-in-out;
  }
  
  .nav-container .hamburger-lines .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
  }
  
  .navbar .menu-items {
    padding-top: 60px;
	padding-bottom: 60px;
    box-shadow: inset 0 0 2000px rgba(255, 255, 255, .5);
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
	background: lightblue;
  }
  
  .navbar .menu-items li {
    margin-bottom: 1.2rem;
    font-size: 3.5rem;
    font-weight: 500;
  }
  
  .logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 1.2rem;
    color: #0e2431;
  }
  
  .nav-container input[type="checkbox"]:checked ~ .menu-items {
    transform: translateX(0);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    transform: rotate(45deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    transform: scaleY(0);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    transform: rotate(-45deg);
  }
  
  .nav-container input[type="checkbox"]:checked ~ .logo{
    display: none;
  }

  .navbar {
    display: none;
  }



@keyframes slidy {
	0% { left: 0%; }
	20% { left: 0%; }
	25% { left: -100%; }
	45% { left: -100%; }
	50% { left: -200%; }
	70% { left: -200%; }
	75% { left: -300%; }
	95% { left: -300%; }
	100% { left: -400%; }
	}
	
	body { margin: 0; } 
	div#slider { overflow: hidden; }
	div#slider figure img { width: 20%; float: left; }
	div#slider figure { 
	  position: relative;
	  width: 500%;
	  margin: 0;
	  left: 0;
	  text-align: left;
	  font-size: 0;
	  animation: 20s slidy infinite; 
	}
	
#slider{
	padding-top:20px;
}

html{
	scroll-behavior: smooth;
}

#container1 {
	background-color: #082334;
	max-width: 1600px;
	margin: auto;
}


img {
	width: 100%;
}

nav {
	width: 66%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

#navbar {
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: #082334;
	position: fixed;
	width: 100%;
	max-width: 1600px;
}

a {
	color: #FFF;
	text-align: center;
    font-family: 'retro_magicregular';
	font-size: 30px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

a:hover {
    color: lightblue;
}

#container2 {
	max-width: 1600px;
	margin: auto;
	background: url(images/bg1.jpg) center center;
	background-size: cover;
	width:fit-content;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom: 15vw;

}

#hero {
	width: 73.19%;
	padding-top: 70px;
}

#info,
#infoh,
#babies,
#toddlers,
#children {
	display: flex;
}



#babies, #toddlers, #children, #footer {
	padding-top: 50px;
}

#babies, #toddlers {
	flex-wrap: wrap;
}

#info {
	justify-content: space-around;
	align-items: center;
	width: 76.375%;
	padding-top: 80px;
	padding-bottom: 149px;
}

#babies {
	justify-content: center;
	align-items: center;
	width: 80%;
	background: url(images/blue.png);
	background-size: contain;
	background-repeat: no-repeat;
	padding-bottom: 15%;

}

#toddlers {
	justify-content: center;
	align-items: center;
	width: 80%;
	background: url(images/purple.png);
	background-size: cover;
	background-repeat: no-repeat;
	padding-bottom: 15%;
}

#children {
	justify-content: center;
	align-items: center;
	width: 80%;
	background: url(images/green.png);
	background-size: 90%;
	background-repeat: no-repeat;
	padding-bottom: 15%;
}

#paragraph {
	display: flex;
	flex-wrap: wrap;
	width: 31.25%;
}

#babies #paragraph, #toddlers #paragraph {
	padding-top: 10vw;
	padding-right: 5vw;
	width: 27.625%;
	padding-left: 10vw
}

#toddlers #paragraph {
	padding-top: 5vw;
	padding-right: 5vw;
	width: 27.625%;
	padding-left: 10vw
}

#children #paragraph{
	padding-top: 15vw;
	padding-right: 10vw;
	width: 20%;
	padding-left: 5vw
}

#button {
	width: 18.56%;
	padding-left: 50px;
	padding-bottom: 100px;
}



h1 {
	color: #082334;
	font-family:'retro_magicregular';
	font-size: 50px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;

}



p {
	color: #082334;
	font-family: 'Fauna One', serif; 
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

#pic1 {
	width: 37.26%;
}

#toddlers h1 {
	font-size: 45px;
}

#footer{
	max-width: 1600px;
	margin: auto;
	background: #082334 url(images/footerbg1.jpg);
	background-size: cover;
	display: flex;
	flex-wrap: wrap; 
	padding-top: 20vw;
	justify-content: space-around;
}



#contact{
	width: 32.875%;
	padding: 25px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#contactus{
	padding-top: 70px;
}

#contact h1{
	color: #FFF;
	text-align: center;
	font-family:'retro_magicregular';
	font-size: 60px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

#contact #button {
	
	padding-top: 40px;
	padding-left: 0px;
	width: 200px;
}

#social{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	width: 58%;
	padding-bottom: 50px;
}

#socialtype p{
	color: #FFF;
	text-align: center;
	font-family: Fauna One;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	padding-bottom: 50px;
}

#button2{
	display:none;
}





@media screen and (max-width: 1275px) {
	h1 {
		font-size: 40px;
	}

	#info #paragraph {
		width: 40%;
	}

	
	#babies #paragraph{
		padding-right: 15vw;
		padding-top: 7vw;
	}
	#toddlers #paragraph{
		padding-right: 3vw;
		padding-left: 20vw;
	}

	#children #paragraph{
		width: 25%;
		padding-top:12vw;
	}

	p{
		font-size: 15px;
	}

	#logo2 {
		display: none;
	}

	#footer{
		justify-content: center;
	}

	#contact {
		width: 60%;
	}

	
}



@media screen and (max-width: 800px) {
	.navbar{
		display:block;
	}
	#navbar{
		display: none;
	}

	#contact #button {
		width: 140px;
	}
}



@media screen and (max-width: 500px) {

	
	

	#hero {
		width: 100%;
	}
	
	#button{
		display: none;
	}

	#button2{
		display:flex;
		visibility: visible;
	}

	#pic1{
		width: 65%;
	}
	#info {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		width: 76.375%;
		padding-top: 50px;
		padding-bottom: 50px;
	}

	#paragraph{
		justify-content: center;
	}
	
	#info #paragraph {
		width: 100%;
		padding-bottom: 50px;
	}

	#babies #pic1, #toddlers #pic1{
		display: none;
	}

	#babies {
		background: url(images2/blue.png) no-repeat;
		background-size: contain;
	}

	#babies #paragraph{
		width: 60%;
		padding-top: 80vw;
	}

	#button2 {
		padding: 50px;
		padding-top: 100px;
	}

	#toddlers {
		background: url(images2/purple.png) no-repeat;
		background-size: contain;
	}

	#toddlers #paragraph {
		width: 50%;
		padding-top: 60vw;
	}

	#children {
		background: url(images2/green.png) center center no-repeat;
		background-size: contain;
		display: flex;
		flex-wrap: wrap;
	}

	#children #pic1{
		display:none;
	}

	#children #paragraph{
		width: 60%;
		padding-top: 100vw;
		padding-left: 60px;
	}

	#contact #button {
		display: flex;
		visibility: visible;
		width: 50%;
		padding-bottom: 10px;
	}

	#apps {
		width: 60%;
	}

	#slider{
		display: none;
	}

	.navbar{
		display: block;
		
	}
}