/*
Theme Name: Twenty Twenty Two Child
Template: twentytwentytwo
*/


/* Sewing Tutorial Styles */
.sewing-tutorial {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

.sewing-tutorial .tutorial-info {
    display: flex;
    align-items: center; /* Align vertically */
}

.sewing-tutorial .tutorial-image {
    flex: 0 0 30%;
    margin-right: 15px; /* Add some space between the image and the details */
}

.sewing-tutorial .tutorial-image img {
    border-radius: 15px;
}


.sewing-tutorial .tutorial-details {
    flex: 1;
}

.sewing-tutorial .tutorial-link {
    text-align: center;
    margin: 30px 0;
}

.sewing-tutorial .tutorial-link a {
    color: #ffffff;
    background-color: #f17aa9;
    padding: 20px 40px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.sewing-tutorial .tutorial-link a:hover {
    background-color: #e6007e;
}

.sewing-tutorial h1 {
    font-size: 40px; /* Adjust this to your desired size */
    color: #f17aa9; /* This will make the title the specified color */
    margin-top: 0; /* This reduces the space above the title */
    margin-bottom: 40px; /* This adds more space below the title */
}

.sewing-tutorial .tutorial-description {
    margin-top: 40px; /* Adjust the value as necessary */
}

.sewing-tutorial .tutorial-image img {
    border-radius: 15px;
    max-width: 400px;
    height: auto;
}

/*all h1 headings pink */
h1 {
  color: #f17aa9;
}

/*Reduce spacing after header and other areas*/
.wp-block-group.alignwide {
    padding-bottom: 10px !important; /* adjust value as needed */
}


/* Responsive Styles */
@media (max-width: 800px) {
    .sewing-tutorial .tutorial-info {
        flex-direction: column; /* Stack the items vertically */
    }

    .sewing-tutorial .tutorial-image,
    .sewing-tutorial .tutorial-details {
        flex: 0 0 100%; /* Allow them to take up the full width */
    }
}

/*add tutorial types to footer */
.sewing-tutorial-type-footer {
    background-color: white;
    border: 6px solid #F27CAB85;
    border-radius: 30px;
    padding: 20px;
}


