/* Body global */

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


h2 {
    font-size: 3vw;
}

h2::after {
    height: 0.4vw;
    width: 10vw;
}

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

/* navigation */
.desk_hide {
    display: none;
}


#nav {
    display: flex;
    height: 15vh;
    width: 80vw;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin: auto;

}

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

.links_nav {
    display: flex;
    align-items: baseline;
    font-size: 1em;
    width: 80%;
    justify-content: end;
}

.link_nav {
    color: var(--main-dark-grey, grey);
    font-family: Lato-Light;
    padding: 4px;
    margin: 4px;
    text-decoration: none;
    position: relative;
    transition: .25s;
    cursor: pointer;
}

.link_nav::after {
    content: "";
    display: block;
    position: absolute;
    height: 2px;
    width: 95%;
    background-color: var(--main-purple, purple);
    margin-top: 4px;
    opacity: 0;
    transition: .25s;
}

.link_nav:hover {
    color: var(--main-purple, purple);
}

.link_nav:hover::after {
    opacity: 1;
}



.link_contact {
    color: #fff;
    background-color: var(--main-yellow, orange);
    padding: 6px;
}

.link_contact:hover {
    color: #fff;
    background-color: var(--main-purple, orange);
}
.link_contact::after {
    display: none;
}

#logo-nav {
    height: 5em;
}

.sub-elements { 
  display: none;
  position: absolute;
  flex-direction: column;
  justify-content: left;
  gap: 15px;
  border: 2px solid var(--main-purple);
  background-color: #fff;
  top: 100%;
  padding: 2%;
  width: 90%;
  z-index: 999;
}

.sub-element {
  text-decoration: none;
  font-size: 0.8em;
  color: var(--main-dark-grey);
}
.sub-element:hover {
  color: var(--main-purple);
}

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

.active {
  color: var(--main-purple, purple);
}


/* 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: row;
    justify-content: space-between;
    width: 100%;
    width: 95%;
    margin-top: 20px;
    position: relative;
}

.cta_section::after {
    content: "";
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    position: absolute;
    bottom: -10px;
}

.cta_footer {
    background-color: #fff;
    color: var(--main-yellow);
    margin: 6px;
    padding: 6px;
    text-decoration: none;
    transition: .25s;
}

.footer p {
    font-size: 0.7vw;
}

.cta_footer:hover {
    background-color: var(--main-purple);
    color: #fff;
    margin: 6px;
    padding: 6px;
    text-decoration: none;
}

.media_links {
    margin: 6px;
}

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

}
.media_links a:hover {
    color: var(--main-purple);

}

.link_section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    width: 95%;
    align-items: baseline;
    margin: 10px;
}

.link_section p, .link_section a {
    color: #fff;
}
.link_section p a {
    color: var(--main-dark-grey);
    text-decoration: none;
}

.link_section div a {
    padding: 5px;
}

/* top section on each page  */

.top_section {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: auto;
    margin-top: 15vh;
    margin-bottom: 4vh;
    position: relative;
    height: 60vh;
    /* justify-content: center; */
}

.top_section h1, .top_section h3 {
    margin: 5px 0;
    width: 60%;
}
.top_section h1 {
    margin-top: 5%;
    font-size: 3vw;
}
.top_section h3 {
    font-size: 1.5vw;
}

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

.top_section_btn_contact, .top_section_btn_more {
    font-size: 1.3vw;
    padding: 0.8vw;
    margin: 10px;
    transition: .25s;
}

.top_section_btn_more:hover {
    background-color: var(--main-purple);
}

.top_section img {
    /* height: 100%; */
    width: 45%;
    position: absolute;
    right: 5%;
    top: 10%;
    z-index: -1;

}

/* Transition  */
.transition {
    display: flex;
    flex-direction: column;
    width: 40vw;
    align-items: center;
    margin: auto;
    margin-top: 10vh;
    margin-bottom: 10vh;
}


.transition img {
    width: 2vw;
}

.transition p {
    font-family: Fave-ScriptPro;
    color: var(--main-yellow);
    margin: 0;
    font-size: 3vw;

}
