main {
    display: flex;
    flex-direction: column;
}

#notification {
    display: none;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

iframe#carte {
    width: 100%;
    height: 350px;
    border: 0;
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2.orange {
    color: #E76130;
    text-align: center;
    font-size: 2rem;
    margin: 20px 0;
}

p.blanc {
    color: #555;
    line-height: 1.6;
    margin: 0 10%;
    text-align: center;
    font-size: 20px;
}

.rectangle-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.rectangle {
    width: 250px;
    height: 60px;
    background-color: #43659F;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.rectangle:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.05);
}

.rectangle .front,
.rectangle .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.rectangle .back {
    transform: rotateY(180deg);
    background-color: #43659F;
    border-radius: 10px;
}

.rectangle.clicked {
    transform: rotateY(180deg);
}

.rectangle .back .phone-icon {
    width: 30px;
}

.contact {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    background-color: #43659F;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #ffffff;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact input,
.contact select,
.contact textarea {
    width: 100%;
    max-width: 550px;
    padding: 10px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
}

.contact input:focus,
.contact select:focus,
.contact textarea:focus {
    outline: none;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
}

.contact textarea {
    height: 120px;
}

.contact input[type="submit"] {
    background-color: #E76130;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact input[type="submit"]:hover {
    background-color: #E64E2E;
}

@media (max-width: 768px) {
    main {
        margin: 0;
    }

    .rectangle {
        width: 200px;
        height: 50px;
    }

    .contact {
        padding: 15px;
    }

    p.blanc {
        margin: 0 5%;
        font-size: 0.9rem;
    }

    h2.orange {
        font-size: 1.5rem;
    }

    .contact input,
    .contact select,
    .contact textarea {
        width: 100%;
    }
}
