/*style.css*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap');

:root{
  --blue:#29a5a3;

  --primary:#1f2e88;

  --primary-color: #03045e;
  --color: #4581cf;
  --black: #666;
  --white: #fff;
  --box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);

  --secondary:#2f66d4;
  --hover: #a2d9f5;
  --light-color:#666;
  --light-bg:#eee;
  --border:.2rem solid rgba(0,0,0,.1);
  --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
}

*{
    font-family: 'Nunito', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
}

html::-webkit-scrollbar{
    width: 1rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: var(--primary-color);
    border-radius: 5rem;
}

section{
    padding: 2rem 7%;
}

.heading{
    text-align: center;
    font-size: 4rem;
    margin: 2rem 0;
    color: var(--primary-color);
}

.heading span{
  color: var(--color);
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    background: var(--primary-color);
    color: #fff;
    padding: .8rem 3rem;
    border: .2rem solid var(--primary-color);
    cursor: pointer;
    font-size: 1.7rem;
    border-radius: .5rem;
    width: 100%;
}

.btn:hover{
    color: var(--primary-color);
    background: rgba(41, 165, 163, .2);
}

/* header */

.header{
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--box-shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 7%;
}

.header .logo{
  font-size: 2.5rem;
  font-weight: bolder;
  color: var(--black);
}

.header .logo img{
    height:40px;
}

.header .logo i{
  color: var(--primary-color);
}

.header .navbar a{
  font-size: 2rem;
  color: var(--black);
  margin: 0 1rem;
  text-decoration:none;
}

.header .navbar a.active,
.header .navbar a:hover{
  color: var(--primary-color);
}

.header .icons div{
  font-size: 2.5rem;
  margin-left: 1.7rem;
  cursor: pointer;
  color: var(--black);
}

.header .icons div:hover{
  color: var(--primary-color);
}

/* end */

/* login */

.header .login-form{
  position: absolute;
  top: 115%; right: -105%;
  background: var(--white);
  border-radius: .5rem;
  box-shadow: var(--box-shadow);
  width: 35rem;
  padding: 2rem;
}

.header .login-form.active{
  right: 2rem;
  transition: .4s linear;
}

.header .login-form h3{
  color: var(--primary-color);
  text-transform: uppercase;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: .7rem;
}

.header .login-form .box{
  border: .1rem solid rgba(0, 0, 0, 0.1);
  margin: .7rem 0;
  padding: 1rem 1.2rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-transform: none;
  width: 100%;
}

.header .login-form .remember{
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: .7rem 0;
}

.header .login-form .remember label{
  font-size: 1.5rem;
  color: var(--black);
  cursor: pointer;
}

.header .login-form .btn{
  width: 100%;
  text-align: center;
  margin: 1rem 0;
}

#menu-btn{
  display: none;
}

/* end */

/* Custom Styles for Signup Form */
.signup-form {
    padding: 100px 0;
    background: var(--light-bg);
}

.signup-form form {
    background-color: #ffffff;
    box-shadow: var(--box-shadow);
    padding: 30px;
    border-radius: 10px;
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"],
.signup-form input[type="password"],
.signup-form select.form-select,
.signup-form button[type="submit"] {
    font-size: 1.7rem;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-transform:none;
}

.signup-form select.form-select {
    appearance: none;
}

.signup-form .form-check-label {
    font-size: 14px;
}

/*.signup-form button[type="submit"] {
    background-color: #106eea;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.signup-form button[type="submit"]:hover {
    background-color: #0d5be2;
}*/

.mm{
    width: 30px;
    margin-left: 10px;
}

h1{
    text-align: center;
}

.titre{
  font-weight: bold;
}

.sous_titre{
  font-style: italic;
  font-weight: bold;
}

/* footer */

.footer{
    text-align: center;
}

.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 2rem;
}

.footer .box-container .box h3{
    font-size: 2.2rem;
    padding: 1rem 0;
    color: var(--secondary);
}

.footer .box-container .box p{
    font-size: 1.5rem;
    padding: .5rem 0;
    line-height: 2;
    color: var(--light-color);
}

.footer .box-container .box .share{
    margin-top: 1rem;
}

.footer .box-container .box .share a{
    height: 4.5rem;
    width: 4.5rem;
    background: var(--primary);
    color: var(--white);
    line-height: 4.5rem;
    border-radius: 10%;
    font-size: 1.7rem;
    margin-right: .3rem;
    text-align: center;
    text-decoration:none;
}

.footer .box-container .box .share a:hover{
    background: var(--secondary);
}

.footer .box-container .box .link{
    display: block;
    font-size: 1.7rem;
    line-height: 2;
    color: var(--primary);
    padding: .5rem 0;
    text-decoration:none;
    text-transform:none;
}

.footer .box-container .box .link:hover{
    color: var(--hover);
}

.footer .credit{
    margin-top: 3rem;
    padding-top: 3rem;
    font-size: 2rem;
    text-align: center;
    text-transform: capitalize;
    color: var(--primary);
    border-top: .1rem solid var(--secondary);
    text-transform:none;
}

.footer .credit span{
    color: var(--secondary);
}


/* footer ends */

/* media query */

@media(max-width:991px){
    html{
        font-size: 55%;
    }
    
    section{
        padding: 2rem;
    }
    .book .row .container .slide-container{
        max-width: 100rem;
        justify-content: center;
    }
}

@media(max-width:768px){
    #menu-btn{
        display: inline-block;
    }
    .header .navbar{
    position: absolute;
    top: 99%; left: 0; right: 0;
    background: #fff;
    border-top: .1rem solid var(--primary-color);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
  }

  .header .navbar.active{
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .header .navbar a{
    display: block;
    margin: 2rem;
    font-size: 2rem;
  }
}

@media(max-width:450px){
    html{
        font-size: 50%;
    }
}