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

html {
    scroll-behavior: smooth;
  }

  body {
    color: #797979; 
    background: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #414141;
}

a {
    text-decoration: none;
    color:white;
    transition: .3s;
    
    
}

a:hover,
a:active,
a:focus {
    color: black;
    outline: none;
    text-decoration: none;
}



ul,li,a{
    list-style: none;
}

h2::first-letter{
  color: #E32944;
}

/* .container_box{
   
    background-color: #E32944;
} */

/* header{
    padding: 30px 0px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* border-bottom: 1px dashed rgba(256, 256, 256, .2);
    z-index: 9; 
    
} 
*/
header{
  padding: 30px 0px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #E32944;
  z-index: 9; 
  
}

.btn_bck{
  background-color: #E32944;
  border-radius: 25px;
  padding: 15px 40px;
  border: none;
  border: 1px solid white;
  font-size: 16px;   
}

.btn_bck a{
  text-decoration: none;
  color: white;
}

.scroll-container{
  margin-top: 60px;
}


.container_box_grid{
  
    margin-top: 60px;
    padding-top: 60px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 90%;
    margin: 0 auto;
   
}
.scroll-text{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.line_sec{
  width: 50px;
  height: 3px;
  background-color: #E32944;
}

.line_sec_sml{
  width: 5px;
  height: 3px;
  background-color: #E32944;
}

.image_container img{
  width: 400px;
 

}

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

.container{
  width: 50%;
  align-self: center;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;;
}

/* form css */


input[type=text] ,textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}


input[type=email] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type=submit] {
  background-color: #E32944;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #E32944;
}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}
/* form css end */

.btn_bck{
    background-color: #E32944;
    border-radius: 25px;
    padding: 15px 40px;
    border: none;
    border: 1px solid white;
    font-size: 16px;   
}

.btn_bck a{
    text-decoration: none;
    color: white;
}

footer{
    margin-top: 30px;
    background-color: #E32944;
}

.footer_content{
    padding: 30px 0px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.social_sec{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.social_sec i{
    font-size: 26px;
    color: white;
}

.btn_rsume{
    border: 1px solid #fff;
    color: #fff;
    background: none;
    border-radius: 30px;
   
    padding: 12px 36px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;

}









 /* Back to top button  */

 .back-to-top {
    position: fixed;
    /* display: none; */
    width: 44px;
    height: 44px;
    padding: 8px 0;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    z-index: 9;
}

.back-to-top i {
    /* color: #161616; */
    padding: 10px 10px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    background: #EF233C;
    border: 2px solid white;
    border-radius: 0;
    box-shadow: inset 0 0 0 50px #ef233c;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
}

.back-to-top:hover i {
    color: #414141;
}

.scroll-text {
  padding: 30px 0px;
  text-align: center;
}


/* css text moving */

/* .scroll-container {
    
    overflow: hidden;
  } */
  
  
    
    /* animation properties */
    /* -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    
    -moz-animation: my-animation 20s linear infinite;
    -webkit-animation: my-animation 20s linear infinite;
    animation: my-animation 15s linear infinite; */
  
  
  /* for Firefox */
  /* @-moz-keyframes my-animation {
    from { -moz-transform: translateX(100%); }
    to { -moz-transform: translateX(-100%); }
  }
   */
  /* for Chrome */
  /* @-webkit-keyframes my-animation {
    from { -webkit-transform: translateX(100%); }
    to { -webkit-transform: translateX(-100%); }
  } */
  
  /* @keyframes my-animation {
    from {
      -moz-transform: translateX(100%);
      -webkit-transform: translateX(100%);
      transform: translateX(100%);
    }
    to {
      -moz-transform: translateX(-100%);
      -webkit-transform: translateX(-100%);
      transform: translateX(-100%);
    }
  }   */


  /* Media Query  */

@media screen and (max-width: 767px){

  .container_box_grid{
    width: 90%;
    margin: 0 auto;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .social_sec i {
    font-size: 22px;
    
}
  
  
}

@media screen and (max-width: 576px){
  .container {
    width: 75%;
  }
  .social_sec i {
    font-size: 22px;
    
}
}



@media screen and (max-width: 414px){
  .footer_content{
      flex-direction: column;
      gap:20px
  }
  .btn_rsume {
      padding: 8px 10px;
      font-size: 13px;   
  }
  .btn_bck {
    padding: 3px 20px;
    font-size: 13px;
}
  .back-to-top i {
    padding: 3px 3px;
  }
  .image_container img {
    width: 300px;
}
.social_sec i {
  font-size: 22px;
  
}


  }

  @media screen and (max-width: 375px){
    .image_container img {
      width: 250px;
  }
  .btn_bck {
    padding: 5px 25px;
}
.social_sec i {
  font-size: 20px;
}
.btn_rsume {
  padding: 6px 7px;
  font-size: 13px;
}
.social_sec i {
  font-size: 22px;
  
}

  }