:root {
  --mainblue: #4472c4;
  --mainred: red;
  --mainyellow: #ffff00;
  --orangecolor: #e46e0d;
}

body {
  color: white;
  width: 100%;
  background-image: url("endless-constellation.svg");
  background-color: black;
  /* padding: 0px 2rem; */
}
.none{
  visibility: hidden;
}

.main-link{
  height: fit-content;
}

/*carousel section*/
.bg-sect{
  background-image: url("https://res.cloudinary.com/gyang/image/upload/v1661426309/tff/Picture1_lcsmf7.jpg");
  background-size: cover;
  height: 90vh;
}
/* slidercontainer */

#slide-header {
  margin: 4rem;
}
.carousel-wrapper {
  width: 100%;
}

.carousel {
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;
}

/*.slide-logo{*/
/*    min-width:200px;*/
/*    min-height:150;*/
/*}*/

.rect-logo{
    margin-top:1.5rem;
}

.sect {
  margin: 5rem;
}

h1 {
  font-size: 2em;
  line-height: 2em;
  font-style: italic;
  margin-top: 3em;
}

.head-span {
  color: var(--orangecolor);
}

.register-btn {
  background-color: var(--mainblue);
  height: 3em;
  width: 13em;
  border-radius: 6px;
}

.connect {
  background-color: var(--mainblue);
  padding: 2em;
}

.nav-space{
  justify-content: flex-end;
}

.connect span {
  color: #ffff00;
}

.connect-div {
  margin: auto;
}

.text-card {
margin-bottom: 1em;
}

.text-card:hover {
  /* width: 1.5em; */
  /* transform: scaleY(1.2); */
  background-color: black;
  border-bottom: 5px solid var(--mainblue);
}

#h2{
  background-color: white;
  color: black;
  width: 10em;
  margin: -2em auto 0px auto;
  padding: 1rem;
}
.span-red {
  color: var(--mainred);
}

.image {
  width: 100%;
}

.just-text {
  text-align: justify;
  /*margin: 0px 2rem;*/
}

.justify{
  text-align: justify;
  /* margin: 0px 2rem; */
}

.img-text{
  text-align: justify;
}
.text-container{
  margin: 4rem 0px;
}

.top-btn {
  position: fixed;
  bottom: 15px;
  right: 5px;
  width: 60px;
  height: 60px;
  background-color: var(--orangecolor);
  border: 1px solid var(--mainblue);
  color: white;
  visibility: hidden;
  border-radius: 50pc;
  display: flex;
  justify-content: center;
  align-items: center;
}

a.top-btn:hover {
  background-color: var(--mainblue);
  border: 1px solid var(--navy-blue);
  color: white;
  border-radius: 50pc;
}

@media (max-width: 798px) {
  .sect{
    margin: 1rem;
  }
}

@media (min-width: 798px) {
  .rect-logo {
    margin-top: 5rem !important;
    margin-left: 2rem !important;

  }
}

@media (max-width: 480px) {
  .rect-logo {
    margin-top: 1rem !important;
    /*margin-left: rem !important;*/

  }
}


/*Footer styling*/
footer {
  height: 40vh;
  width: 100%;
  background-color: #7ca3e6;
  /* opacity: 0.5; */
}

.fa-div {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: #4472c4;
}

.fas {
  width: 50px;
  height: 50px;
  background-color: black;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 1rem;
}

.social-icons {
  color: #e46e0d;
  display: block;
  margin: auto;
}