﻿body {
    margin: 0;
    height: 100vh;
    /*background-color: #cedfff;*/
    background-image: url(Pictures/bgnew2.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-attachment: fixed;
}
.page {
    display: grid;
    height: 100vh;
    grid-template-rows: auto 1fr auto;
}
/*----------------------------------------Header--------------------------*/
.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 25px;
    height: 280px;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    position: relative;
}
.header-image {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 750px;
    height: 250px;
    background-image: url('Pictures/picture.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
/*-------------------------------------Section Middle----------------------------*/
.middle {
    display: flex;
    flex-direction: row;
    background-color: none;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
}

/*--------------------Content---------------------------*/
.content {
    width: 800px;
    padding: 50px;
    background-color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}
/*------1--------*/
.about {
    width: 50%;
    padding-top:20px;
    padding-left:100px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
}
.title {
    font-size: 30px;
    color: darkblue;
    width:max-content;
}
.lang-section {
    display: flex;
    flex-direction: row;
    width:500px;
    align-items: center;
}
.design-input, .design-input2, .design-input3, .design-input0, .design-input4, .design-input5 {
    width: 550px;
    height: 45px;
    border: none;
    background-color: #cedfff;
    border-radius: 10px;
    padding: 10px 20px; /* Set the text padding to 10px top and bottom, 20px left and right */
    font-size: 22px;
    color: darkblue;
}
.design-input0 {
    width: 40px;
    height: 25px;
    font-size: 22px;
}
.design-input2 {
    height:110px;
    font-size:22px;
}
.design-input3 {
    width: 100px;
    }
.design-input4 {
    width: auto;
}
.design-input5 {
    width: 600px;
}

.submit:hover {
    background-color: #cedfff !important;
    color: darkblue !important;
    border: none;
}
    /*---------------------------------------Footer---------------------------*/
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

/* Styles for screens with maximum width of 800px and 1024px */
@media only screen and (max-width: 900px){
    .body {
        
    }
   
    .header {
        font-size: 18px;
        
    }

    .header-image {
        bottom: 0;
    }

    .middle {
        
        justify-content: center;
    }

    .content {
        width: 90%;
        padding: 20px;
    }

    .about {
        width: 100%;
        padding: 20px;
    }

    .title {
        font-size: 28px;
    }

    .design-input {
        width: 520px;
        height: 70px !important;
        font-size: 22px;
    }

    .design-input0 {
        width: 40px;
        height: 50px;
        font-size: 22px;
        text-align: center;
        align-content: center;
    }

    .design-input3 {
        width: 100px;
        height: 70px !important;
        font-size: 22px;
    }

    .design-input4 {
        height: 70px !important;
        font-size: 22px;
    }

    #message {
        width: 500px;
    }
}

/*--------------------------------------------------------------------------------------------------------------*/
.middle-image {
    background-image: url('Pictures/typic.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 800px;
    height: 500px; /* Adjust the height as needed */
}
.middle-container {
    display: flex;
    height:100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
}

.middle-text {
    margin-bottom: 20px; /* Adjust the spacing between the elements */
}
.page-ty {
    display: grid;
    height: 100vh;
    grid-template-rows: auto 1fr auto;
}
/*----------------------------------------Header--------------------------*/
.header-ty {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 25px;
    height: 0px;
    color: white;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 24px;
    position: relative;
}
/* The container */
.container {
    display: block;
    position: relative;
    padding-left: 35px;
    padding-right: 20px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    border: 1px solid darkblue;
    border-radius: 5px;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.designcheckbox {
    font-size: 21px;
    color: darkblue;
    padding-left: 15px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-right: 20px;
    gap: 5px;
}

.designcheckbox input[type="checkbox"] {
    width: 20px; /* Set the width of the custom checkbox */
    height: 20px; /* Set the height of the custom checkbox */
}