* {
    
    margin: 0;
    padding: 0;
  }


body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;


}

nav { /*faire que le nav bar reste sur la page visible tout le temps*/
  display: flex;
    width: 100%;
    top: 0px;
    flex-wrap: nowrap;
  justify-content: space-between;
  background-color: rgb(255, 255, 255);
  box-shadow: -1px 13px 8px -3px rgba(0, 0, 0, 0.1);
  position: fixed;
  padding:15px;
  z-index:999;

}
main {
  margin-top: 200px; /* Ajustez cette valeur en fonction de la hauteur de votre navbar */
}
.TitrePrincipal{
    text-align: center; /* Centrer le texte horizontalement */
    color: #100077;
    font-size:60px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-top: 10px;
    animation: slideIn 0.5s ease forwards;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  
  }
  
  @keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
  }
.logo {
  margin-right: 15px;
  display: flex;

}

.logo img {
  width: 120px;
  height: 100px;
  margin-right: 15px;
}

.nom {

    font-weight: 500;
  font-size: 50px;
  font-weight: bold;
  align-items: center;
}


a{
  text-decoration: none;
}
 

h2{
  margin-bottom: 50px;
  font-size: 40px;
}

h4{
  margin-bottom: 50px;
  font-size: 20px;
}


.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
    .example-wrapper code { background: #F5F5F5; padding: 2px 6px; }

    .slider-container {
        position: relative;
        width: 300px;
        height: 40px;
        margin: 50px auto;
    }
.slider-track {
    position: absolute;
    width: 100%;
    height: 12px; /* Augmentez la hauteur ici */
    background: #ddd;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 3px;
}
    .slider-thumb {
        position: absolute;
        width: 20px;
        height: 20px;
        background: #3498db;
        border-radius: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        cursor: pointer;
    }
    .slider-value-display {
        position: absolute;
        top: -30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        color: #333;
    }

footer{

  background-color: #F7F7F7; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px 20px 40px;
  .nom{
    margin: 20px;
  }
  p{
    font-size: 20px;
    margin: 20px;

    font-weight: 300;
  }
}
/* Search Bar */
.containersearchbar {
    text-align: center;
    margin-top: 20px;
  }
  
  .form-group {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    flex-direction: column;
  }
  
  .form-group input[type="text"] {
    padding: 10px;
    font-size: 17px;
    border: none;
    width: 60%;
    background: #f1f1f1;
    border-radius: 20px 0 0 20px;
    outline: none;
    box-shadow: 0 0 15px 4px rgba(0,0,0,0.06);
    margin:0 auto;
  }
  
  #weather-info {
    margin-top: 20px;
    font-size: 18px;
  }
/* Cards */
div.widget {
  background-color: #ffffff;
  border-radius: 30px;
  padding: 25px;
  box-shadow: 0px 11px 15px -6px #100077;
  margin-bottom:40px;
  width:450px;
}

div.date {
  font-size: 14px;
  font-weight: bold;
  color: rgb(0, 0, 0);
}

div.city {
  font-size: 21px;
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 5px;
  color: rgb(0, 0, 0);
}

div.temp {
  font-size: 81px;
  color: rgb(0, 0, 0);
  font-weight: 100;
}

#weather-info {
  display:grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  margin:0 auto;

}

@media(max-width: 767px){
  #weather-info {
      display:flex;
      flex-direction: column;
  
  }
  div.widget {
    width: 80%;
  }
}
/* CSS */
.button-63 {
  align-items: center;
  background-image: linear-gradient(144deg,#024c88, #100077 50%,#37006b);
  border: 0;
  border-radius: 30px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #FFFFFF;
  display: flex;
  font-family: Phantomsans, sans-serif;
  font-size: 15px;
  justify-content: center;
  height:60px;
  width:130px;
  padding: 30px 30px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  margin-left:15px;
  margin-right: 10px;

}

.button-63:active,
.button-63:hover {
  outline: 0;
}

@media (min-width: 768px) {
  .button-63 {
    font-size: 20px;

  }
}
/*Footer*/

.containerfooter{
	max-width: 1170px;
	margin:auto;
}
.row{
	display: flex;
	flex-wrap: wrap;
}
ul{
	list-style: none;
}
.footer{
	background-color: #100077;
    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: #3DE2E5;
	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: #fff;
	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: #fff;
	background-color: #ffffff;
}
li {
	color:white;
}
/*responsive*/
@media(max-width: 767px){
  .footer-col{
    width: 50%;
    margin-bottom: 30px;

}
.search-bar button {
  width: 30%;
}
}
@media(max-width: 574px){
  .footer-col{
    width: 100%;
}
}
/* Formulaire login*/
.register-form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  margin-bottom: 50px;

}

