@import url('https://fonts.googleapis.com/css?family=Lexend:400,300');

html {font-size: 100%;} /*16px*/

#hero h1, #hero p {
    color: white;
}
.div-margin {
    margin: 6% 0;
}
body {

  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  color: #4d4e52;
  background-color: #fefbf7;
}
a {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    line-height: 1.75;
    color: #4d4e52;
    text-decoration: none;
}

p {margin-bottom: 1rem;}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  line-height: 1.3;
  color: black;
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

h2 {font-size: 2.441rem;}

h3 {font-size: 1.953rem;}

h4 {font-size: 1.563rem;}

h5 {font-size: 1.25rem;}


small, .text_small {font-size: 0.8rem;}



.content-wrapper-center {
    background-color: white;
    width: 50%;
}

.padding-big {
    padding: 2% 0;
}
.padding-top-m {
    padding-top: 3rem;
}
.enroll {
    color: #bba18e;
    text-transform: uppercase;
    font-weight: 500;
}
.hero-background {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/content/hero.webp");
    background-repeat:no-repeat;
    background-size: cover;
    background-position: center;
    height: 80vh;
}
.two-items-wrapper {
    display: flex;
    align-items: end;
    justify-content: space-between;
    position: relative;
}

.video-wrapper {
    width: 30%;
    height: 40vw;
}

video {
    width:  100%;
    height: 100%;
}

.small-picture {
    width: 30%;
    height: 25vw;
}

#about img {
    width: 100%;
    height: 100%;
}

.text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background-color: white;
}
#about h3 {
    padding: 3% 7%;
}
#about p {
    padding: 0 0 7%;
}

#price h4, #contacts h4 {
    margin-bottom: 0;
    font-family: 'Homemade Apple', cursive;
    color: #bba18e;
}

#price h2, #contacts h2 {
    margin-top: 0;
}
#price span {
    text-decoration: none;
    color: #8f7d6b;
    font-weight: 400;
}

.div-padd {
    padding: 6% 0;
}

.links-wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 4%;
    border-bottom: 1px solid #e9e5e2;
    transform: scale(1); 
    transition: 0.3s all ease;
    
}
.links-wrapper:hover {
    transform: scale(0.95);
}

#price img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* accordion */
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #ffffff00;
  font-weight: 300;
  color: #4d4e52;
  cursor: pointer;
  width: 100%;
  border: none;
  outline: none;
  transition: 0.4s;
}


/* Style the accordion panel. Note: hidden by default */
.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    width: 100%;
}
.panel table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-transform: uppercase;
}
  .panel th.table-header-left {
    text-align: left;
}
.panel th.table-header-right {
    text-align: right;
}

.price-header, .price-data {
    color: #bba18e;
}


.wrapp {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5))
}

#gallery img, #contacts img {
    object-position: center;
    object-fit: cover;
    height: 80vh;
    width: 100%;
}

#gallery h2, #gallery p {
    color: white;
}

.signature {
    margin-top: 64px;
}
.signature * {
    align-items: end;
    margin: 0;
    font-weight: 400;
    color: black;
}
#contacts span {
    color: #8f7d6b;
    font-weight: 300;
}
.link-text {
    margin-left: 2%;
}
.p-icons {
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    line-height: 1.75;
    color: #bba18e;
    font-size: 1.563rem;
}

@media (max-width: 991px) {
    #price span, #price p {
        font-size: 0.8rem;
    }
    
}

@media (max-width: 796px) {
    .two-items-wrapper {
        display: block;
        align-items: initial;
        justify-content: initial;
        position: static;
    }

    .text-wrapper {
        position: static;
        top: initial;
        left: initial;
        transform: initial;
        text-align: center;
        background-color: white;
        width: 100%;
    }
}
