﻿/*
 Theme Name:     Weingut Anselmann
 Description:    Divi Child Theme
 Author:         Creatediv
 Author URI:     https://www.creatediv.de
 Template:       Divi
 Version:        1.0.0
*/
 
@import url("../Divi/style.css");
 
/* =Theme customization starts here
------------------------------------------------------- */

/* reem-kufi-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/reem-kufi-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* reem-kufi-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/reem-kufi-v21-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* reem-kufi-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/reem-kufi-v21-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* reem-kufi-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Reem Kufi';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/reem-kufi-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

h1,h2,h3,h4,h5,h6,a,p,li {
	font-family: 'Reem Kufi',Helvetica,Arial,Lucida,sans-serif;	
}

h1, h2 {
	font-weight: 700;
	word-wrap: normal;
}
h3 {
	font-weight: 600;
}
.wine-features-box {
	
    padding: 30px;
	font-family: 'Reem Kufi',Helvetica,Arial,Lucida,sans-serif;
	font-size: 16px;
	color: white;
	/*background: #ef5354; */
	background: black;
}

.wine-features-box ul {
	list-style: none;
}

.wine-features-box li {
	margin-bottom: 10px;
}

#wine-wrapper {
	display: grid;
    grid-template-columns: repeat(1,1fr)
	flex-wrap: wrap;
    gap: 50px 50px;
}

@media (min-width: 768px) {
	#wine-wrapper {
		grid-template-columns: repeat(2,1fr);
	}
}

@media (min-width: 1170px) {
	#wine-wrapper {
		grid-template-columns: repeat(3,1fr);
	}
}


.wine-wrapper {
    height: auto;
    overflow: hidden;
    /*transition: width 0.6s ease, height 0.6s ease;*/
	align-items: end;
	display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.wine-wrapper.expand {
    width: 100%;
    opacity: 1;
	height: auto
}


.wine-wrapper.shrink {
    width: 0em;
    margin: -0.5em;
    opacity: 0;
	height: 0em;
}


@media(min-width: 1350px) {
	.wine-wrapper {
    	grid-template-columns: 1fr 2fr;
	}
}

.wine-wrapper p {
	line-height: 1.2em;
    font-weight: 300;
}

.wine-wrapper .et_pb_button {
	margin-top: 20px;
	display: block;
	text-align: center;
	padding: 10px 30px;
	color: black;
    border-color: black;
    border-radius: 0px;
    font-size: 16px;
    font-family: 'Mukta',sans-serif!important;
    background-color: rgba(0,0,0,0);
}

.wine-wrapper .et_pb_button:hover {
	margin-top: 20px;
	display: block;
	text-align: center;
	padding: 10px 30px;
	color: white;
    border-color: black;
    border-radius: 0px;
    font-size: 16px;
    font-family: 'Mukta',sans-serif!important;
    background-color: rgba(0,0,0,1);
}

.wine-wrapper .et_pb_button:hover:after {
    line-height: 0.8em;
}

.wine-wrapper img {
	height: 300px;
	width: 160px;
	object-fit: cover;
}

/* Stil für die Filter-Buttons */
.filter-buttons {
    margin-bottom: 50px;
	display: flex;
    gap: 10px;
    flex-wrap: wrap;
	justify-content: center;
}

.filter-button {
    cursor: pointer;
    background-color: #000000;
    color: #ffffff;
    padding: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.filter-button:hover,
.filter-button:active {
    background-color: #ef5354;
}

.wpcf7 input[type=email], .wpcf7 input[type=text] .wpcf7 textarea {
	color: #000000;
    padding: 10px 20px;
    border-color: rgba(0, 0, 0, 0);
    background-color: #f4f4f4;
    width: 100%;
    font-size: 16px;
}

.wpcf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: flex-start;
}

.wpcf7-row .wpcf7-form-control-wrap {
	width: 100%;
}

.wpcf7-row .wpcf7-select {
	width: 100%;
    padding: 11px;
}