/* Box Model Hack */
*, *:before, *::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 16px;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/

body, html {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #161f2a;
}

/******************************************
/* LAYOUT
/*******************************************/
header {
  width: 100%;
  height: 10%;
  padding: 0 3rem;
  color: white;
}

.karate {
  background-image: linear-gradient(180deg, rgba(2,0,36,0) 0%, rgba(102,118,138,0.9164799708946079) 0%, rgba(4,4,4,0.6419125416239755) 100%) , url("https://www.shendragonvi.com/wp-content/uploads/2017/06/st-thomas-karate-dojo-8.jpg");
  height: 100%;
}

.first {
  width: 100%;
  height: 90%;
  background-size: cover;
  padding: 0 8rem;
}

.second {
  width: 100%;
  height: 55%;
  text-align: center;
  padding: 0 23rem;
  background: white;
}

.third {
  width: 100%;
  height: 100%;
  background: #dbdfe2;
}

.fourth {
  width: 100%;
  height: 70%;
  text-align: center;
  padding: 0 25rem;
  background: white;
}

footer { 
  width: 100%;
  height: 40%;
  background: #161f2a;
  color: white;
  padding: 2rem 3rem 0 3rem;
}

.foot-top {
  width: 100%;
  height: 75%;
  border-bottom: 1px solid white;
}

.foot-bot {
  width: 100%;
  height: 25%;
}

.foot-left{
  height: 100%;
  width: 20%;
  float: left;
}

.foot-right {
  height: 100%;
  width: 20%;
  float: right;

}

/******************************************
/* ADDITIONAL STYLES
/*******************************************/
a {
  text-decoration: none;
}

.menu-left, .menu-logo, .menu-right {
  display: inline-block;
  margin-top: 1.8rem;
}

.menu-left a, .menu-right a {
  color: white;
  font-weight: bold;
}

.menu-right a{
  border-radius: 10%;
  padding: .75rem .5rem;
  margin-top: 2rem;
  background: white;
  color: #66768a;
}

.menu-right {
  margin-left: 75%;
}

.menu-left {
  margin-right: 2rem;
}

h1 {
  font-size: 3.9rem;
  font-weight: bold;
  color: white;
  margin-top: 10rem;
}

.first p {
  font-size: 1.4rem;
  font-weight: bold;
  color: white;
  text-align: center;
  line-height: 1.7rem;
  margin-top: 4rem;
}

.first a {
  font-size: 1.4rem;
  text-align: center;
  margin-top: 4rem;
  color: white;
}

.first div {
  margin-left: 43%;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.first span {
  margin-left: 43%;
}

.second h2, .fourth h2 {
  font-size: 2.5rem;
  font-weight: bold;
  padding-top: 4.6rem;
  color: #161f2a;
}

.second p, .fourth p {
  font-size: 1.4rem;
  margin-top: 1.2rem;
  line-height: 1.7rem;
  color: #363d47;
}

.third-left, .third-right {
  width: 50%;
  height: 100%;
  float: left;
  text-align: center;
}

.third-left {
  padding: 4rem 1rem 0 10rem;
}

.third-right {
  padding: 4rem 10rem 0 1rem;
}

.box {
  height: 35%;
  width: 80%;
  background-image: url("https://thekarateblog.com/wp-content/uploads/2021/09/79-1-1024x576.jpg");
  background-size: cover;
  margin: auto;
}
.box-2 {
  height: 35%;
  width: 80%;
  background-image: url("https://www.imazakidojo.com/wp-content/uploads/2013/12/2016-04-03_Seijo-Imazaki_13462.jpg");
  background-size: cover;
  margin: auto;
}

.third h3 {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.third p {
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-top: 1.5rem;
}

.btn a{
  font-size: 1.3rem;
  font-weight: bold;
  border: 1px solid #66768a;
  padding: 1rem 3rem;
  color: #161f2a;
}

.btn {
  margin-top: 3rem;
}

footer h4 {
  font-weight: bold;
  color: #4d5b6d;
  margin-top: 1.3rem;
}

h5 a {
  color: white;
  font-weight: bold;
}

h5 {
  margin-top: .4rem;
  display: inline-block;
  margin-right: 1.7rem;
  color: white;
  font-weight: bold;
}

footer p:first-child , .t{
  margin-top: 1rem;
}

footer p {
  line-height: 1.3rem;
}

.bold {
  font-weight: bold;
}