/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
/*
------------------------------------------------------------------------
------------------------------STYLE RESETS------------------------------
------------------------------------------------------------------------
*/
	
/*remove flex grow from button text. Centers it. Better for Buttons with Icons*/
.elementor-button-text{
	flex-grow:0;
}

/*Remove extra space in p tags*/
p{
	margin:0
}
/*Remove Icon extra Space at Bottom*/
.elementor-icon-wrapper, .elementor-button-icon{
	line-height:0;
}

	
	
/*
------------------------------------------------------------------------
---------------------------------FORMS----------------------------------
------------------------------------------------------------------------
*/
	
/*-----Terms & Conditions Checkbox-----*/
input[type="checkbox"] {
  vertical-align: middle;
}

label[for="form-field-accept"]{
    font-size:12px !important;
    line-height: 1.4em;
}

.elementor-field-type-acceptance > .elementor-field-subgroup > .elementor-field-option{
	display: flex;
	align-items:center;
	column-gap: 0.5rem;
}

form input:not(#form-field-upload),
form select,
form textarea {
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.1);
}
	
/*-----File Upload Btn-----*/
/*Nutzt Aktuell die "Accent" Global Color*/
/*Nach Bedarf Styling Anpassen*/	
/*Bei Nicht Nutzung Rausschmeissen*/

input[type="file"]::file-selector-button{
	transition: all ease-in-out 0.3s;
  	background-color: var(--e-global-color-gold) !important;
	color: var(--e-global-color-black);
	border: none;
	border-radius: 0;
	padding: 0.25rem 0.5rem;
  	cursor:pointer;
}
	
input[type="file"]::file-selector-button:hover{
	-webkit-filter: brightness(110%);
	-moz-filter: brightness(110%);
	filter: brightness(110%);
}
	
.elementor-upload-field{
	border: none !important;
	background-color: transparent !important;
}
	
.elementor-field-type-upload{
    padding-bottom:1rem;
}
	
.elementor-field-type-upload::after{
    content:"max. 5MB je Datei - PDF, JPG, PNG";
    font-size:12px !important;
    position: absolute;
    bottom:-6px;
}

	
	
/*
------------------------------------------------------------------------
----------------------------STYLING CLASSES-----------------------------
------------------------------------------------------------------------
*/

.hide{
    display: none;
}

/*-----LEGAL TEXTS-----*/

.cmplz-document-eu h2 ,.legal-text h2{
  font-size: clamp(1.125rem, 0.7273rem + 1.8182vw, 2rem);
	color: var(--e-global-color-accent_color);
	padding: 0 !important;
}

.cmplz-document-eu h2:not(:first-of-type) ,.legal-text h2:not(:first-of-type){
    margin-top: clamp(4rem, 5.0227rem + -4.6753vw, 1.75rem) !important;
	padding: 0 !important;
}

.cmplz-document-eu h3, .legal-text h3{
   font-size: clamp(1rem, 0.7727rem + 1.039vw, 1.5rem);
   margin-top: clamp(2rem, 2.4545rem + -2.0779vw, 1rem);
   margin-bottom: 0.5rem;
}

.cmplz-document-eu h4, .legal-text h4{
	font-size: clamp(0.875rem, 0.7614rem + 0.5195vw, 1rem) !important;
	margin-bottom: 0.5rem;
	margin-top: clamp(2rem, 2.4545rem + -2.0779vw, 1rem);
	text-transform: none;
}

.cmplz-document-eu .cmplz-category-title{
	font-size: clamp(0.875rem, 0.7614rem + 0.5195vw, 1rem);
	font-weight: 700;
	color: var(--e-global-color-main_color);
}
	
.cmplz-document-eu, .legal-text{
	color: #333;
}
.cmplz-document-eu p{
	font-size:var(--e-global-typography-text-font-size) !important;
}
	
.cmplz-document-eu a, .legal-text a{
	color: var(--e-global-color-link_color);
	text-decoration: underline;
}
.cmplz-document-eu h2, .cmplz-document-eu h3, .cmplz-document-eu h4, .legal-text h2, .legal-text h3, .legal-text h4{
  /*color: white !important*/
	font-weight: 700;
	color: var(--e-global-color-main_color)
}
	
.cmplz-document-eu li, .legal-text li{
    margin-top: 0.75rem;
}


<p>
  Transform your <span class="tooltip">CSS<span class="tooltiptext">CSS - Cascading Style Sheet</span></span> levels with the <span class="tooltip">Web Squadron<span class="tooltiptext">Web Agency, Content Creator, Pepsi-Max Lover</span></span> Course.
</p>


/*-----Tooltips-----*/

.tooltip {
  position: relative;
  cursor: pointer;
  text-decoration: underline;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position above the text */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/*
------------------------------------------------------------------------
-------------------------------SPIELEREIEN------------------------------
------------------------------------------------------------------------
*/
	
/*Selection Hintergrund Farbe*/
/*Nutzt Aktuell die "Accent" Global Color*/
/*Schriftfarbe Passend anpassen da die Automatische Kontrastfarbe nicht funktioniert*/
*::selection{
	background: var(--e-global-color-accent_color);
	color: white;
}
	
	
/* Improved Animations Stylesheet from https://element.how/elementor-improve-entrance-animations/ , works for the 'fade' animations */
/*soften fade in animations*/
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translate3d(0,-30px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInDown {
    animation-name: fadeDown
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInLeft {
    animation-name: fadeLeft
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translate3d(30px,0,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInRight {
    animation-name: fadeRight
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0,30px,0)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.elementor-element.fadeInUp {
    animation-name: fadeUp
}