@import url("https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz&display=swap");

@font-face {
  font-family: svnfutura;
  src: url("static/fonts/SVN-Futura-Regular.otf");
}

@font-face {
  font-family: Birth__Hero;
  src: url("static/fonts/SVN-Birth_Of_A_Hero.ttf");
}

@font-face {
  font-family: Gilroy-Bold;
  src: url("static/fonts/SVN-Gilroy-Bold.otf");
}
/* color credit: https://1password.com/ 
    https://webflow.com/careers
    https://useproof.com/
    https://addons.mozilla.org/en-US/firefox/addon/dictionary-anyvhere/
*/
:root {
  --color__black-main: #0a2d4d;
  --color__black-accent: #2F2D2E;
  --color__black-firefox: #20123A;
  --color__white-main: #fff;
  --color__blue-main: #08083d;
  --color__pink-main: #d14671;
  --color__green-main: #009688;
  --color__purple-main-firefox: #2d245b;
  --color__purple-material: #311b92;
  --font__decorate: "Yanone Kaffeesatz", sans-serif;
  --font__main: "svnfutura";
  --font--styling-gilroy:  "Gilroy-Bold";
  --font--styling:  "Birth__Hero";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  margin: 0 auto;
  font-size: 62.5%;  
}

a {
    text-decoration: none;
}

.grid-1024{
  width:  100%;
  max-width: 1024px;
  height:  100vh;
  margin: 0 auto;
}

/*Font */

.font-gilroy{
  font-family:  var(--font--styling-gilroy);
}

.font-futura{
  font-family: var(--font__main);
}

.text15{
  font-size:  1.5rem;
}

/**/
nav{
  width: 100%;
  max-width: 100%;
  height: 55px;
  background-color: var(--color__black-firefox);
  color:  #fff;
  font-size: 2rem;
}


.wrap-fields {
    background-color: #F2F2F6;
    width: 100%;
    max-width: 100%;
    padding: 40px;
    /*background: linear-gradient(to right, #eaeaea 9%, #fff 100%);*/
    background: linear-gradient(to right, #17272f 9%, #e91e63 100%);
    height: 50px;
}

main {
  height: 100vh;
  background-color: var(--color__white-main);
  /* border-left: 1px solid rosybrown;
  border-right: 1px solid rosybrown; */
}

header {
  margin-bottom: 2rem;
  width:  100%;  
  position: sticky;
  position: -webkit-sticky;

  top:  -55px;
}

.title {
  /* color: var(--color__purple-material);    */
  color: #ff7477;  
  font-family: var(--font--styling);
  font-size: 1.65rem;
  /*padding-left: 75px;*/
  padding-top: 5px;
  text-align: center;
  position:  relative;
  height: 100%;
  width: 250px;
  transition: 0.25s;


  /* gradient text source https://www.cssportal.com/css-text-gradient-generator/ */
 /* background: #121fcf;
  background: -webkit-linear-gradient(to right, #121fcf 9%, #cf1512 100%);
  background: -moz-linear-gradient(to right, #121fcf 9%, #cf1512 100%);
  background: linear-gradient(to right, #121fcf 9%, #cf1512 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;*/

}
.title:hover {
  transform:  scale(1.01);
}

.title:before{
    content: "English <--> Vietnamese";
    position: absolute;
    left: 193px;
    font-family: var(--font__main);
    font-size: 0.7rem;
    color: #ff7477;  
    opacity: 0;
    width: 250px;
    top: 69px;
    transition: 0.25s;
    display:  none;
}

.title:hover:before{
  opacity: 1;
} 


#image-rocket{
  display:none;
}


/* Form */
.form-field {
  width: 320px;
  position: relative;
}

/*
.form-input {
  padding: 20px;
  border: 1px solid var(--color__purple-main-firefox);
  border-radius: 4px;
  width: 100%;
  height: 50px;
  padding: 0 20px;
  transition: 0.25s ease;
  font-size: 1rem;
}*/
/*
.form-label {
  position: absolute;
  top: 27%;
  transform: translate(-50%);
  left: 75px;
  user-select: none;
  color: #999;
  pointer-events: none;
  font-family: var(--font__main);
  font-size: 0.9rem;
}*/
/*
.form-input:not(:placeholder-shown) + .form-label,
.form-input:focus + .form-label {
  color: var(--color__purple-main-firefox);
  top: -30%;
  background-color: white;
  padding: 0 10px;
  transition: 0.25s ease;
  /* border: 1px dashed var(--color__purple-main-firefox); */
}
*/
/*Search input Typehead*/
/*.typeahead, .tt-query, .tt-hint {
    border: 1px solid #F2F2F6;
    border-radius: 5px;
    font-size: 22px;
    height: 54px;
    line-height: 30px;
    outline: medium none;
    padding: 8px 12px;    
    width: 18.5rem;
    border-radius: 5px;
    width: 320px;
    height: 38px;
}*/


  /*Search input Typehead*/
