/* component */

.button_primary{
    display: flex;
    gap: 10px;
}

/* end of component */
.tree {
    position: absolute;
    right: -0%;
    top: -10%;
    width: 150px;
}
/* error handling */
.error-wrong{
    color: red;
    margin: 0;
    padding: 0;
}
.error-empty{
    color: red;
    margin: 0;
    padding: 0;
}
/* donate */
.donate_modal{
    display: none;
}

/* header *//* header *//* header */
/* header */
.header {
    position: relative;
    max-width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}

.header img {
    width: 236px;
}

#active {
    color: #000;
    font-weight: 600;
}

.header ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    background-color: #FFFFFF;
    padding: 24px 32px 24px 32px;
    border-radius: 53px;
    border: 1px solid #F9F9F9;
    box-shadow: 0 0 10px #00000040;
}

.header ul li {
    list-style: none;
}

.header ul li a {
    position: relative;
    text-decoration: none;
    color: #6C6C6C;
    font-size: 16px;
    transition: 0.5s;
}


.header ul li a:hover {
    color: #000;
}


.header .donate {
    text-decoration: none;
    color: black;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 30px;
    background-color: #6C4C9E;
    transition: .5s;
    color: white;
    z-index: 1;
}



/* main *//* main *//* main */
main {
    max-width: 80%;
    margin: 0 auto;
}

.form{
    display: flex;
    gap: 94px;
    margin: 152px 0;
}
.form_left{
    flex: 0.5;
    background-color: #FFEEF0;
    border: 3px solid #9A8F8F;
    padding: 40px 72px 32px 72px;
    border-radius: 28px;
}
.form_left form{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.form_left form h2{
    font-size: 48px;
    text-align: center;
}
.form_left form h6{
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* input */

.form_left form .inputField{
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
    
}
/* country list */
.country_list{
    position: relative;
}
.country_list p{
    margin-bottom: 10px;
}
select {
    /* Reset */
    appearance: none;
    outline: none;

    /* Personalize */
    position: relative;
    padding:0 12px;
    width: 100%;
    height: 100%;
    font-size: 16px;
    border-radius: 12px;
    border: none;
    outline: none;
    background-color: transparent;
    color: black;
    cursor: pointer;
    z-index:1;
    
}
.selectBox{
    position: relative;
    /* Personalize */
    height: 56px;
    border-radius: 12px;
    border: 2px solid #E0E0E0;
    width: 100%;
    font-size: 16px;
    outline: none;
    background-color: white;
    color: black;
    cursor: pointer;
     z-index:1;
}
.drpArrow{
    right: 5%;
    top: 35%;
    position: absolute;
    color: #6C6C6C;
    cursor: pointer;
    font-size: 1.2rem;
}

/* message box */
#messageBox{
    padding: 10px;
    border: 2px solid #E0E0E0;
    outline: none;
    border-radius: 4px;
    width: 100%;
    height: 112px;
    resize: none;
    margin-top:12px;
    font-size: 16px;
    transition: 0.5s;
}
#messageBox:hover{
    border: 2px solid #6C4C9E;
}
#messageBox:focus{
    border: 2px solid #6C4C9E;
}
/* file upload */
.fileupload{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.upload_area{
    position: relative;
    padding: 10px;
    border: 2px dashed grey;
    background-color: white;
    border-radius: 4px;
    width: 100%;
    height: 168px;
    font-size: 16px;
}
.upload_area input[type="file"] {
    display: none;
}
  
.custom-file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    cursor: pointer;
    gap: 16px;
}

/* all the p sizes */
.form_left form span p{
    font-size: 16px;
    color: #2F2C2C;
}



