@import url('https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

/*Chỉnh padding và margin toàn bộ về 00*/
*{
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: "Noto Sans", sans-serif;
}

header{
  z-index: 999;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  justify-content: space-between;
  display: flex;
  align-items: center;
  padding: 15px 200px;
  transition: 0.5s ease;
}

header .brand{
  color:#fff;
  font-size:1.5em;
  font-weight:1000;
  text-decoration: none;
}

header .navigation{
  position: relative;
}

header .navigation .navigation-items a{
  position: relative;
  color: #fff;
  font-size:1em;
  font-weight: 500;
  text-decoration: none;
  margin-left:30px;
  transition: 0.3s ease;
  display: inline-block;
}

header .navigation .navigation-items a:before{
  content: '';
  position: absolute;
  background: #fff;
  width:0;
  height:3px;
  transition:0.3s ease;
  bottom:0;
  left:0;
}

header .navigation .navigation-items a:hover:before{
  width:100%;
}

section{
  padding: 100px 200px
}

.home{
  position: relative;
  width:100%;
  min-height:100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  background: #2696E9;
}

.home:before{
  z-index: 777;
  content: '';
  position: absolute;
  background: rgb(3, 96, 251, 0.3);
  width:100%;
  height:100%;
  top:0;
  left:0;
}

.home .content{
  z-index: 888;
  color: #fff;
  width:60%;
  margin-top:0px;
  display: none;
}

.home .content.active{
  display: block;
}



.home .content h1{
  font-size: 4em;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 5px;
  line-height: 75px;
  margin-bottom: 40px;
}

.home .content h1 span{
  font-size: 1.2em;
  font-weight: 600;
}

.home .content p{
  margin-bottom: 65px;
  font-size:1.2em;
}

.home .content a{
  background-color: #fff;
  padding: 15px 35px;
  color: #1680AC;
  font-size: 1.1em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 20px;
}

.home .media-icons{
  z-index: 888;
  position: absolute;
  right:30px;
  display: flex;
  flex-direction: column;
  transform: 0.5s ease;
}

.home .media-icons a{
  color:#fff;
  font-size:1.6em;
  transition:0.3s ease ;
}

.home .media-icons a:not(:last-child){
  margin-bottom: 20px
}

.home .media-icons a:hover{
  transform: scale(1.3);
}

.home .imagines{
  z-index: 0;
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit: cover;
}

.home .element{
  z-index: 888;
  max-height: 70vh;
  width: auto;
  top:80px;
  position: absolute;
  display:block;
  right:13%;
  opacity:0;
}

.home .element.active{
  opacity: 100;
}

.slider-navigation{
  z-index: 888;
  position:absolute;
  top:80%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(80px);
  left:45%;
}

.slider-navigation .nav-btn{
  width: 12px;
  height:12px;
  background:#fff;
  border-radius: 50%;
  cursor:pointer;
  box-shadow: 0 0 2px rgba(255,255,255,0.5);
  transition: 0.3s ease;
}

.slider-navigation .nav-btn.active{
  background: #2696E9;
}

.slider-navigation .nav-btn:not(:last-child){
  margin-right: 20px;

}

.slider-navigation .nav-btn:hover{
  transform: scale(1.2);
}

.video-slide{ 
  position: absolute;
  width:100%;
  clip-path: circle(0% at 0 50%);
}

.video-slide.active{
  clip-path: circle(150.0% at 0 50%);
  transition: 2s ease;
  transition-property: clip-path;
}

header.sticky{
  padding: 0.5% 8%;
  background:#254fb8;
  position: fixed;
    top:0;
    left:0;
}



/* Chỉnh giao diện khi thu nhỏ màn hìnhhình*/
@media (max-width: 1040px){
  header{
    padding: 12px 20px;
  }

  header.sticky{
    padding: 12px 0%;
  }

  section{
    padding: 100px 20px;
  }

  .home .media-icons{
    right:15px;
  }

  header .navigation{
    display: none;
  }

  header .navigation.active{
    position: fixed;
    width:100%;
    height:100vh;
    top:0;
    left:0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(1,1,1,0.5);
  }

  header .navigation .navigation-items a{
    color: #222;
    font-size:1.2em;
    margin:20px
  }

  header .navigation .navigation-items a:before{
    background: #222;
    height:5px;
  }

  header .navigation.active .navigation-items{
    background: #fff;
    width:600px;
    max-width: 600px;
    margin:20px;
    padding:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0 5px 25px rgb(1 1 1 / 20%);
  }

  .menu-btn{
    background: url(imagine/menu.png)no-repeat;
    background-size:30px;
    background-position: center;
    width:40px;
    height:40px;
    cursor: pointer;
    transition: 0.3s ease;
  }

  .menu-btn.active{
    z-index: 999;
    background: url(imagine/close.png)no-repeat;
    background-size: 20px;
    background-position: center;
  }

  .home .element{
    z-index: 888;
    max-height: 200px;
    width: auto;
    top: 170px;
    position: absolute;
    display: block;
    right:15%
  }

  .home .content h1 {
    font-size: 2.5em;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 5px;
    line-height: 75px;
    margin-bottom: 0px;
}
  .home .content p{
    max-width:70%;
    font-size:0.8em;
  }

  .home{
    min-height: 80vh;
    max-height:80vh;
  }

  .slider-navigation{
    top:70%;
    left:35%
  }
  
}

/* === ĐIỆN THOẠI DỌC PHỔ THÔNG: 360px – 428px (bao gồm 412px) === */
@media (min-width: 360px) and (max-width: 428px){

  .home .element{
    max-height: 170px !important;
    top: 85px !important;
    right:15% !important;
  }

  header.sticky{
    padding:0.5% 1%
  }

  header.sticky .brand{
    padding-left: 3%;
  }

  .home .content h1 {
    font-size: 2em !important;
    margin-left:10%;
    letter-spacing: 2px;
}
  .home .content p{
    max-width:70% !important;
    font-size:0.7em !important;
    margin-left:10%;
    margin-bottom:30px
  }

  .home{
    min-height: 50vh !important;
  }

  .home .content a{
    margin-left:10%;
    padding: 10px 20px;
    font-size: 0.7em !important;
  }

  .slider-navigation{
    top:45% !important;
    left: 35% !important;
  }
}


/*Đối với màn hình từ 767 tới 1040px*/

@media (min-width:768px)  and (max-width: 1023px){

  .home .element{
    max-height: 350px;
    top: 90px;
    right:10%;
  }

  header.sticky{
    padding:0.5% 1%
  }

  header.sticky .brand{
    padding-left: 3%;
  }

  .home .content h1 {
    font-size: 4em;
    margin-left:10%;
    margin-bottom:15px
}
  .home .content p{
    max-width:80%;
    font-size:1.1em;
    margin-left:10%;
    margin-bottom:50px
  }

  .home{
    min-height: 60vh;
    max-height:60vh;
  }

  .home .content a{
    margin-left:10%;
  }
}

/*Màn hình tối đa 480px */
@media (max-width: 480px){
  .home .content{
    position: absolute;
    top:15%;
    left:1.5%;
  }

  .home .element{
    max-height: 180px;
    top: 75px;
    right:12%;
  }

  header.sticky{
    padding:0.5% 1%
  }

  header.sticky .brand{
    padding-left: 3%;
  }

  .home .content h1 {
    font-size: 2.5em;
    margin-left:10%;
    margin-bottom:0px
}
  .home .content p{
    max-width:80%;
    font-size:0.8em;
    margin-left:10%;
    margin-bottom:30px
  }

  .home{
    min-height: 40vh;
    max-height:40vh;
  }

  .home .content a{
    margin-left:10%;
    padding: 10px 20px;
    font-size: 0.8em;
  }

  .slider-navigation{
    bottom:10%;
    top:50%;
    left:35%
  }
}

/*Màn hình từ 480 tới 767 px */
@media (min-width:480px) and (max-width: 767px){
  header.sticky{
    padding: 0.5% 1%
  }

  .home .content{
    position: absolute;
    top:20%;
    left:1.5%;
  }

  header.sticky .brand{
    padding-left: 3%;
  }

  .home .element{
    max-height: 280px;
    top: 80px;
    right:10%;
  }

  .home .content h1 {
    font-size: 2.8em;
    margin-left:10%;
}
  .home .content p{
    max-width:80%;
    font-size:1em;
    margin-bottom:30px;
    margin-left:10%
  }

  .home .content a{
    margin-left:10%;
    padding: 10px 20px;
    font-size: 0.8em;
  }

  .home{
    min-height: 50vh;
    max-height:50vh;
  }

  .slider-navigation{
    bottom:10%;
    top:55%;
    left:47%
  }
}

/*Màn hình từ 1024 tới 1279 px*/
@media (min-width: 1024px) and (max-width: 1270px){
  .home .content{
    position: absolute;
    top:20%;
    left:3.5%;
  }

  header.sticky .brand{
    padding-left: 3%;
  }

  .home .element{
    max-height: 300px;
    top: 75px;
    right:12%;
  }

  .home .content h1 {
    font-size: 3.5em;
    margin-left:10%;
    margin-bottom: 10px;
}
  .home .content p{
    max-width:80%;
    font-size:1.25em;
    margin-bottom:30px;
    margin-left:10%
  }

  .home .content a{
    margin-left:10%;
    padding: 10px 20px;
    font-size: 1.25em;
  }

  .home{
    min-height: 50vh;
    max-height:50vh;
  }

  .slider-navigation{
    bottom:10%;
    top:55%;
    left:47%
  }
};

