/** Common **/

.primary {
    color: #fbb21c;
}

.secondary {
    color: #ff3500;
}

.color1 {
    color: #EDBA51;
}

.color2 {
    color: #c45824;
}

.color3 {
    color: #B34019;
}

.color4 {
    color: #379D8C
}

.color5 {
    color: #385D8D;
}

.color6 {
    color: #387D8D;
}

.terakota {
    color: #c45824;
}

.kobalt {
    color: #385D8D
}

.text-color {
    color: #2E3138;
}

.button {
    padding: 5px 20px;
    display: flex;
    align-items: center;
    height: 30px;
    border-radius: 4px;
    text-decoration: none;
}

.primary-button {
    background-color: #fbb21c;
    color: #fff;
    cursor: pointer;
}

.primary-button:hover {
    background-color: #ff3500;
}

/** end of Common **/


/** Main Page **/
body {
    background-color: #fff7e6;
    /*background-image: url('images/bg.svg');*/
    font-family: "Nunito", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 24px;
    font-size: 18px;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces';
    line-height: 120%;
}

.wrapper {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.coons-logo-link {
    display: flex;
    text-decoration: none;
    color: #000;
}

.coons-text {
    margin-left: 10px;
    font-size: 11px;
    line-height: 16px;
    padding-top: 5px;
    font-weight: 600;
}

.coons-text:active {
    text-decoration: none;
}

#main {
    min-height: calc(100vh - 346px);
    padding-bottom: 20px;
}

.list-with-tick {
    list-style-type: none;
    padding: 0;
}

.list-with-tick-white li {
    background: url('icons/check-white.svg') no-repeat;
    padding-left: 28px;
}

.list-with-tick-black li {
    background: url('icons/check.svg') no-repeat;
    padding-left: 28px;
}

/** end of Main Page **/

/** Header **/
#header {
    display: flex;
    padding-top: 15px;
}

#header-mobile {
    display: none;
}

.nav-item {
    display: flex;
    flex: 1 1 33%;
    font-size: 16px;
}

.nav-item-center {
    justify-content: center;
}

.nav-item-right {
    justify-content: end;
}

#menu ul {
    margin: 0;
    padding: 0;
    display: flex;
}

#menu li {
    padding: 0 4px;
    margin-right: 4px;
    font-weight: 100;
    display: inline;
    flex-shrink: 0;
}

#menu a {
    text-decoration: none;
    color: #000;
    border-bottom-width: 4px;
    border-bottom-style: solid;
    padding: 2px 5px 5px;
    position: relative;
    overflow: hidden;
    display: block;
}

#menu a span {
    z-index: 2;
    position: relative;
}

#menu a:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    z-index: 1;
}

#menu a:hover:before,
#menu .active a:before {
    top: 0;
}

#menu .menu-about-us {
    border-bottom-color: #EDBA51;
}

#menu .menu-about-us:before {
    background-color: #EDBA51;
}

#menu .menu-team {
    border-bottom-color: #c45824;
}

#menu .menu-team:before {
    background-color: #c45824;
}

#menu .menu-services {
    border-bottom-color: #B34019;
}

#menu .menu-services:before {
    background-color: #B34019;
}

#menu .menu-optic {
    border-bottom-color: #379D8C;
}

#menu .menu-optic:before {
    background-color: #379D8C;
}

#menu .menu-miyosmart {
    border-bottom-color: #387D8D;
}

#menu .menu-miyosmart:before {
    background-color: #387D8D;
}

#menu .menu-contact {
    border-bottom-color: #385D8D;
}

#menu .menu-contact:before {
    background-color: #385D8D;
}

#menu a:hover,
#menu .active a {
    color: #fff;
}
/** end of Header **/

/** Header mobile **/
#menu-mobile {
    font-size: 18px;
    position: absolute;
    top: 0;
    left: 0;
    border-right: 2px solid #385D8D;
    background-color: #fff7e6;
    height: 100vh;
    z-index: 10;
    min-width: 20vh;
    padding: 20px;
}

.menu-mobile-closed {
    display: none;
}