.form_right{
    flex: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form_right img{
    width: 554px;
}

/* footer *//* footer *//* footer */

footer {
    background-color: #FFEEF0;
    width: 100%;
}

footer p {
    text-align: center;
    color: #858282;
    font-size: 16px;
    padding-bottom: 16px;
}

.footer_flex {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
    padding: 48px 0rem;
}

.footer_flex .ul1 {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 2rem 0;
}

.footer_flex .ul1 li {
    list-style: none;
    transition: 0.5s;
}
.footer_flex .ul1 li:hover {
    transform: translateY(-5px);
}
.footer_flex .ul1 li a {
    color: #6C6C6C;
    text-decoration: none;
    font-size: 1.25rem;
}


.footer_flex .ul2 {
    padding: 2rem 0;
    display: flex;
    gap: 48px;
    justify-content: center;
}

.footer_flex .ul2 li {
    list-style: none;
}

.footer_flex .ul2 li a {
    color: #6C6C6C;
    text-decoration: none;
    transition: 0.5s;
}
.footer_flex .ul2 li a:hover {
    color:#000;
}

.footer_flex img {
    width: 222px;
    height: 64px
}

@media only screen and (max-width: 1400px) {

    /* main */
    .form_right img{
        width: 304px;
    }
    
}

@media only screen and (max-width: 1200px) {

    .header ul {
        width: 100%;
        position: absolute;
        display: flex;
        top: 100px;
        left: 50%;
        transform: translateX(-50%);
        align-items: center;
        justify-content: center;
        height: 61px;
        gap: 0;
        background-color: #FFFFFF;
        padding: 20px;
        border-radius: 53px;
        border: 1px solid #F9F9F9;
        box-shadow: 0 0 10px #00000040;
    }

    .header ul li {
        display: flex;
        flex: 1;
        justify-content: center;
        position: relative;
        align-items: center;
        z-index: 1;
    }

    .header ul .mobile_tree{
        display: block;
    }
    .header ul .connection_tree{
        display: block;
    }
    .header ul.show {
        transform: translateY(0%);
        top: 0;
    }
    #opacity_modal.show{
        display: flex;
    }
    
    .header ul li a {
        font-size: 16px;
    }

    /* main */
    .form{
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .form_right{
        display: none;
    }

    /* message box */
    #messageBox{
        width: 100%;
    }

    /* file upload */
    .upload_area{
        position: relative;
        padding: 10px;
        background: white;
        border: 1.5px dashed grey;
        border-radius: 4px;
        width: 100%;
        height: 168px;
        font-size: 16px;
    }

    /* footer */
    .footer_flex .ul2 {
        padding: 1rem 0;
        gap: 20px;
    }

}

@media only screen and (max-width: 740px) {

    /* main */
    .form_left{
        padding: 24px 24px 32px 24px;
    }

    /* country list */
    .form_left form .country_list ul{
        display: flex;
        flex-wrap:wrap ;
        list-style: none;
        gap: 8px;
    }
    .form_left form .country_list ul li{
        text-align: center;
        flex: 1;
        padding: 8px, 10px, 8px, 10px;
    }
    .form_left form .country_list ul li:hover{
        border: 1.5px solid #000;
        color: #000;
    }

    
    .upload_area p{
        font-size:15px !important;
    }
    /* footer */
    .footer_flex {
        display: block;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .footer_flex .ul2 {
        gap: 10px;
        padding: 0;
        margin: 0;
        margin-top: 20px;
    }
}

@media only screen and (max-width: 500px) {
    .header {
        max-width: 90%;
        
    }
    .header img {
        width: 136px;
    }
    .header ul{
        gap: 0;
    }
    .header ul li a{
        font-size: 14px;
    }

    /* main */
    
    main {
        max-width: 90%;
    }
    .form_left{
        padding: 24px 24px 32px 24px;
    }
    .form_left form h2{
        font-size: 32px;
    }
    .form_left form h6{
        font-size: 16px;
    }

    /* message box */
    #messageBox{
        width: 100%;
    }

    /* file upload */
    .upload_area{
        height: 102px;
    }
    .upload_area p{
        font-size:12px !important;
    }

    /* footer */
    footer {
        background-color: #FFEEF0;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .footer_flex {
        display: block;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .footer_flex .ul2 {
        gap: 10px;
        padding: 0;
        margin: 0;
        margin-top: 20px;
    }
}