.typeahead, .tt-query, .tt-hint{       
    height: 55px;
    padding-left: 10px;
    font-size:  1.2rem;
    border-radius: 5px;
    border: 0.5px solid #e91e63;
    
}


.typeahead {
    background-color: #FFFFFF;
}
.typeahead:focus {
    border: 0.5px solid #3f51b5;
}
.tt-query {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
}
.tt-hint {
    color: #999999;
}
.tt-menu {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.2);
    /*border-radius: 8px;*/
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    margin-top: 12px;
    padding: 8px 0;
    width: 320px;
}

.tt-suggestion {
    font-size: 22px; 
    padding: 1px 5px;
    font-family: var(--font__main);
    width: 320px;
}



.tt-suggestion:hover {
    cursor: pointer;
    background-color: var(--color__green-main);
    color: #FFFFFF;
}
.tt-suggestion p {
    margin: 0;
}


::placeholder {  
  padding-left: 3px;
  font-size:  1.0rem;
  color:  var(--color__purple-main-firefox);
}


/*end of search typehead*/
#form__search-icon {
    position: absolute;
    width: 8%;
    right: 6px;
    top: 11px;
    transition: transform 0.25s;
}

#form__search-icon:hover{
    transform: scale(1.1);
    cursor: pointer;
}


/* End of Form */
button {
  border: none;
  border-radius: 8px;
  margin: 1rem;
  padding: 0.5rem 4rem;
  font-size: 1.5rem;
  cursor: pointer;
  background-color: var(--color__pink-main);
  color: #fff;
  font-family: var(--font__decorate);
  transition: transform 0.5s;
}

button:hover {
  transform: scale(1.08);
}

.flex-column-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.flex-column{
  display: flex;
  flex-direction: column;
}

.align-items-center{
  align-items: center;
}

@media (min-width: 320px){
  /*Search input Typehead*/
.typeahead, .tt-query, .tt-hint{   
  width: 318px;
  height: 46px;
  padding-left: 5px;
  font-size: 1.2rem;
  border-radius: 5px;
  border: 0.5px solid #e91e63;
  margin-left: 1px;

  };

}


/*360px screen --> samsungS5 */
@media (min-width:  360px){
  .form-field {
    width: 22rem;  
  }

  #form__search-icon {     
    top: 11px;  
  }

  /*Search input Typehead*/
.typeahead, .tt-query, .tt-hint{   
    width: 351px;
    
 };

}

/*375px screen: iPhone6/7/8 */
@media (min-width:  375px){
  .form-field {
    width: 354px;  
  }

  #form__search-icon {         
    top: 11px;
    right: 3px;
  }

    /*Search input Typehead*/
.typeahead, .tt-query, .tt-hint{   
    width: 354px;
    
 };

}

/*411: Pixel */
@media (min-width:  411px){
  .form-field {
    width: 24rem;  
  }

  .typeahead, .tt-query, .tt-hint {
    width: 384px;
}

}



/*414px screen iPhone6/7/8 Plus*/
@media (min-width:  414px){
  .form-field {
    width: 25rem;  
  }

  #form__search-icon { 
    width: 8%;
    top: 8px; 
  }

      /*Search input Typehead*/
.typeahead, .tt-query, .tt-hint{   
    width: 400px;
    
 };


}


/*768px screen */
@media (min-width:  768px){
  .form-field {
    width: 32rem;  
  }

  #form__search-icon {     
    width: 7%;
    right: 25px;
    top: 7px;      
  }
   /*Search input Typehead*/
.typeahead, .tt-query, .tt-hint{   
    width: 490px;
    
 };

}


/*1024px screen */
@media (min-width:  1024px){
  .wrap-fields{
    height: 150px;
  }

  .form-field {
    width: 40rem;  
  }

  .tt-suggestion { 
    width: 40rem;
}

  #form__search-icon {
      width: 4%;
      top: 15px;
      right: 6px;
  }



  /*Search input Typehead*/
.typeahead, .tt-query, .tt-hint{   
    width: 40rem;
    height: 55px;
    padding-left: 10px;
    font-size:  1.2rem;
    border-radius: 5px;
    border: 0.5px solid #e91e63;
}

    /*Search input Typehead*/
.tt-menu {   
    width: 40rem;
}

  .title{
    font-size: 2rem;    
    left: -400px;
  }


#image-rocket{
  position: relative;
  top: 52px;
width: 4%;
left: 124px;
  display:  block;
}



.title:before{    
    display: block;
}


}

/*1280 laptop*/
@media (min-width:  1280px){
    #image-rocket {
    left: 207px;
    top: 49px;
    display:  block;
  }

  #form__search-icon{
      
    width: 6%;
right: 7px;
top: 8px;
      
  }

}


/*1920, HD 24 inch*/
@media (min-width:  1920px){
    #image-rocket {
    top: 35px;  
    left: 504px;
    display:  block;
  }
}