#menu-mobile ul {
    margin: 0;
    margin-top: 30px;
    padding: 0;
    list-style-type: none;
}

#menu-mobile li {
    padding: 5px 0;
    font-weight: 100;
}

#menu-mobile a {
    text-decoration: none;
    color: #000;
    border-left: 5px solid #EDBA51;
    padding-left: 10px;
}

#menu-mobile .menu-about-us {
    border-left-color: #EDBA51;
}

#menu-mobile .menu-team {
    border-left-color: #c45824;
}

#menu-mobile .menu-services {
    border-left-color: #B34019;
}

#menu-mobile .menu-optic {
    border-left-color: #379D8C;
}

#menu-mobile .menu-miyosmart {
    border-left-color: #387D8D;
}

#menu-mobile .menu-contact {
    border-left-color: #385D8D;
}

#menu-button-mobile svg {
    height: 32px;
    width: 32px;
}

#menu-mobile-close {
    text-align: right;
}

.nav-item-mobile {
    justify-content: space-between;
    display: flex;
    flex-grow: 1;
}

.nav-item-mobile-center {
    justify-content: center;
}

.nav-item-mobile-right {
    justify-content: end;
}

#header-mobile {
    padding: 20px;
}

@media (max-width: 1024px) {
    #header {
        display: none;
    }

    #header-mobile {
        display: flex;
    }
}

@media (max-width: 640px) {
    #header-mobile .coons-text {
        display: none;
    }
}
/** end of Header mobile **/

/** Main Banner **/
#banner {
    /* background: url('images/main_yellow.png') no-repeat; */
    width: 100%;
    /* background-size: cover; */
    margin-top: 30px;
    position: relative;
}

#banner-text {
    font-size: 72px;
    font-weight: bold;
    width: 285px;
    color: #385D8D;
    position: absolute;
    top: 55px;
    left: 60px;
    z-index: 3;
    font-family: 'Fraunces'
}

#banner-blob {
    position: absolute;
    z-index: 2;
    width: 400px;
    height: 400px;
}

#banner-bg {
    width: 100%;
    position: relative;
    line-height: 0;
}

#banner-curves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

@media (max-width: 1024px) {
    #banner-curves svg {
        height: 60px;
    }
}

@media (max-width: 640px) {
    #banner-curves svg {
        height: 30px;
    }
}

#banner-bg img {
    width: 100%;
}

#banner-content {
    padding: 20px;
    padding-top: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #fbb21c;
}

#banner-content a {
    color: #000;
}

#banner-content a:hover {
    color: #c45824;
}

.banner-header {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 20px;
}

#banner-header {
    font-size: 36px;
    color: #fff;
    line-height: 36px;
}
/** end of Main Banner **/

/** Section **/
.section {
    display: flex;
}

@media (max-width: 1024px) {
    .section {
        flex-direction: column;
    }
}

.section-text {
    padding: 20px;
    padding: 20px 40px;
    color: white;
    /* border-top-right-radius: 8px; */
    /* border-bottom-right-radius: 8px; */
}

.section-header {
    font-weight: 300;
    font-size: 48px;
    line-height: 48px;
    color: #006e61;
    margin-top: 0;
}

.section-content {
    position: relative;
    height: 700px;
}

#centrum {
    margin-top: 100px;
}

#centrum-image {
    width: 100%;
    line-height: 0;
}

#centrum-image img {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

#centrum-text {
    background-color: #385D8D;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;;
}

/** end of Section **/

/** Box **/

.box {
    margin: 100px auto;
    width: 800px;
}

.box-header {
    font-size: 28px;
    width: 50%;
    margin-left: 50%;
}

.box-content {
    display: grid;
    grid-template-columns: 50% 50%;
    color: #fff;
}

.box-content a {
    color: #fff;
}

.box-text-bottom {
    padding: 0 20px 20px;
}

.box-text-top {
    padding: 20px;
}

.box-image {
    width: 100%;
    border-radius: 8px;
}

.box-image-wrapper {
    width: 120%;
    position: relative;
}

.box-top-left {
    left: -25%;
    bottom: 25%;
}

