h1 {
    text-align: left;
    font-size: 2rem;
    margin-inline: 6vmin;
    width: 40%;
    text-shadow: 0 2px 5px black;
}

main {
    padding: 3rem;
}

.hero {
    height: 60vh;
    background: url("./bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-inline: auto;
    position: relative;
    border-radius: 25px;
}

@keyframes glow {   
    from {
        box-shadow: none;
        transform:scale(1);
    }
    to {
        box-shadow: 10px 0 25px rgba(255, 255, 255, 1);
        transform:scale(1.05);
    }
}

.card {
    backdrop-filter: blur(6px);
    position: absolute;
    bottom: 5vh;
    margin: 2vmin;
    padding: 2vmin;
    border-radius: 25px;
    animation: 2s glow alternate infinite;
}

.cta {
    padding: 1vmin 7vmin;
    background: var(--g1);
    font-weight: 900;
    border-radius: 5px;
    border: none;
    margin-top: 2vmin;
    margin-left: 6vmin;
    display: flex;
    text-shadow: 0 2px 5px black;
}

.content1{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 15vh;
    gap: 20px;
    position: relative;
}

.content1 img {
    width: 80vw;
    border-radius: 15px;
}
.content1 .info{
    text-align: left;
    width: 80vw;
    
}
h2{
    text-align: center;
    font-size: 2rem;
}

.right{
    text-align: right;
}
.content2{
    margin-top: 15vh;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-inline: auto;
    color: black;
}

input, textarea {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    color: black;
}
textarea{
    height: 20vh;
    resize: none;
}
button {
    padding: 10px;
    background: orange;
    border: none;
    cursor: pointer;
}


@media (width>1000px) {
    h1 {
        font-size: 4.6rem !important;
        width: 50%;
    }
    h2 {
        font-size: 3.2rem !important;
    }

    nav a {
        font-size: 0.9rem;
    }

    .cta {
        font-size: 1.3rem;
        border-radius: 5px;
        padding: 2vmin 4vmin;
    }

    .hero {
        height: 80vh;
    }

    .card {
        margin: 0 6vmin;
        padding: 2rem;
    }
    .btns{
        display: flex;
    }
    .content1{
        flex-direction: row;
        margin-top: 10vh;
        gap: 40px;
        justify-content: flex-start;
        
    }

    .content1 .info{
        text-align: right;
        position: absolute;
        bottom: 2vh;
        right: 0;   
        width: 40vw;
    }

    .content1 img{
        width: 50vw;
        border-radius: 15px;
    }
    form{
        width: 400px;
    }
}