* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell, "fira sans", "droid sans", "helvetica neue", Arial, sans-serif;
    font-size: 16px;
}


.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}
.login h1 {
    text-align: center;
    color: #5b6574;
    font-size: 24px;
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #dee0e4;
}
.login form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
}
.login form label {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: red;
    color: #ffffff;
}
.login form input[type="password"],
.login form input[type="text"] {
    width: 310px;
    height: 50px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;
}
.login form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    background-color: red;
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
    background-color: red;
    transition: background-color 0.2s;
}

body.loggedin {
    background-color: #f3f4f7;
}
.content {
    width: 1000px;
    margin: 0 auto;
}
.content h2 {
    margin: 0;
    padding: 25px 0;
    font-size: 22px;
    border-bottom: 1px solid #e0e0e3;
    color: #4a536e;
}
.content > p,
.content > div {
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    margin: 25px 0;
    padding: 25px;
    background-color: #fff;
}

.content > div p {
    padding: 5px;
    margin: 0 0 10px 0;
}

body {
    margin: 0;
    padding-top: 40px;
    color: #2e323c;
    background: #f5f6fa;
    position: relative;
    height: 100%;
}
.account-settings .user-profile {
    margin: 0 0 1rem 0;
    padding-bottom: 1rem;
    text-align: center;
}
.account-settings .user-profile .user-avatar {
    margin: 0 0 1rem 0;
}
.account-settings .user-profile .user-avatar img {
    width: 90px;
    height: 90px;
    -webkit-border-radius: 100px;
    -moz-border-radius: 100px;
    border-radius: 100px;
}
.account-settings .user-profile h5.user-name {
    margin: 0 0 0.5rem 0;
}
.account-settings .user-profile h6.user-email {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
    color: #9fa8b9;
}
.account-settings .about {
    margin: 2rem 0 0 0;
    text-align: center;
}
.account-settings .about h5 {
    margin: 0 0 15px 0;
    color: #007ae1;
}
.account-settings .about p {
    font-size: 0.825rem;
}
.form-control {
    border: 1px solid #cfd1d8;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 0.825rem;
    background: #ffffff;
    color: #2e323c;
}

.card {
    background: #ffffff;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 0;
    margin-bottom: 1rem;
}

.fa-cart-plus {
    background: #0652dd;
}

.addtocart {
    display: block;
    padding: 0.5em 1em 0.5em 1em;
    border-radius: 100px;
    border: none;
    font-size: 2em;
    position: relative;
    background: #0652dd;
    cursor: pointer;
    height: 1em;
    width: 5em;
    overflow: hidden;
    transition: transform 0.1s;
    z-index: 1;
}
.addtocart:hover {
    transform: scale(1.1);
}
.pretext {
    color: #fff;
    background: #0652dd;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Quicksand", sans-serif;
}
i {
    margin-right: 10px;
}
.done {
    background: #be2edd;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: transform 0.3s ease;

    transform: translate(-110%) skew(-40deg);
}
.posttext {
    background: #be2edd;
}
.fa-check {
    background: #be2edd;
}

  /* Button used to open the contact form - fixed at the bottom of the page */
