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

/* RESET CSS BEGIN */

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;
}
/*Reset CSS END*/


/* fonts
font-family: 'Fredoka One', cursive;
font-family: 'Noto Sans JP', sans-serif;
*/



/* colors
#0A2463
#FB3640
#605F5E
#247BA0
#E2E2E2
#020202
*/






/* Global Styles*/
* {
    margin: 0;
    padding: 0;
     box-sizing: border-box;
}

h1 {
    color: #247ba0;
    font-family: 'Fredoka One', cursive;
    text-align: center;
    font-size: 50px;
    line-height: 54px;
    vertical-align: middle;
}

h2 {
    color: #FB3640;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
    font-size: 30px;
    line-height: 34px;
}

p {
    color: #020202;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
    font-size: 20px;
    line-height: 24px;
    padding: 10px 0px;
}
h3 {
    color: #020202;
    font-family: 'Noto Sans JP', sans-serif;
    text-align: left;
    font-size: 24px;
    line-height: 34px;
    font-style:oblique;
    padding-top: 30px;
}
a {
    color: #FB3640;
    text-decoration: none;
  }
a:hover {
    color: #605F5E;
    text-decoration: underline;
  }
a:visited {
    color: #FB3639;
  }
  ol {
        list-style-type: none;
    margin: 0;
    padding-left: 50px;
  }
  li {
          color: #020202;
      font-family: 'Noto Sans JP', sans-serif;
      text-align: left;
      font-size: 16px;
      line-height: 20px;
      padding: 10px 0px;
  }
  
  .fas fa-plus {
      padding-right: 5px;
  }


.wrap1 {
    padding: 200px 0px;
}
/*  NAVIGATION START */
nav {
  background-color: #0A2463;  
}

.nav {
    margin: 0 auto;
    max-width: 1200px;
    
}
.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: sticky;
    top: 0;
  }
  
  .nav li {
    float: left;
  }
  
  .nav li a {
    display: block;
    color: #E2E2E2;
    text-align: center;
    padding: 10px;
    text-decoration: none;
  }
  
  .nav li a:hover {
    background-color: #605F5E;
    border-radius: 8px;
  }
  
  .nav .active {
    background-color: #247ba0;
    border-radius: 8px;
  }

  /*  NAVIGATION END */

/*    FLOAT LESSON  START   Left HTML line 24  Right line 35   */
.wrap2 {

    margin: 0 auto;
    max-width: 1200px;
    padding: 50px;
    
}
.ins li {
    list-style-type: decimal;
}
.img1 {
    float: left;
    padding-right: 20px;
    padding-bottom: 20px;
    height: 400px;
}

.foodright {
    float: right;
    padding: 20px;
}

.imgfloatexample {
    float: left;
    padding: 20px;
    height: 200px;
}
.flex {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: start;
    border: 3px solid #FB3640;
  }




.example2 {
    border: 3px solid #FB3640;
    display: block;
    overflow: auto;
}



  .example1 {
    border: 3px solid #FB3640;
}






.cover-text {
    z-index: 10;
    font-size: 16px;
}
.textcolumns {
    padding-top: 20px;
    align-items: center;
    overflow: auto;
}

.left {
    width: 400px;
    height: 300px;
}



.left2 {
    width: 200px;
    height: 200px;
}

.right {
    margin-left: 250px;
    margin-top: -50px
}
.right2 {
    margin-left: 250px;
}

.try {
    height: 200px;
      float: left;
}

hr {
  border: 5px solid #247BA0;
  border-radius: 5px;
    width: 75%;
    margin: 35px auto;
    

}

/*    VALUES  END   */

/*    PUTTING IT ALL TOGETHER  START   */
.piat {
    
}



.center {
  display: block;
  margin: auto;
  min-width: 25%;
    max-width: 60%;
    padding-top: 50px;
}
.center1 {
    display: block;
    margin: 0 auto;
    width: 560px;
      
  }
.imgcenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

iframe {
    padding: 30px;
}


/* Clear floats columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


.imgcss {
  padding-top: 30%;
}

/* SECTIONS*/

header {
    background-color: #E2E2E2;
}
main {
        background-color: white;

}

/* FOOTER */

.copyright .container {
    padding: 40px;
}

section.copyright p {
    margin-bottom: 0;
    color: #E2E2E2;
}

.copyright {
    background-color: #0A2463;
    text-align: center;
    font-size: 15px;
}

.inline {
    display: inline-block;
    vertical-align: middle;

}

.cr,
.me {
    margin-right: 40px;
}

.yt,
.tw {
    margin-right: 40px;
    width: 30px;
    

}

.cr:after,
.me:after {
    content: "";
    border: 1px solid #555555;
    margin-left: 30px;
}






