/*
Theme Name: originaltheme
Description : Famm
*/
* {
  margin: 0;
  padding: 0
}

body {
  background-color: #ccc;
  letter-spacing: 0.1em
}

/************ header ************/
header {
  background-color: #00a192;
  padding: 50px;
}

header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.mv {
  text-align: center;
  margin-top: 30px
}

nav ul {
  display: flex;
  list-style: none
}

nav ul li {
  margin-right: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #00a192;
  font-size: 14px;
  display: block;
  width: 200px;
  border-radius: 50px;
  padding: 5px;
  text-align: center;
  background-color: #ff0;
}

/************ main ************/
main {
  padding: 50px;
  position: relative;
}

.section__header {
  position: absolute;
  top: -25px;
  left: calc(50% - 450px);
  width: 900px;
  padding: 30px;
  background-color: #fff
}

h1 {
  color: #00a192;
  font-size: 30px;
  margin-bottom: 25px;
  border-left: 5px #00a192 solid;
  padding-left: 20px;
}

.section__header p {
  text-align: right;
}

section div:nth-of-type(2) {
  margin-top: 100px;
  flex-direction: row-reverse;
}

.section__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px;
}

.section__content h2 {
  font-size: 90px;
  width: 40%;
  text-align: center;
  color: #fff;
  text-shadow: 3px 3px 0 #00a192
}

.section__right {
  width: 55%;
  padding: 50px;
  background-color: #00a192;
  color: #fff
}

.section__content h3 {
  margin-bottom: 30px;
  font-size: 30px;
  border-bottom: 1px #fff solid;
}

.section__content p {
  font-size: 16px;
  line-height: 2em;
}

/************ article ************/

article {
  background-color: #fff;
  padding: 50px;
}

article h2:first-child{
  color: #00a192;
  font-size: 30px;
  margin-bottom: 25px;
  border-left: 5px #00a192 solid;
  border-bottom: 1px #00a192 solid;
  padding-left: 20px;
  padding-bottom: 5px;
}

article h2 a{
  display: block;
  color: #666;
  border-bottom: 1px dotted #666;
  padding-bottom: 5px;
  font-size: 14px;
  margin: 30px 50px;
}

/*aside*/

aside{
  margin: 50px 50px 100px;
  text-align: right;
}

.search-input{
  width: 450px;
  font-size: 20px;
  padding: 5px;
}

.search-submit{
  display: inline-block;
  width: 150px;
  text-align: center;
  font-size: 20px;
  padding: 5px;
  background-color: #00a192;
  color: #fff;
  border: none;
  box-shadow: 0;
  border-radius: 30px;
  margin-left: 20px;
}

/************ footer ************/

footer{
  background-color: #00a192;
  padding: 100px;
  color: #fff;
  font-size: 10px;
  text-align: center;
}

footer a{
  color: #000
}
