body {
    overflow-y: hidden;
    background: url('bg.jpg');
    background-size: cover;
    font-family: Arial, sans-serif;
}

.formContainer,
.formContainer2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
    min-height: 48vh;
    padding: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 21px;
    border: 2px solid gold;
    box-shadow: 0px 0px 12px 3px gold;
    color: white;
    row-gap: 20px;
}

.formContainer img,
.formContainer2 img {
    width: 130px;
    margin-bottom: 10px;
}
.formContainer2 h2{
    align-self: center;
    text-align: center;
    font-size: xxx-large;
    margin-bottom:0px;
}

.info {
    width: 75%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 22px;
    line-height: 1.4;
}

.emailEntry {
    display: flex;
    flex-direction: column-reverse;
    width: 75%;
    margin-top: 15px;
}

.emailEntry input[type="text"] {
    height: 35px;
    font-size: 16px;
    padding: 5px;
    border-radius: 5px;
    border: none;
    margin-top: 5px;
}

.consentAndMarketing {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 75%;
    row-gap: 15px;
    font-size: 16px;
}

.tos, .marketing {
    display: flex;
    align-items: center;
    gap: 10px;
}

.formContainer button {
    background: gold;
    color: black;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 8px;
    width: 122px;
    
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.formContainer button:hover {
    background: #ffcc00;
}

.formContainer label {
    font-size: 15px;
}

.info h2 {
    font-size: 20px;
    font-weight: 400;
    color: #e0e0e0;
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.3;
}

a{
    color: gold;
}

.fade-tooltip {
	position: absolute;
	top: 70%;
	left: 50%;
	transform: translate(-50%, -50%);
		background-color: #bc3535;
	color: #fff;
	padding: 8px;
	border-radius: 5px;
	font-size: 14px;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-tooltip.show {
	opacity: 1;
	transform: translate(-50%, -65%);
}
        

        
        /* Mobile styles */
@media (max-width: 768px) {

	body{
	
        background-repeat: no-repeat;
        background-size: 149dvw 100dvh;
        background-position: top;
	}
    .formContainer,
    .formContainer2 {
        width: 90%;
        padding: 15px;
        min-height: 60vh;
        top: 10%;
        transform: translate(-50%, 0);
        border-radius: 15px;
		overflow-y: scroll;
        box-shadow: 0px 0px 8px 2px gold;
    }

    .formContainer img,
    .formContainer2 img {
        width: 100px;
        margin-bottom: 15px;
    }
    .formContainer2 h2 {
    	font-size: xx-large; 
    }

    .info {
        width: 100%;
        font-size: 18px;
        line-height: 1.3;
    }

    .emailEntry {
        width: 100%;
    }

    .emailEntry input[type="text"] {
        height: 40px;
        font-size: 14px;
    }

    .consentAndMarketing {
        width: 100%;
        row-gap: 10px;
        font-size: 14px;
    }

    .tos, .marketing {
        gap: 5px;
    }

    .formContainer button {
        padding: 10px 20px;
        font-size: 14px;
    }

    .info h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .fade-tooltip {
        top: 90%;
        font-size: 12px;
        padding: 6px;
        width: 80%;
    }
}