@import url('https://fonts.googleapis.com/css2?family=Advent+Pro|Dancing+Script&display=swap');

html {
    scroll-behavior: smooth;
}

body { 
    
    font-family: "Advent Pro", sans-serif;
    padding: 0;
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style-type: none;
}

h2 {
    text-transform: uppercase;
    text-align: center;
    padding-top: 30px;
    font-size: 2em;
}

a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
}

/* *************** NAVBAR **************** */
nav {
    overflow: hidden;
    background-color: rgb(245, 179, 201);
    position: fixed;
    width: 100%;
    opacity: 0.9;
}

header li {
    float: right;
    font-size: 1.2em;
}

header li a {
    text-decoration: none;
    display: block;
    text-align: center;
    padding: 18px 16px;
    transition: color 0.3s ease;
}

#logo {
    font-family: "Dancing cursive";
    font-weight: bold;
    float: left;
}

/* ************************* IMAGE PRINCIPALE ****************** */
#imageVynile {
    padding-top: 60px;
    background: url(Vynile;1.jpeg) no-repeat fixed 50% 50%;
    background-size: cover;
    height: 699px;
}

h1 {
    font-family: "cursive";
    text-align: center;
    color: black;
    font-size: 6em;
    margin-top: 85px;
    text-shadow: 1px 3px 2px black;
}

#premierTrait {
    height: 1px;
    width: 85%;
    margin: -3px auto;
    background-color: black;
    text-shadow: 1px 3px 2px black;
}

h3 {
    text-align: center;
    color: pink;
    font-size: 3em;
    text-shadow: 1px 3px 2px black;
}

/* **************** PRÉSENTATION *********** */
#presentation {
    background-color: pink;
    padding: 10px 0px 100px 0;
}

#texteIntro {
    padding: 0px 20%;
}

#Photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px 10%;
}

.imagesPhotos h4 {
    font-family: cursive;
    text-align: center;
    font-size: 1.6em;
    margin: 15px;
    font-weight: 300;
}

.imagesPhotos img {
    border-radius: 50%;
    box-shadow: 5px 5px 3px 1px black;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.imagesPhotos img:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.imagesPhotos img:active {
    transform: scale(1.1);
}

/* Style général du lecteur vinyle */
.vinyle-player {
    text-align: center;
    max-width: 400px;
    margin: 50px auto;
    background: #f8e1cb;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

h4 {
    margin-bottom: 10px;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.album-cover {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 10px 0;
}

.controls {
    margin: 20px 0;
}

button {
    background-color: pink;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 10px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: pink;
}

input[type="range"] {
    width: 80%;
    margin-top: 10px;
}

/* ************* VINYLE ANIMÉ ********** */
.vinyle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: url('Vynile.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    margin: 20px auto;
    opacity: 0.8;
    transition: transform 0.5s ease;
    box-shadow: 0 0 15px rgba(249, 174, 232, 0.295);
}

/* Animation de rotation du vinyle */
.play-vinyle {
    animation: tourner 5s linear infinite;
}

@keyframes tourner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ************* FOOTER ********* */

footer {
    background-color: burlywood;
    color: black;
    padding: 20px 0 10px 0;
    text-align: center;
}

#deuxiemeTrait {
    height: 1px;
    width: 75%;
    background-color: black;
    margin: 60px auto;
}

#copyrightEtIcons {
    display: flex;
    margin-bottom: 20px;
    padding: 0 10%;
}

#copyright {
    width: 50%;
    text-align: left;
    color: black;
}

#icons {
    width: 50%;
    text-align: right;
}

#icons a {
    display: inline-block;
    padding: 0 15px;
    font-size: 1.3em;
    color: black;
    transition: transform 0.1s ease-in-out;
}

#icons a:hover {
    transform: scale(1.5);
    transition: 0.1s ease;
}
/* ************* FORMULAIRE ************* */
form {
    margin: 0 auto;
    max-width: 900px;
    background-color: rgb(246, 191, 213); /* Fond beige pour le formulaire */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="file"],
textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0 20px 0;
    font-size: 1.2em;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: "Advent Pro", sans-serif;
}

textarea {
    height: 120px;
}

.error {
    color: red;
    font-size: 14px;
}

.success {
    color: green;
    font-size: 14px;
}

button {
    font-size: 1.5em;
    background-color: rgb(238, 220, 245);
    padding: 15px 20px;
    width: 55%;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    margin: 10px 0;
    cursor: pointer;
}

button:hover {
    background-color: black;
    color: white;
    transition: 0.3s ease-in-out;
}