/* Body global */

body section {
    width: 90%;
    display: flex;
    margin: auto;
}

h2 {
    font-size: 15pt;
}

h2::after {
    height: 4px;
    width: 20vw;
}

h2:hover::after {
    width: 10vw;
}




/* burger menu icon */
#burger_icon{
    width: 40px;
    height: 30px;
    position: relative;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    z-index: 999;
}
  
#burger_icon span {
    display: block;
    position: absolute;
    height: 5px;
    width: 100%;
    background: var(--main-purple);
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#burger_icon span:nth-child(1) {
    top: 0px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#burger_icon span:nth-child(2) {
    top: 10px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#burger_icon span:nth-child(3) {
    top: 20px;
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
}

#burger_icon.open span:nth-child(1) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
    background: #fff;
}

#burger_icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
    background: #fff;
}

#burger_icon.open span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 25px;
    left: 8px;
    background: #fff;
}

/* navigation  */
#nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
    height: 10vh;
}

#nav::before {
  content: "";
  display: block;
  position: fixed;
  height: 100%;
  width: 100vw;
  background-color: #fff;
  top: 0;
  left: -5vw;
  z-index: -1;
}

#logo-nav {
    height: 3em;
}

.links_nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 0;
    left: -6vw;
    height: 100vh;
    width: 100vw;
    z-index: 998;
    background-color: var(--main-purple);
    padding: 5%;
    margin-right: 4vw;
}

.link_nav {
    color: #fff;
    font-family: Lato-Light;
    font-size: 15pt;
    font-weight: 500;
    text-decoration: none;
    margin-top: 5vh;

    
}

.link_nav::after {
    content: "";
    display: block;
    height: 3px;
    width: 25%;
    background-color: #fff;
    margin-top: 4px;
}

.link_nav--with-sub::after {
  display: none;
}

.active::after {
    content: "";
    display: block;
    height: 3px;
    width: 40%;
    background-color: #fff;
    margin-top: 4px;
}

.sub-elements { 
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  margin-left: 10px;
}

.sub-element {
  text-decoration: none;
  font-size: 0.8em;
  color: #fff;
}

.link_nav:hover > .sub-elements {
  display: flex;
}


/* FOOTER STYLE */

.footer {
    background-color: var(--main-yellow);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Lato-Light;
    /* margin-top: 50px; */
}

.cta_section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
}

.cta_section::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    margin: 6px;
}

.cta_footer {
    z-index: 0;
    background-color: #fff;
    color: var(--main-yellow);
    display: block;
    width: 80%;
    padding: 6px;
    text-align: center;
    /* font-family: Lato-Light; */
    font-size: 12pt;
    box-shadow:
        0 0px 5.2px rgba(0, 0, 0, 0.062),
        0 0px 13px rgba(0, 0, 0, 0.089),
        0 0px 26.6px rgba(0, 0, 0, 0.111),
        0 0px 54.8px rgba(0, 0, 0, 0.138),
        0 0px 150px rgba(0, 0, 0, 0.2)
    ;
    transform: translateY(-50%);
    text-decoration: none;
}

.media_links a {
    color: #fff;
    font-size: 20pt;
    text-decoration: none;
}

.link_section {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.link_section p {
    color: #fff;
    font-size: 6pt;
    margin: 3px;
}

.link_section p a {
    color: var(--main-dark-grey);
    text-decoration: none;
    font-size: 6pt;
}

.link_section a {
    color: #fff;
    font-size: 6pt;
    text-align: end;
}

.link_section div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.link_section div a {
    margin: 2px;
}

/* top section on each page  */

.top_section {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    margin-top: 10vh;
    margin-bottom: 4vh;
}

.top_section h1, .top_section h3 {
    margin: 5px 0;
}
.top_section h1 {
    font-size: 14pt;
}
.top_section h3 {
    font-size: 10pt;
}

.top_section_cta {
    display: flex;
    margin-top: 1vh;
}

.top_section_btn_more {
    font-size: 10pt;
    padding: 8px;
}

.top_section_btn_contact {
    font-size: 10pt;
    padding: 8px;
}

/* Transition  */
.transition {

    display: flex;
    flex-direction: column;
    width: 40vw;
    align-items: center;
    margin: auto;
}

.transition img {
    width: 20px;
}

.transition p {
    font-family: Fave-ScriptPro;
    color: var(--main-yellow);
    margin: 0;
    font-size:3vh;
    width: max-content;
}

/* GLOBAL */

.mob_hide {
    display: none;
}