@import url("https://use.typekit.net/igb0dit.css");
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

body {
    margin: 0;
}

.hero {
    background: #1B453E;
    min-height: 70vh;
    margin: 0;
    overflow: hidden;
    background-image: url(img/bg-01.jpg);
    background-repeat: no-repeat;
    background-position: center right -160px;
    background-size: cover;
    
}

.mobile-hide {
    display: none;
}

ul, li {
    list-style: none;
    padding: 0;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    top: 0;
    padding: 16px 0 18px;
    background: #1B453E;
    box-sizing: border-box;
    z-index: 999;
}

.menu {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    max-width: 1300px;
}

header img {
    max-width: 120px;
}

nav {
    display: flex;
    align-items: center;
}

nav>* {
    margin-left: 44px;
}

nav a {
    transition: color 400ms ease;
}

nav a:hover {
    color: #E87053;
}

.regular {
    font-family: "orpheuspro", serif;
    font-weight: 400;
    font-style: normal;
    
}

.medium {
    font-family: "orpheuspro", serif;
    font-weight: 500;
    font-style: normal;
}

* {
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

a {
    color: #FFF5D9
}

h1, h2 {
    font-family: "orpheuspro", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 56px;
    margin: 0;
    padding: 2px 0 18px
}

h4 {
    font-family: "orpheuspro", serif;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    margin: 0;
    padding: 24px 0 4px
}

h2, p {
    color: #1B453E
}

p.subtitle {
    max-width: 600px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 150%;
    padding: 0 0 105px;
    margin: 0;
    color: #1B453E;
}

h2 {
    margin: 0;
    padding-bottom: 40px;
    line-height: 64px;
}

h3 {
    font-family: 'Orpheus Pro';
font-style: normal;
font-weight: 400;
font-size: 40px;
line-height: 100%;
color: #232323;
    margin: 0;
}

section.hero {
    padding: 0 16px;
}

section,
footer {
    padding: 72px 16px 110px;
}

.wrapper {
    max-width: 1300px;
    width: 100%;
    position: relative;
    margin: 0 auto;
}


.main-cta {
    background: #FFDA55;
    color: #232323;
    padding: 10px 15px;
    border-radius: 2px;
    font-size: 14px;
    transition: all 400ms ease;
}

.main-cta:hover {
    background: #E87053;
    color: white;

}
.secondary-cta {
    color: #FFF5D9;
    border: 1px #FFF5D9 solid;
    padding: 16px 15px;
    border-radius: 2px;
    transition: all 400ms ease;
}

.secondary-cta:hover {
    background: #FFF5D9;
    color: #232323;
}

.hero-box h1 {
    font-size: 72px;
    line-height: 72px;
}

.hero-box h4 {
    max-width: 90%;
    margin: 0 auto;
}


.hero-box {
    margin: calc(35vh - 110px) auto 0;
    max-width: 100%;
    text-align: center;
    color: #FFDA55;
    border: 1px solid #FFDA55;
    padding: 0 32px;
    border-radius: 4px;
}

#vyhody {
    background: #FFFBEF;
    background-image: url(img/bg-02.png);
    background-repeat: no-repeat;
    background-position: bottom right;
}

.vyhody-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.vyhody-box {
    max-width: 396px;
    height: auto;
    border-radius: 6px;
    background: white;
    filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.15));
    padding: 24px 24px;
    position: relative;
}

.vyhody-box p {
    max-width: 100%;
    width: calc(100% - 48px);
    position: relative;
    padding-top: 32px;
    margin: 0;
    color: #1B453E;
    z-index: 98;
}

#body {
    background: #FFF5D9;
}

.body-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.body-box {
    max-width: 100%;
    bottom: 32px;
    margin: 0;
    background: white;
    border-radius: 6px;
    filter: drop-shadow(0px 4px 20px rgba(0, 0, 0, 0.15));
    text-align: center;
    padding: 24px 21px 44px;
}

.body-box h3 {
    font-size: 30px;
    line-height: 133.52%;
    color: #1B453E;
}

.body-box img {
    max-width: 190px;
    width: 100%;
    height: auto;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.body-box p {
    max-width: 254px;
    margin: 10px auto 0;
    color: #232323;
}

.green-box {
    background: #1B453E;
}

.green-box h3,
.green-box p {
    color: #FFF5D9;
    
}

#faq a.mail {
    color: #E87053;
}