.box-bottom-right {
    right: -5%;
    top: 5%;
}

@media (max-width: 1024px) {
    .box {
        width: 100%;
        max-width: 800px;
    }

    .box-header {
        font-size: 28px;
        width: 100%;
        margin-left: 0;
    }

    .box-image-wrapper {
        position: static;
        width: 80%;
        margin: 0 auto;
        padding: 20px;
    }

    .box-content {
        display: flex;
        flex-direction: column;
    }
}

#kids .box-content {
    background-color: #379D8C;
}

#kids .box-content a:hover {
    color: #854a94;
}

#services {
    margin-top: 135px;
    margin-bottom: 200px;
}

#services .box-content {
    background-color: #B34019;
}

#services .box-content a:hover {
    color: #fbb21c;
}

#services .box-text-bottom ul {
    margin-top: 0;
}

.services-list {
    list-style-type: none;
    padding: 0;
}

.services-list li {
    background: url('icons/check-white.svg') no-repeat;
    padding-left: 28px;
}

/** Team **/
#team {
    display: flex;
    flex-direction: column;
}

.team-photo {
    line-height: 0;
    float: left;
    margin-right: 20px;
}

#team .team-photo img {
    max-width: 140px;
    width: 100%;
}

.team-desc {
    margin-bottom: 50px;
}

.team-desc h2 {
    margin-top: 10px;
}

.team-member-link {
    color: #c45824;
}

.team-member-link:hover {
    color: #385D8D;
}
/** end of Team **/

/** Team member **/
#team-member {
    display: flex;
    flex-direction: column;
    margin-top: 24px;
}

#team-member h1 {
    margin-top: 10px;
}

#team-member .team-photo img {
    max-width: 280px;
    width: 100%;
}

@media (max-width: 560px) {
    #team-member .team-photo {
        float: none;
        text-align: center;
    }
}
/** end of Team member **/

/** MiYOSMART **/
#miyosmart {
    padding-bottom: 20px;
    border-bottom: 1px solid #fbb21c;
}

#miyosmart-logo {
    text-align: center;
    margin-top: 50px;
}

#miyosmart-logo img {
    width: 50%;
    height: 100%;
}

.miyosmart-content {
    display: flex;
    gap: 20px;
}

#miyosmart-kids img {
    width: 30%;
    height: 100%;
}

#miyosmart-dims img {
    width: 50%;
    height: 100%;
}

@media (max-width: 1024px) {
    #miyosmart-kids img {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .miyosmart-content {
        display: block;
    }

     #miyosmart-kids img {
        width: 50%;
     }
}

@media (max-width: 480px) {
    #miyosmart-logo img {
        width: 100%;
    }

     #miyosmart-kids img {
        width: 100%;
     }

     #miyosmart-dims img {
        width: 100%;
     }
}
/** end of MiYOSMART **/

/** Contact details **/
#contact-details {
    display: flex;
}

@media (max-width: 1024px) {
    #contact-details {
        flex-direction: column;
    }
}

#contact-form {
    padding: 20px;
    padding-left: 0;
    flex-basis: 50%;
}

#contact-map {
    flex-basis: 50%;
}

.contact-with-icon {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-with-icon svg {
    width: 32px;
    height: 32px;
}
/** end of Contact details **/

/**. Contact **/
#contact {
    border-top: 4px solid #fbb21c;
    background-color: #385D8D;
}

#contact-logo {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}

#contact-logo img {
    width: 25%;
}

#contact-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    color: white;
    font-size: 16px;
}

#contact-wrapper > div {
    width: 30%;
}

#contact-wrapper > #contact-logo {
    width: 40%
}

@media (max-width: 640px) {
    #contact-wrapper {
        flex-direction: column;
    }

    #contact-wrapper > div,
    #contact-wrapper > #contact-logo {
        width: 100%;
    }

    #contact-wrapper > #contact-logo {
        margin-bottom: 20px;
    }

    #contact-open-hours {
        margin-top: 20px;
    }
}

.email > span:nth-child(2) {
    display: none;
}
/** end of Contact **/
