@import url('https://fonts.cdnfonts.com/css/futura-now-headline');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --font-family-1:  'Futura Now Headline', sans-serif;
    --principal-color: #51245b;
    --second-color: #1ba8a3;
    --text-color: #242424;
}
body {
    display: grid;
    min-height: 100dvh;
    grid-template-rows: auto 1fr auto;
}

#form{
   min-height: 100vh;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   width: 100%;
   padding-top: 100px;
}
#form h1{
    font-size: 5rem;
    color: var(--text-color);
    text-align: center;
    font-family: var(--font-family-1);
    margin-bottom: 20px;
}
.formulario{
    display: flex;
    justify-content: center;
    align-items: center;
}
.info_section{
width: 100%;
   display: grid;
   grid-template-columns: repeat(5, 1fr);
   grid-template-rows: repeat(1, 1fr);

}
.info_inner {
    width: 400px;
    height: 300px;
    background: var(--text-color);
    position: relative;
    display: flex;
    flex-direction: column;
    place-content: center;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    margin: 20px;
    color: #fff;
}
.info_inner1, .info_inner2, .info_inner3, .info_inner4, .info_inner5{
    z-index: 1;
    place-content: center;
    place-items: center;
}
#info_inner3{
    grid-column: span 2 / span 2;
    grid-column-start: 2;
    grid-row-start: 2;
    width: 850px;
}
.info_inner p{
    z-index: 1;
    display: flex;
    text-align: center;
    padding: 10px;
    font-family: var(--font-family-1);
}
.info_inner p:nth-child(1){
    font-size: 24px;
}
.info_inner ul{
    z-index: 1;
    padding: 0px 25px 20px 25px;
    font-family: var(--font-family-1);
    font-size: 14px;
    list-style: url('https://www.reshot.com/preview-assets/icons/KT96G8DY3W/right-arrow-KT96G8DY3W.svg') ;
}


.info_inner::before{
    content: '';
    position: absolute;
    width: 100px;
    background-image: linear-gradient(180deg, rgb(0, 183, 255), rgb(255, 48, 255));
    height: 200%;
    animation: rotBGimg 3s linear infinite;
    transition: all .2s linear;
}
@keyframes rotBGimg {
    from {
      transform: rotate(0deg);
    }
  
    to {
      transform: rotate(360deg);
    }
  }
  
  .info_inner::after {
    content: '';
    position: absolute;
    background: var(--principal-color);
    inset: 5px;
    border-radius: 20px;
 }

.cont_form{
    max-width: 1200px;
    width: 750px;
    height: 100%;
    padding: 40px;
    margin-top: 5em;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.33);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.4px);
    -webkit-backdrop-filter: blur(6.4px);
    border: 1px solid rgba(255, 255, 255, 1);
}


.title_form {
    text-align: center;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
    font-family: var(--font-family-1);
    padding-bottom: 20px;
    color: var(--text-color);
   
}
#teamRegistrationForm{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.form-group {
    margin-bottom: 15px;
    width: 35rem;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-family: var(--font-family-1);
    color: var(--text-color);
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="file"],
select {
    width: 100%;
    padding: 8px;
    border: 2px solid var(--second-color);
    border-radius: 10px;
    font-family: var(--font-family-1);
}
#submitbtn {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--second-color);
    color: #fff;
    border: none;
    border-radius: 20px !important;
    cursor: pointer;
    transition: all .3s ease-in-out;
    text-transform: uppercase !important;
    font-weight: 700;
    font-family: var(--font-family-1) !important;
}
#submitbtn:hover {
    background: var(--principal-color);
}
.alert {
    padding: 10px;
    background-color: #f44336;
    color: white;
    margin-top: 15px;
    border-radius: 4px;
    display: none;
}
.success {
    background-color: #4CAF50;
}
input[type="file"]{
    color: #fff;
    cursor: pointer;
}
#confirmationmsn{
    flex-direction: column;
    width: 100%;
    height: 100dvh;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--font-family-1);
    font-weight: 400;
    text-align: center;
    visibility: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
}
#overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 998;
    display: none;
}

.content-confirm{
    max-width: 1200px;
    width: 100%;
    background: var(--principal-color);
    min-height: 500px;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
}
.content-confirm p:nth-child(3) {
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    text-transform: lowercase;
}
.content-confirm p:nth-child(4) {
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    text-transform: uppercase;
    width: 750px;
}
.transaction hr{
    height: 1px;
    width: 100%;
}
.check1 h4 {
    color: #fff;
}
.check2 h4{
    color: #fff;
}
.check3 h4{
    color: #fff;
    font-size: 18px;
    letter-spacing: normal;
    margin-bottom: 25px;
}
.check3 {
    display: flex;
    align-items: center;
    flex-direction: column;
    left: 0;
}

#btnpago2 {
    position: relative;
    margin-top: -15px !important;
}
#btnpago2:nth-last-child(1) {
    margin-top: 10px !important;
}
#btnpago2 button {
    position: relative;
    left: 0;
}

 .check1 p{
    text-align: center;
    font-size: 20px;

 }
  .transaction{
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    gap: 20px;
    margin-top: 30px;
 }
.transaction img{
    width: 200px;
    height: 200px;
}
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    padding: 10px 10px 20px 10px;
    background: var(--second-color);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: var(--text-color);
    transform: scale(1.1);
}

.btnpago {
    text-decoration: none;
    padding-top: 10px;
}


/* RESPONSIVE */

@media screen and (max-width: 1280px) {
    .cont_form{
        width: 500px;
        height: 100dvh;
        height: 650px;
        padding: 0;
    }
    .form-group {
        max-width: 30em;
    }
    .title_form{
        line-height: 2rem;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 500px) {

    #form{
        justify-content: center;
        padding-top: 150px;
    }
    #form h1{
        font-size: 2.5rem;
        line-height: 3rem
    }
    .info_section{
        display: flex;
        flex-direction: column;
    }
    .info_inner{
        width: auto;
        max-width: 400px;
    }
    #info_inner3{
        height: 450px;
    }
    .cont_form{
        width: 400px;
        height: 700px;
    }
    .form-group {
        width: 100%;
    }
    .content-confirm{
        width: 90%;
    }
    .title_form{
        line-height: 1.5rem;
        font-size: 22px;
        padding-bottom: 0;
    }
    #confirmationmsn{
        height: 100%;
        overflow: auto;
    }
    .content-confirm {
        font-size: 16px;
        min-height: 750px;
    }
    .content-confirm p:nth-child(4) {
        font-size: 12px;
        width: 90%;
    }
    .transaction{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .check1 {
        border-bottom: 1px solid #fff;
        padding-bottom: 10px;
    }
    .check2 {
        border-bottom: 1px solid #fff;
        padding-bottom: 10px;
    }
    .check3 #btnpago2 button {
      margin-top: -10px;
    }
}