.register-form h1 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.register-form .alert-danger {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.register-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.register-form .form-control {
  padding: 10px;
  font-size: 16px;
  margin-bottom: 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.register-form .form-control:focus {
  border-color: #100077;
  outline: 0;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.register-form .checkbox {
  display: flex;
  align-items: center;
}

.register-form .checkbox label {
  margin: 0;
}

.register-form .checkbox input {
  margin-right: 10px;
  margin-left:15px;
}

.register-form .btn {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  background-color: #100077;
  color: white;
  width:80%;
  margin:0 auto;
}

.register-form .btn:hover {
  background-color: #0056b3;
}
.register-form div {
  display: flex;
  flex-direction: column;
  justify-content: center;

}
/* Formulaire login*/
.unique-form-wrapper {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  margin-bottom: 100px;
}

.unique-form-wrapper form {
  display: flex;
  flex-direction: column;
}

.unique-form-wrapper .alert {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.unique-form-wrapper .alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.unique-form-wrapper .mb-3 {
  margin-bottom: 15px;
}

.unique-form-wrapper h1 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.unique-form-wrapper label {
  font-weight: bold;
  margin-bottom: 5px;
}

.unique-form-wrapper .form-control {
  padding: 10px;
  font-size: 16px;
  margin-bottom: 15px;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

.unique-form-wrapper .form-control:focus {
  border-color: #100077;
  outline: 0;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.unique-form-wrapper .checkbox {
  display: flex;
  align-items: center;
}

.unique-form-wrapper .checkbox label {
  margin: 0;
}

.unique-form-wrapper .checkbox input {
  margin-right: 10px;
}

.unique-form-wrapper .btn {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.unique-form-wrapper .btn-primary {
  background-color: #100077;
  color: white;
}

.unique-form-wrapper .btn-primary:hover {
  background-color: #0056b3;
}

/*style affichage selection ville*/
.containerform {
  max-width: 600px;
  margin: 50px auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.form-control {
  width: 90%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#city-suggestions {
  margin-top: 10px;
}

#city-suggestions div {
  margin-bottom: 5px;
}

#city-suggestions a {
  display: block;
  padding: 10px;
  font-size: 16px;
  color: #100077;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

#city-suggestions a:hover {
  background-color: #f2f2f7;
}




/* Style de la flèche de retour */
.back-link {
  margin-top: 20px;
  padding: 10px 10px;
  font-size: 16px;
  text-decoration: none;
  color: #fff;
  background-color: #100077; /* Couleur de fond */
  border-radius: 5px; /* Coins arrondis */
  transition: background-color 0.3s; /* Transition de couleur au survol */
  margin-left: 100px;

}

/* Style de survol de la flèche de retour */
.back-link:hover {
  background-color: #0056b3; /* Nouvelle couleur de fond au survol */
}



/* Style pour les informations météorologiques actuelles */
.current-weather {
  display: flex;
  align-items: center;
}

.temperature {
  font-size: 48px;
  font-weight: bold;
  margin-right: 20px;
}

.conditions {
  font-size: 18px;
}


/* Style pour les détails météorologiques */
.details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.details li {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Style pour les prévisions */
.weather-information {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 90%;
  margin: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  align-content: stretch;
  flex-wrap: nowrap;
  margin:0 auto;
}

.weather-details, .graph-container {
  width: 48%;
}

.weather-information h2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.favorite-button {
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}


.favorite-button.empty::before {
  content: '☆';
  font-size: 40px;
  color: #999;
}

.favorite-button.filled::before {
  content: '★';
  font-size: 40px;
  color: #ffdd00;
}
.preferences-form {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.preferences-form h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.preferences-form .alert-danger {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.preferences-form label {
  font-weight: bold;
  margin-bottom: 5px;
}

.preferences-form .form-check {
  margin-bottom: 15px;
}

.preferences-form .form-check-label {
  margin-left: 5px;
}

.preferences-form .btn {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  background-color: #100077;
  color: white;
  width: 80%;
  margin: 0 auto;
}

.preferences-form .btn:hover {
  background-color: #0056b3;
}

.icon {
  width: 200px;
  height: 200px;
}

.weather-details p {
  margin: 10px 0;
}

/* Style du graphique */
#temperature-chart {
  max-width: 90%;
}

.profile-main {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  margin: auto;
}

.profile-main p {
  font-size: 16px;
  color: #333;
  margin: 10px 0;
}

.profile-main a {
  color : #0039E0;
  text-decoration: none;
}

.profile-main a:hover {
  text-decoration: underline;
}

.profile-main button {
  background-color: #100077;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.profile-main button:hover {
  background-color: #0056b3;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #ddd;
  border-radius: 5px;
  margin: 20px 0;
}

.slider-track {
  position: absolute;
  height: 5px;
  background-color: #100077;
  border-radius: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.slider-thumb {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #100077;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.slider-value-display {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}