.open-buttonpsw {
    background-color: #555;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    opacity: 0.8;
    position: fixed;
    bottom: 23px;
    right: 28px;
    width: 280px;
  }
  
  /* The popup form - hidden by default */
  .form-popuppsw {
    display: none;
    position: fixed;
    bottom: 0;
    right: 15px;
    border: 3px solid #f1f1f1;
    z-index: 9;
  }
  
  /* Add styles to the form container */
  .form-containerpsw {
    max-width: 300px;
    padding: 10px;
    background-color: white;
  }
  
  /* Full-width input fields */
  .form-containerpsw input[type=text], .form-container input[type=password], .form-container input[type=date] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
  }
  
  /* When the inputs get focus, do something */
  .form-containerpsw input[type=text]:focus, .form-container input[type=password]:focus, .form-container input[type=date]:focus {
    background-color: #ddd;
    outline: none;
  }
  
  /* Set a style for the submit/login button */
  .form-containerpsw .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
  }
  
  /* Add a red background color to the cancel button */
  .form-containerpsw .cancel {
    background-color: red;
  }
  
  /* Add some hover effects to buttons */
  .form-containerpsw .btn:hover, .open-button:hover {
    opacity: 1;
  }

  .editpsw {
    background-color: red;
    color: white;
    padding: 16px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

.editpsw:hover {
    opacity: 1;
}
.editpsw-c {
    background-color: rgb(249, 154, 154);
    color: white;
    padding: 10px 12px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

.editpsw-c:hover {
    opacity: 1;
}

.iscrbtn {
    background-color: red;
    color: white;
    padding: 16px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

.iscrbtn:hover {
    opacity: 1;
}


.form-newcorso {
    display: none;
   
  }
  
  /* Add styles to the form container */
  .form-containernewcorso {
    
    padding: 10px;
    background-color: white;
  }
  
  /* Full-width input fields */
  .form-containernewcorso input[type=text], .form-container input[type=password], .form-container input[type=date] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
  }
  
  /* When the inputs get focus, do something */
  .form-containernewcorso input[type=text]:focus, .form-container input[type=password]:focus , .form-container input[type=date]:focus {
    background-color: #ddd;
    outline: none;
  }
  
  /* Set a style for the submit/login button */
  .form-containernewcorso .btn {
    background-color: #04AA6D;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
    opacity: 0.8;
  }
  
  /* Add a red background color to the cancel button */
  .form-containernewcorso .cancel {
    background-color: red;
  }
  
  /* Add some hover effects to buttons */
  .form-containernewcorso .btn:hover, .open-button:hover {
    opacity: 1;
  }

  .newcorso {
    background-color: red;
    color: white;
    padding: 16px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

.newcorso:hover {
    opacity: 1;
}
#divNascosto {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #cccccc;
    z-index: 1000; /* Posizione in primo piano */
}


/* Set a style for the submit button */
.registerbtn {
    background-color: red;
    color: white;
    padding: 16px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}

.registerbtn:hover {
    opacity: 1;
}

/* Add a blue text color to links */
a {
    color: red;
}

/* Set a grey background color and center the text of the "sign in" section */
.signin {
    background-color: #f1f1f1;
    text-align: center;
}

.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}

.switch input { 
opacity: 0;
width: 0;
height: 0;
}

.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}

.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}

input:checked + .slider {
background-color: red;
}

input:focus + .slider {
box-shadow: 0 0 1px red;
}

input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
border-radius: 34px;
}

.slider.round:before {
border-radius: 50%;
}
/* Full-width input fields */
select,
input[type="text"],
input[type="date"],
input[type="password"] {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    display: inline-block;
    border: none;
    background: #f1f1f1;
}
select,
input[type="text"]:focus,
input[type="date"]:focus,
input[type="password"]:focus {
    background-color: #ddd;
    outline: none;
}


body {
    background-color: black;
}

* {
    box-sizing: border-box;
}


/* Overwrite default styles of hr */
hr {
    border: 1px solid #f1f1f1;
    margin-bottom: 25px;
}
.popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    width: 80%;
    max-width: 600px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.popup-details {
    margin-bottom: 20px;
}

.popup-details p {
    margin-bottom: 10px;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
}

.popup-buttons form {
    margin-bottom: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: #fff;
}

/* Colore di base della navbar */
.navbar {
    background-color: #000000; /* nero */
}

/* Colore del testo della navbar */
.navbar .nav-link {
    color: #ffffff; /* bianco */
}

/* Colore del testo della navbar al passaggio del mouse */
.navbar .nav-link:hover {
    background-color: #212121; /* oro */
    color: #ffffff; /* bianco */
}

/* Colore del brand della navbar */
.navbar .navbar-brand {
    color: #ffffff; /* bianco */
}

/* Colore del brand della navbar al passaggio del mouse */
.navbar .navbar-brand:hover {
    color: #FFD700; /* oro */
}

 .btn-red {
            background-color: #FF2400 ; /* Colore oro */
            transition: background-color 0.3s, color 0.3s;
            border-radius: 15px; /* arrotonda gli angoli del bottone */
            background-color: #FF2400; /* colore di sfondo del bottone */
            color: #FFFFFF; /* colore del testo del bottone */
            padding: 10px 20px; /* padding del bottone */
            border: none; /* rimuove il bordo */
        }
        .btn-red:hover {
            background-color: #FF1A1A; /* Sfondo  */
            color: #FFFFFF; /* Testo bianco */
        }
        .text-gold {
            color: #ffd700 ; /* Colore oro */
            transition: background-color 0.3s, color 0.3s;
        }
        .text-gold:hover {
            background-color: #000000; /* Sfondo nero */
            color: #FFFFFF; /* Testo bianco */
        }