.card {
 width: 40%;
 height: 340px;
 border-radius: 20px;
 background-image: url(JOI.png);
 background-size: cover;
 background-position:center;

 border: 2px solid #c3c6ce;
 transition: 0.5s ease-out;
 overflow: visible;
 margin-left: 30%;
}

.card-details {
 color: black;
 height: 100%;
 gap: .5em;
 display: grid;
 place-content: center;
 
}

.card-button1 {
 transform: translate(-50%, 125%);
 width: 60%;
 border-radius: 1rem;
 border: none;
 background-color: #008bf8;
 color: #fff;
 font-size: 1rem;
 padding: .5rem 1rem;
 position: absolute;
 left: 50%;
 bottom: 0;
 opacity: 0;
 transition: 0.3s ease-out;
}

.text-body {
 color: rgb(134, 134, 134);
}

/*Text*/
.text-title {
 font-size: 1.5em;
 font-weight: bold;
 margin-top: 200%;
}

/*Hover*/
.card:hover {
 border-color: #008bf8;
 box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
}

.card:hover .card-button1 {
 transform: translate(-50%, 50%);
 opacity: 1;
}

.features-box{
    margin-left: 60%;
    width: 60%;
}

/* #button {
  --primary-color: #645bff;
  --secondary-color: #fff;
  --hover-color: #111;
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  width: 19%;
  height: 50PX;
  margin-left: 35%;
  
}

#button .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#button .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

#button .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

#button:hover {
  background-color: var(--hover-color);
}

#button:hover .arrow {
  background: var(--secondary-color);
}

#button:hover .arrow:before {
  right: 0;
} */

.navbar {
 margin-bottom: 80px;
height: 70px;
}
.container1 {
 margin-left: 35%;
margin-bottom: 4%;
}


.mb-3{
    width: 150%;
   

}



 @media screen and (max-width: 678px) {


.mb-3{
    width: 290%;
    margin-left: -80%;

}

#img{
    height: 220PX;
    
}
.features-image{
margin-right: 50%;
}


.card {
 width: 65%;
 height: 340px;
 border-radius: 20px;
 background-image: url(JOI.png);
 background-size: cover;
 background-position:center;

 border: 2px solid #c3c6ce;
 transition: 0.5s ease-out;
 overflow: visible;
 margin-left: 19%;
}
    
 }



   @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


.container11{
	width: 90%;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
#ul{
	list-style: none;
}
.footer{
  width: 100%;
	background-color: #284f6e;
    padding: 70px 0;
}
.footer-col{
   width: 25%;
   padding: 0 15px;
}
.footer-col h4{
	font-size: 18px;
	color: #ffffff;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e91e1e;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}
.footer-col #ul #li:not(:last-child){
	margin-bottom: 10px;
}
.footer-col #ul #li #a{
	font-size: 16px;
	text-transform: capitalize;
	color: #ffffff;
	text-decoration: none;
	font-weight: 300;
	color: #bbbbbb;
	display: block;
	transition: all 0.3s ease;
}
.footer-col #ul #li #a:hover{
	color: #ffffff;
	padding-left: 8px;
}
.footer-col .social-links #a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
}
.footer-col .social-links #a:hover{
	color: #24262b;
	background-color: rgb(74, 133, 223) ;
}


/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;
}

}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}


  
}






   .fancy {
 background-color: transparent;
 border: 2px solid #000;
 border-radius: 0;
 box-sizing: border-box;
 color: #fff;
 cursor: pointer;
 display: inline-block;
 float: right;
 font-weight: 700;
 letter-spacing: 0.05em;
 margin: 0;
 outline: none;
 overflow: visible;
 padding: 1.25em 2em;
 position: relative;
 text-align: center;
 text-decoration: none;
 text-transform: none;
 transition: all 0.3s ease-in-out;
 user-select: none;
 font-size: 13px;
}

.fancy::before {
 content: " ";
 width: 1.5625rem;
 height: 2px;
 background: black;
 top: 50%;
 left: 1.5em;
 position: absolute;
 transform: translateY(-50%);
 transform-origin: center;
 transition: background 0.3s linear, width 0.3s linear;
}

.fancy .text {
 font-size: 1.125em;
 line-height: 1.33333em;
 padding-left: 2em;
 display: block;
 text-align: left;
 transition: all 0.3s ease-in-out;
 text-transform: uppercase;
 text-decoration: none;
 color: black;

}

.fancy .top-key {
 height: 2px;
 width: 1.5625rem;
 top: -2px;
 left: 0.625rem;
 position: absolute;
 background: #e8e8e8;
 transition: width 0.5s ease-out, left 0.3s ease-out;
}

