/* KIDSTEAM CSS STYLESHEET *****

  This is the stylesheet that
  gives customization directions
  to the Kidsteam web page.
	
	Author: Tyler French
 
***************************** */

/* Table of Contents ***********

  1. Scaling
  2. HTML
  3. General
  4. Header
  5. Navigation Bar
      5A. Desktop Navbar
      5B. Mobile Navbar
  6. Body
  7. Footer
  8. Misc.
  
***************************** */

/* 1. SCALING *************** */
  @media screen and (max-width: 1450px) { /* For: Smaller Desktop Browsing */
    ul li a {
      font-size: 14px; 
    }
    
    ul li {
      margin-left: 30px;
    }
    
    #mob-nav {
      display: none;
    }
    
    body header {
  		height: 160px;
  	}
   
    header #logo {
     width: 200px;
     margin-top: 50px;
    }
    
    div .change .bar1 {
    	-webkit-transform: rotate(-45deg) translate(-9px, 14px);
    	transform: rotate(-45deg) translate(-9px, 14px);
    }
  
    div .change .bar3 {
    	-webkit-transform: rotate(45deg) translate(-8px, -16px);
      transform: rotate(45deg) translate(-12px, -16px);
    }
  }

  @media screen and (min-width: 1175px) {
    #mob-nav {
      display: none !important;
    }
  }

  @media screen and (max-width: 1175px) {  /* For: iPad Pro */
    div .mobile-menu {
  		visibility: visible;
  	}
   
    header #logo {
      width: 100px;
      margin-top: 35px;
    }
  	
  	#navbar {
  	  visibility: hidden;
  	}
   
    div #navbar #nav-logo {
      display: none;
    }
    
    div .change .bar1 {
    	-webkit-transform: rotate(-45deg) translate(-9px, 12px);
    	transform: rotate(-45deg) translate(-9px, 12px);
    }
  
    div .change .bar3 {
    	-webkit-transform: rotate(45deg) translate(-8px, -16px);
      transform: rotate(45deg) translate(-12px, -16px);
    }
  }
  
  @media screen and (max-width: 800px) {  /* For: iPad, Some mobile phones */
  	div.footer-wrapper {
  		font-size: 12px;
  	}
  	
  	div.top-footer {
  		height: 160px;
  	}
   
    div.top-footer h2 {
      font-size: 18px;
    }
    
    div.bot-footer {
      font-size: 10px;
    }
  }
  
  @media screen and (max-width: 450px) { /* For: Almost all mobile phones */
  	div.footer-wrapper {
  		font-size: 8px;
  	}
  	
  	div.top-footer {
  		height: 120px;
  	}
   
    div.top-footer h2 {
      font-size: 10px;
    }
  	
  	body header {
  		height: 120px;
  	}
  	
  	header #logo {
  		width: 80px;
  		margin-left: 30px;
  		margin-top: 25px;
  	}
   
    div.mobile-menu {
      right: 50px;
      top: 40px;
    }
   
    div .bar1, div .bar2, div .bar3 {
      width: 40px;
      height: 6px;
      margin: 8px 0;
    }
    
    div .change .bar1 {
    	-webkit-transform: rotate(-45deg) translate(-9px, 8px);
    	transform: rotate(-45deg) translate(-9px, 8px);
    }
  
    div .change .bar3 {
    	-webkit-transform: rotate(45deg) translate(-8px, -10px);
      transform: rotate(45deg) translate(-11px, -10px);
    }
   
  }

/* 2. HTML ****************** */
  html {
  	background-color: #f2f2f2;   /* Background is a little darker than white */
  	font-family: OpenSans;       /* OpenSans is default font for this web page */
  	overflow-x: hidden;          /* Show no scroll bar on the x axis */
  }

/* 3. GENERAL *************** */
  h2 {
  	text-decoration: underline;
  }
  
  h1 {
  	font-family: ArialRound;
  	font-size: 50px;
  	font-weight: normal;
  }
  
  @font-face {
  	font-family: OpenSans;
  	src: url(assets/OpenSans.ttf);
  }
  
  @font-face {
    font-family: Sketchy;
    src: url(assets/Sketchy.ttf);
  }
  
  @font-face {
    font-family: ArialRound;
    src: url(assets/ArialRound.ttf);
  }

/* 4. HEADER **************** */
  header {
    height: 200px;
  	background-color: #1d71f7;
  	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	width: 102%;
  	margin-left: -1%;
  	margin-top: -1%;
  }
  
  #logo {
  	width: 250px;
  	position: absolute;
  	margin-top: 70px;
  	margin-left: 90px;
  }

