@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;700;800&display=swap');

:root {
  /* fonts */
  --mainText: url;
  --secondaryText: ;

  /* class 1 */
  --fontSizeMain1: 30px;
  --fontSizeSecondary1: 60px;

  /* class 2 */
  --fontSizeMain2: 15px;
  --fontSizeSecondary2: 30px;

  /* colors */
  --mainColor: #ffffff;
  --secondaryColor: #000000;
  --footerBgColor: #e4e4e4;
  --bottonColor: #ffa500;
  --textColorMain: #602d91;
  --textColorSecondary: #6767ec;
  --textColorPartial: #707070;
}

/* Home Page */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 15px;
  font-family: Montserrat, monospace;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  100% {
    opacity: 1;
    transform: none;
  }
}

/* 
.m-scene {
  * Basic styles for an animated element
  .scene_element {
    animation-duration: 0.25s;
    transition-timing-function: ease-in;
    animation-fill-mode: both;

  }

  * An element that fades in
  .scene_element--fadein {
    animation-name: fadeIn;
  }

  * An element that fades in and slides up
  .scene_element--fadeinup {
    animation-name: fadeInUp;
  } */


h3 {
  color: var(--textColorMain);
}

html {
  display: block;
}

body {
  top: 0px;
  padding: 0;
  margin: 0;
}

.btn {
  background-color: var(--bottonColor);
  color: var(--mainColor);
  font-size: var(--mainText);
  font-weight: bold;
  width: 8em;
  height: 4em;
  border: none;
  border-radius: 90px;
  cursor: pointer;
}

/* HEADER */


body {
  background-image:
    linear-gradient(to right, var(--textColorMain), rgba(117, 19, 93, 0.73)),
    url("../media/background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  padding: 0;
  margin: 0;

}

/* MAIN */
.main-cnt {
  padding-top: 5em;
  display: block;
  height: auto;

}

.main-cnt h1 {
  padding: 2em;
  margin-top: 2em;
  text-align: center;
  color: var(--mainColor);
  font-size: 25px;

}

.about-container {
  display: grid;
  grid-template-rows: auto;
  height: auto;
  width: auto;
}

#about-cnt {
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: var(--mainColor);
  padding: 5em 10em;
  margin-left: 4em;
  margin-right: 4em;
  gap: 2em;
}

#about-cnt p {
  margin: 2em;
}

#team-cnt {
  text-align: center;
  height: auto;
  background-color: var(--mainColor);
}

#team-cnt h3 {
  padding-top: 2em;
  background-color: var(--footerBgColor);
  color: var(--textColorSecondary);
  font-size: 30px;
  font-weight: 900;


}

#about-cnt div {
  text-align: center;
}

#cardSection {
  height: auto;
  display: flex;
  padding: 5em;
  gap: 3em;
  background-color: var(--footerBgColor);
  justify-content: space-between;


}



.flex-card {
  padding-bottom: 1em;
  height: auto;
  background-color: var(--mainColor);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

/* flex-card hover state */

.flex-card:hover {

  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);

}


.image img {
  height: 100%;
  width: 100%;
  display: block;
  object-fit: cover;
}

.title {
  display: block;

  line-height: 2em;
  padding-top: 1em;
  padding-left: 1em;
  justify-content: center;
}

#profile-btn2,
#profile-btn1 {
  background-color: var(--bottonColor);
  border: none;
  border-radius: 3px;
  align-self: center;
  display: block;
  margin-top: 1em;
  margin-right: auto;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  color: var(--mainColor);

}

.title .btn:hover{
  opacity: .6;
}


#lowerCnt {
  display: flex;
  flex-direction: column;
  width: auto;
  height: auto;
  text-align: center;
  align-items: center;
  background-color: var(--mainColor);
}

video {
  width: 100%;
  height: 50%;
}

/* FOOTER */