.fancy .bottom-key-1 {
 height: 2px;
 width: 1.5625rem;
 right: 1.875rem;
 bottom: -2px;
 position: absolute;
 background: #e8e8e8;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy .bottom-key-2 {
 height: 2px;
 width: 0.625rem;
 right: 0.625rem;
 bottom: -2px;
 position: absolute;
 background: #e8e8e8;
 transition: width 0.5s ease-out, right 0.3s ease-out;
}

.fancy:hover {
 color: white;
 background: black;
 text-decoration: none;
}

.fancy:hover::before {
 width: 0.9375rem;
 background: white;
}

.fancy:hover .text {
 color: white;
 padding-left: 1.5em;
}

.fancy:hover .top-key {
 left: -2px;
 width: 0px;
}

.fancy:hover .bottom-key-1,
 .fancy:hover .bottom-key-2 {
 right: 0;
 width: 0;
}






.container2{
    width: 90%;
    max-width: 650px;
    
    padding: 28px;
    margin: 0 28px;
    border-radius: 10px;
    
    margin-bottom: 3%;
    margin-top: 2%;
    
     background-image: linear-gradient(60deg,#526D82,#27374D);
     background-size: 600% 600%;
 animation: mehdi 12s  infinite linear;

    
}

.form-title{
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 6px;
    color: rgb(0, 0, 0);
    
    border-bottom: solid 1px white;
}

.main-user-info{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px 0;
}

.user-input-box:nth-child(2n){
    justify-content: end;
}

.user-input-box{
    display: flex;
    flex-wrap: wrap;
    width: 50%;
    padding-bottom: 15px;
}

.user-input-box label{
    width: 95%;
    color: white;
    font-size: 20px;
    font-weight: 400;
    margin: 5px 0;
}

.user-input-box input{
    height: 40px;
    width: 95%;
    border-radius: 7px;
    outline: none;
    border: 1px solid grey;
    padding: 0 10px;
}

.form-submit-btn{
    margin-top: 40px;
}

.form-submit-btn input{
    display: block;
    width: 100%;
    margin-top: 10px;
    font-size: 20px;
    padding: 10px;
    border:none;
    border-radius: 3px;
    color: rgb(209, 209, 209);
    background: rgba(63, 114, 76, 0.7);
}

.form-submit-btn input:hover{
    background: rgba(56, 204, 93, 0.7);
    color: rgb(255, 255, 255);
}

@media(max-width: 600px){
    .container2{
        min-width: 280px;
    }

    .user-input-box{
        margin-bottom: 12px;
        width: 100%;
    }

    .user-input-box:nth-child(2n){
        justify-content: space-between;
    }

    

 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}
    .main-user-info{
        max-height: 380px;
        overflow: auto;
    }

    .main-user-info::-webkit-scrollbar{
        width: 0;
    }
    



}



#btn{
    background-color: #008bf8;
    border: none;

  width: 30%;
}

#btn:hover{
    color: #000;
    border: none;
    font-weight: bold;
    background-color: #fff;
}





@keyframes mehdi {
  0% {
    background-position: 0 85%;
  }
  50% {
    background-position: 100% 20%;
  }
  100% {
    background-position: 0 85%;
  }
}



button {
  --primary-color: #645bff;
  --secondary-color: #fff;
  --hover-color: #111;
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  width: 28%;
  height: 50PX;
  margin-left: 35%;
}

button .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

button .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

button .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

button:hover {
  background-color: var(--hover-color);
}

button:hover .arrow {
  background: var(--secondary-color);
}

button:hover .arrow:before {
  right: 0;
}




#btn {
  background-color: #008bf8;
  border: none;
  width: 90%;
  max-width: 300px; /* Set a maximum width for larger screens */
  margin: 0 auto; /* Center the button horizontally */
  padding: 10px; /* Add some padding for better spacing */
}

#btn:hover {
  color: #000;
  border: none;
  font-weight: bold;
  background-color: #fff;
}

/* Responsive adjustments */
@media (min-width: 576px) {
  /* Adjust styles for screens wider than 576px (e.g., small tablets) */
  #btn {
    width: 70%;
  }
  body{
  min-height: 100vh;
 background-size: 150% ;
}
 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}
}

@media (min-width: 768px) {
  /* Adjust styles for screens wider than 768px (e.g., tablets) */
  #btn {
    width: 50%;
  }
  body{
  min-height: 150vh;
 background-size: 50% ;
}
 *{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 
}
}

@media (min-width: 992px) {
  /* Adjust styles for screens wider than 992px (e.g., small laptops) */
  #btn {
    width: 40%;
  }


}

@media (min-width: 1200px) {
  /* Adjust styles for screens wider than 1200px (e.g., larger laptops and desktops) */
  #btn {
    width: 30%;
  }
}