/* 5. NAVIGATION BAR ******** */
/* 5A. Desktop Navigation     */
  #nav-container {
  	z-index: 1;
  }
  
  #navbar .active-me {
    background-color: #ffce70;
  	padding-top: 20px;
  	border-bottom-left-radius: 15px;
  	border-bottom-right-radius: 15px;
  }
  
  #navbar img {
  	width: 100px;
  	position: absolute;
  }
  
  #nav-logo {
  	transition: opacity 0.5s;
    position: absolute;
    left: 160px;
  }
  
  #navbar {
  	height: 70px;
  	float: right;
  	margin-right: 8vw;
  }
  
  #navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  	height: 80px;
  }
  
  #navbar li {
    float: left;
  	background-color: #ffa538;
  	margin-left: 50px;
  	border-bottom-left-radius: 15px;
  	border-bottom-right-radius: 15px;
  	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  	text-decoration: none;
  }
  
  #navbar li a {
    display: block;
    color: black;
  	font-family: OpenSans;
    text-align: center;
  	font-size: 25px;
    padding: 15px 30px;
    text-decoration: none;
  	transition: padding-top .5s, background-color .5s;
  	border-bottom-left-radius: 15px;
  	border-bottom-right-radius: 15px;
  }
  
  #navbar li a:hover:not(.active) {
    background-color: #ffce70;
  	padding-top: 20px;
  	border-bottom-left-radius: 15px;
  	border-bottom-right-radius: 15px;
  	text-decoration: none;
  	color: black;
  }

/* 5B. Mobile Navigation      */
  #mob-nav {
    width: 100%;
    display: none;
    position: absolute;
  }
  
  #mob-nav a {
    background-color: #eee;
    color: black;
    display: block;
    padding: 10px;
    text-decoration: none;
  }
  
  #mob-nav a:hover {
    background-color: #ccc;
  }

  body #mob-nav a {
    text-align: center;
  }
  
  .container-me {
    width: 100%;
  }
  
  .mobile-menu {
  	cursor: pointer;
  	display: inline-block;
    visibility: hidden;
    position: absolute;
    right: 90px;
    top: 50px;
  }
  
  .bar1, .bar2, .bar3 {
  	width: 55px;
  	height: 8px;
  	background-color: #333;
  	margin: 10px 0;
  	transition: 0.4s;
  }
  
  .display {
    display: block !important;
  }
  
  .change .bar1 {
  	-webkit-transform: rotate(-45deg) translate(-9px, 6px);
  	transform: rotate(-45deg) translate(-9px, 6px);
  }
  
  .change .bar2 {
  	opacity: 0; 
  }
  
  .change .bar3 {
  	-webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }

/* 6. BODY ****************** */
  html body {
    background-color: #fbfbfb;
  }

  #main {
  	height: auto;
  	width: 70%;
  	margin-left: 15%;
  	margin-right: 15%;
  	margin-top: 200px;
    margin-bottom: 200px;
  	font-size: 20px;
  }
  
  #main h1 {
  	font-family: ArialRound;
  	font-weight: bold;
  	font-size: 60px;
  }
  
  #sidenote {
    background-color: #ffb83a;
    position: relative;
    text-align: center;
    width: 30%;
    height: 300px;
  }
  
  #centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  #triangle-topleft {
    width: 0;
    height: 0;
    border-top: 50px solid #f2af3a;
    border-right: 50px solid transparent;
  }

/* 7. FOOTER **************** */
.arrow {
  	position: absolute;
  	width: 40px;
  	margin-left: calc(50% - 25.5px);
  	margin-top: -30px;
  	z-index: 5;
  	cursor: pointer;
  }
  
  footer {
  	background-color: #ffad32;
  	width: 102%;
  	margin-left: -1%;
  }
  
  .footer-wrapper {
  	width: 80%;
  	margin-left: 10%;
  	margin-right: 10%;
  	padding-top: 20px;
  	font-size: 18px;
  }
  
  .footer-wrapper a {
  	text-decoration: none;
  	color: #2873ed;
  }
  
  .top-footer {
  	height: 250px;
  	color: white;
  }
  
  .bot-footer {
  	height: 40px;
  	background-color: #f49f1f;
  	padding-top: 10px;
  	text-align: center;
  	color: white;
  }
  
  .arrow-left {
      position: absolute;
      width: 100px;
      height: 100px;
      left: 20px;
      background: #ffad32;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
      border-radius: 10px;
  }
  
  .cover {
  	position: absolute;
  	padding-top: 20px;
  	height: 40px;
  	width: 150px;
  	overflow: hidden;
  	margin-top: -59px;
  	margin-left: calc(50% - 75px);
  	box-sizing: content-box;
  }

/* 8. MISCELLANEOUS ********* */
  .invisible {
  	opacity: 0;
  	transition: opacity 0.5s;
  }
  
  .visible {
  	opacity: 1;
  	transition: opacity 0.5s;
  }
  
  .half {
  	width: 50%;
  	float: left;
  }
  
  #main .carousel-inner img {
    height: 600px;
  }
  
  #main .carousel-inner {
    background-image: url("assets/bg.png");
    background-size: cover;
    text-align: center;
  }
  
  .sticky {
  	position: fixed;
  	top: 0;
  	width: 100%;
  }
  
  .sticky + .content {
  	padding-top: 60px;
  }
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  * {box-sizing: border-box}

/* Full-width input fields */
  input[type=text], input[type=password] {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  display: inline-block;
  border: none;
  background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* Set a style for all buttons */
button {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  opacity: 0.9;
}

button:hover {
  opacity:1;
}

/* Extra styles for the cancel button */
.cancelbtn {
  padding: 14px 20px;
  background-color: #f44336;
}

/* Float cancel and signup buttons and add an equal width */
.cancelbtn, .signupbtn {
  float: left;
  width: 50%;
}

/* Add padding to container elements */
.container {
  padding: 16px;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

/* Change styles for cancel button and signup button on extra small screens */
@media screen and (max-width: 300px) {
  .cancelbtn, .signupbtn {
    width: 100%;
  }
}