.drop-box h5 {
    font-family: Inter;
    font-size: 21px;
    font-weight: 400;
    line-height: 28px;
    max-width: 80%;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.faq-box {
    border-top: 1px solid #323232;
}

.drop-box {
    cursor: pointer;
    padding: 32px 32px;
}

.odpoved {
    padding: 0 32px 32px;
    font-family: Inter;
    font-size: 16px;
    line-height: 24px;
    max-width: 100%;  
    display: none;
}


.show {
    display: block!important;
}

.drop-btn {
    float: right;
    font-family: Inter;
    font-size: 30px;
    font-weight: 400;
    line-height: 28px;
    transition: all 400ms ease;
}


.rotate {
    transform: rotate(45deg)
}

.registrace {
    background: #1B453E;
    text-align: center;
    padding-bottom: 0;
    min-height: 300px;
}

.registrace .wrapper {
    min-height: 340px;
}

.registrace h1 {
    margin: 0 auto;
    max-width: 450px;
    font-size: 40px;
    color: #FFDA55;
    line-height: 56px;
    padding-bottom: 36px;
    z-index: 99;
    position: relative;
}

.registrace a {
    margin: 0 auto;
    padding: 16px 32px;
    z-index: 99;
    position: relative;
}

.registrace img.p01,
.registrace img.p02 {
    position: absolute;
    width: 100%;
    height: auto;
}


.p01 {    max-width: 160px;
    top: -144px;
    left: 10px;
    transform: rotate(45deg);
}

.p02 {
    max-width: 180px;
    right: 0;
    bottom: -84px;
}

footer {
    background: #232323;
}

footer .wrapper {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto;
    gap: 32px
    
}

footer p {
    font-family: 'Inter';
font-style: normal;
font-weight: 400;
font-size: 14px;
line-height: 158.52%;
color: #FFF5D9;
    max-width: 100%;
    padding-bottom: 32px;
}

.f-title {
    font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 158.52%;
color: #FFF5D9;
    padding-bottom: 32px;
}

footer li {
    padding-bottom: 6px;
}

.footer-box {
    justify-self: start
}

.first-box {
    justify-self: start;
}

.socials {
    padding-top: 18px;
}

.socials a {
    padding-right: 12px;
}

@media only screen and (min-width: 1024px) {
    
    
    .mobile-hide {
        display: initial;
    }
    
    .hero {
        min-height: 90vh;
        background-position: center center;
    background-size: 100% auto;
    }
    
    .hero-box {
    margin: calc(40vh - 28px) auto 0;
        max-width: 500px;
    }
    
    .hero-box h1 {
    line-height: 72px;
    padding-bottom: 24px;
}
    
    h4 {
        
    font-size: 21px;
    }
    
    h1, h2 {
        line-height: 57px;
        font-size: 72px;
    }
    
    .vyhody-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}
    
    .body-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 20px;
}
    
    .body-box {
        max-width: 305px;
    }
    
    .registrace h1 {
        font-size: 64px;
    line-height: 78px;
        padding-bottom: 56px;
    }
    
    .p01 {
    max-width: 360px;
    top: -97px;
    left: 0;
        transform: rotate(0);
}

.p02 {
    max-width: 380px;
    right: 0;
    bottom: -84px;
}
    
    footer .wrapper {
    display: grid;
    grid-template-columns: 30% 25% 25% 20%;
    grid-template-rows: 1fr;
    
}
    
    .footer-box {
    justify-self: end
}

.first-box {
    justify-self: start;
}
    
    footer p {
        
    max-width: 358px;
    }
    
    header img {
    max-width: 200px;
}
    
    .menu {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 32px;
    max-width: 1300px;
}
    section,
footer {
    padding: 72px 32px 110px;
}
    
    
section.hero {
    padding: 0 32px;
}
    
    .main-cta {
    font-size: 16px;
        padding: 16px 15px;
}
    
    .vyhody-box {
    height: 180px;
    padding: 24px 32px;
    }
    
    .hero-box h4 {
    max-width: 100%;
    margin: 0 auto;
}
    
    .vyhody-box p {
    max-width: 100%;
    width: calc(100% - 48px);
    position: absolute;
    bottom: 32px;
    margin: 0;
    color: #1B453E;
    z-index: 98;
}
    
    .odpoved {
    max-width: 70%;  
    }
    
    
    footer .wrapper {
        gap: 0;
    }
    
    .drop-box h5 {
        max-width: 50%;
    }
    
}

    