@media(max-width:570px) {


  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 12px;
    transition: ease-in-out .8s;

  }


  .container {
    display: flex;
    flex-direction: column;
    width: 100vw;
  }

 
  .nav {

    width: 100%;
    height: 100vh;
    /* background-color: white; */
    top: -900px;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: top 0.8s cubic-bezier(1, 0, 0, 1);




  }



  .right {
    height: auto;

    width: 100%;
    align-items: center;
    display: flex;
    flex-direction: column;



  }



  .nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;

    justify-content: center;

    align-items: center;
  }



  .nav ul li :hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    transition: .3s;
    color: var(--textColorSecondary);
  }


  li a {
    display: block;
    padding: 14px 14px;
    text-decoration: none;
    color: var(--textColorMain);

  }


  #nav-btn {
    display: block;
    color: var(--bottonColor);
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);

    height: 2.5em;
    align-items: center;
    margin-bottom: 2em;

  }

  #nav-btn:hover {
    color: var(--mainColor);
    background-color: var(--bottonColor);
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transition: .5s;

  }



  .change {
    top: 0;


  }

  .hamburger-menu {
    width: 100%;
    height: 30px;
    display: flex;
    position: fixed;
    scroll-behavior: none;
    margin-top: 2em;
    top: 1em;
    right: 1em;
    cursor: pointer;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-around;

  }

  .nav-item {
    list-style: none;
    margin: 25px;
    text-decoration: none;
  }


  .line {
    width: 35px;
    /* width: 100%; */
    height: 4px;
    background-color: var(--bottonColor);
    transition: all 0.8s;
  }

  .change .line-1 {
    transform: rotateZ(-405deg) translate(-8px, 6px);
  }


  .change .line-2 {
    opacity: 0;
  }


  .change .line-3 {
    transform: rotateZ(405deg) translate(-8px, -6px);
  }


  /* about */
  body {
    padding: 0;
    width: auto
  }

  .main-cnt {
    padding-top: .5em;
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;

  }

  .main-cnt h1 {
    padding: 2em;
    margin-top: 2em;
    text-align: center;
    color: var(--mainColor);
    font-size: 25px;

  }

  .about-container {
    display: flex;
    flex-direction: column;
    height: auto;
    width: 100%;
  }

  #about-cnt {
    display: flex;
    justify-content: center;
    flex-direction: column;
    background-color: var(--mainColor);
    padding: 1em;
    margin-left: 1em;
    margin-right: 1em;
    gap: 2em;
  }

  #about-cnt p {
    margin: 1em;
  }

  #team-cnt {
    text-align: center;
    height: auto;
    background-color: var(--mainColor);
  }

  #team-cnt h3 {
    padding-top: 2em;
    background-color: var(--footerBgColor);
    color: var(--textColorSecondary);
    font-size: 30px;
    font-weight: 900;


  }

  #about-cnt div {
    text-align: center;
  }

  /* card section */


  #cardSection {
    height: auto;
    width: auto;

    padding: 5em 1em;
    /* gap: 3em; */
    display: flex;
    flex-direction: column;

  }

  .flex-card {
    padding-bottom: 1em;
    height: auto;
    background-color: var(--mainColor);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
  }

  /* flex-card hover state */



  .flex-card img {
    height: 100%;
    width: 100%;
    display: block;
  }

  .title {
    display: block;

    line-height: 2em;
    padding-top: 1em;
    padding-left: 1em;
    justify-content: center;
  }

  #profile-btn2,
  #profile-btn1 {
    background-color: var(--bottonColor);
    border: none;
    border-radius: 3px;
    align-self: center;
    display: block;
    z-index: 2;
    /* margin-top: 0; */
    /* margin-right: auto; */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;

  }

  /* footer */


  footer {
    display: block;
    background-color: var(--footerBgColor);
    height: auto;
    width: 100%;
  }

  .footer-section {
    font-size: 10px;
    padding: 3em 4em;
    display: flex;
    flex-direction: column;
    gap: 6em;
    justify-content: space-evenly;
    padding-bottom: 4em;
  }

  .footerLocation {
    padding-top: 1em;
  }

  .footerLocation p {
    line-height: 1.5em;
  }

  .flex-item h3 {
    padding-bottom: 1em;
    font-size: 25px;
  }

  .flex-item ul li {
    line-height: 1.5em;
  }

  #socialIcon {
    background-color: var(--mainColor);
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 3em;
    border-radius: 1px solid var(--textColorPartial);

  }



}