*, html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: -apple-system, segoe ui, BlinkMacSystemFont, "Helvetica Neue", helvetica neue, helvetica, arial, verdana, sans-serif;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
}      
html::-webkit-scrollbar { 
  width: 0 !important; /* -webkit- */
}
html { 
  overflow: -moz-scrollbars-none; /* firefox */
  -ms-overflow-style: none; /* IE 10+ */ 
}
h1 {
  margin-top: 3.75rem;
  text-align: center;
  font-size: 1.813rem;
}
.uncolor {
  color: #eee;
}
.langSelector {
  padding: 0.5rem;
  font-size: 14px;
  position: relative;
}
.langSelector::before {
  content: "";
  background: url("../images/worldglobe.svg") no-repeat;
  padding: 2px 13.5px 1px;
}
.langSelector::after {
  display: inline-block;
  content: "";
  width: 5px; height: 5px;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  margin-left: 5px;
  transform: rotate(45deg) translateY(-50%);
  transition: all .1s ease-in-out;
  transform-origin: 50%;
}
.langSelector.open::after {
  margin-right:  -5px;
  margin-left: 10px;
  transform: rotate(-135deg) translateY(-50%);
}
.langSelector:hover {
  cursor: pointer;
}
#optionsWrapper {
  display: block;
  opacity: 0;
  position: absolute;
  top:0px;
  border-radius: 5px;
  padding: 0.5rem 0;
  box-shadow: 
    0 1.59px 3.50px rgba(0,0,0,0.08),
    0 1.59px 11.5px rgba(0,0,0,0.08);
  z-index:2;
  background-color: #fff;
  text-align: center;
  transform: translateY(-30px);
  transition: all .1s ease-in-out;
}
#optionsWrapper.slideDown {
    opacity: 1;
    transform: translateY(0px);
}
#optionsWrapper.optionsWrapper-desktop {
  top: 30px;
  max-width: 200px;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  transition: top .1s ease-in-out, opacity .1s  ease-in-out;
}
.optionItem {
  display:block;
  padding: 0% 30%;
  list-style-type:none;
  padding: 0.2rem 0.5rem;
  text-align: center;
}
.optionItem:hover {
  background-color: #eee;
}

/*for contact */
label[data-err] {
  color: rgb(255,0,0);
  margin: 0.8rem 0;
}
label[data-err] > * {
  color: rgb(255,0,0);
  border: 2px solid rgb(255,0,0);
  outline: none;
}

label[data-err] > input {
  color:rgb(255,0,0);
}

label[data-err] > span {
  border: none;
}

label[data-err]::after {
  content: attr(data-err);
  font-size: 0.8rem;
  display:block;
  margin: .3rem 0rem 1rem 0rem;
  line-height: 0.01rem;
  color: rgb(255,0,0);
}

#contact-container {
  max-width: 500px;
  margin: 50px auto;
} 

#contact-container[data-path] {
  text-align: center;
}

.contact-inputs {
  display: block;
  width: 100%;
  height: 48px;
  margin-bottom: 15px;
}

.contact-textarea {
  display: block;
  width: 100%;
  height: 30vh;
  resize: none;
}

#cSubmit {
  
  width: 30%;
  margin: 20px auto;
  height: 2.5rem;
  font-size: 1rem;
  color: rgb(255,255,255);
  background-color: rgb(38,38,39);
  border-radius: 2px;
  cursor: pointer;
  border: none;
  line-height: 1.8rem;
}

#cNav {
  position: absolute;
  top: 12px;
  right: 30px;
}
#cNav nav a {
  text-decoration: none;
  font-weight: 900;
}

/*index page*/

main {
  text-align: center;
}

section#introSection {

  margin: 0 auto;
  text-align: left;
}

.intro-paragraph {
    opacity: 0;
    position:  relative;
    top: 200px;
    animation: go-up 0.4s 0.2s forwards;
    max-width: 41rem;
    min-width: 20rem;
    margin: 0 auto;
    border:  none;
    box-shadow: 0 0 11px 1px #eee;
    padding: 0.1rem 3rem 4rem;
    border-radius: 2px;
    animation: go-up 0.4s 0.2s forwards;
}

.intro-paragraph * {
  font-size: 0.8rem;
}

.intro-paragraph-title {
  opacity: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.2rem;
  animation: go-up 0.4s 0.2s forwards;
}

.intro-paragraph p{
  opacity: 0;
  font-weight: 300;
  line-height: 1.18rem;
  animation: go-up 0.4s 0.2s forwards;
}

.intro-paragraph-button {
  width: 7rem;
  display: block;
  padding: 0.5rem 1rem;
  opacity: 1;
  border: none;
  background: linear-gradient(45deg, #0d6efd, magenta);
  margin: 3rem auto 0rem;
  color: #fff;
  font-weight: 900;
}

.intro-paragraph-button:hover {
  cursor:  pointer;
  background: teal;
  animation:  colorShift 0.7s forwards;
}

@keyframes colorShift {
  0%{background: #0d6efd; }
  100%{background:  #ff00ff;}
}

.resolved-msg {
  margin:  0 auto;
  text-align: center;
  font-style: italic;
  font-size: 1.3rem;
  color:  #888;
  opacity: 0;
  position:  relative;
  top: 200px;
  animation: go-up 0.4s forwards;
}

.intro-paragraph-backButton {
  padding: 2px 12px;
  border:  1px solid #000;
  border-radius: 11px;
  background-color: #fff;
  color: #000;
  font-size: 0.75rem;
  transition:  all 0.7s;
}

.intro-paragraph-backButton:hover {
  cursor:  pointer;
  background-color: #000;
  color: #fff;
  padding: 2px 20px;
  transition:  all 0.7s;
}

@keyframes go-up {
  0% {
    opacity:  0;
    top: 200px;
  }
  100% {
    opacity: 1;
    top: 0px;
  }
}
















