@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* 
        HEADER
*/

.header,
.header__nav ul {
  display: flex;
  align-items: center;
}

.header {
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 90%;
  margin: 3rem auto 0;
}

.header__nav ul {
  margin: 0 7rem;
  list-style: none;
}

.header__nav a {
  text-decoration: none;
  font-size: 1.4rem;
  text-transform: uppercase;
  padding: 0 10rem 0 0;
  color: #707070;
  letter-spacing: 0.25rem;
  font-weight: bold;
}

.header__logo-container {
  flex-shrink: 0;
  width: 200px;
}

.header__logo-container img {
  width: 100%;
}

@media (max-width: 1024px) {
  .header {
    justify-content: center;
  }

  .header__nav ul {
    justify-content: space-between;
  }

  .header__nav a {
    font-size: 1.2rem;
    white-space: nowrap;
    padding: 0 2rem;
  }

  .header__logo-container,
  .header__nav {
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 414px) {
  .header__nav a {
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .header__nav ul {
    margin: 0;
  }
}

/* 
        FORM
*/

.form-section__wrapper,
.table-section__wrapper {
  width: 100%;
  padding: 0 1.5rem;
  font-family: "Roboto Condensed", sans-serif;
}

.upload,
.table-section__wrapper {
  width: 85%;
  margin: 3rem auto;
}

@media (min-width: 1200px) {
  .form-section {
    max-width: 1000px;
    padding: 0;
    margin: 3rem 0 0 5%;
  }

  .table-section__wrapper {
    width: 90%;
  }
}

form {
  flex: 4 1 auto;
}
.Yorder {
  flex: 2 1 auto;
}
.title {
  background: #000000;
  border-radius: 5px 5px 0 0;
  padding: 2rem;
  color: #f6f6f6;
  text-align: center;
  font-size: 1.7rem;
}

.required {
  color: red;
}
.form-section__form {
  border: 1px solid black;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  background: #f2f3f7;
  border-radius: 0 0 5px 5px;
  padding: 2.5rem;
  font-size: 1.6rem;
}

label {
  margin: 1.5rem;
}

label {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

label > span {
  float: left;
  width: 30%;
  padding-right: 10px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 60%;
  height: 30px;
  padding: 5px 10px;
  border: 1px solid #dadada;
  border-radius: 8px;
  color: #888;
  outline: none;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
select:focus {
  -webkit-box-shadow: 0px 0px 11px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 11px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 11px 3px rgba(0, 0, 0, 0.5);
}

select {
  position: relative;
  width: 60%;
  height: 45px;
  padding: 5px 10px;
  appearance: none;
}

.Yorder {
  margin-top: 1.5rem;
  height: 600px;
  padding: 20px;
  border: 1px solid #dadada;
}

.Yorder p {
  color: #888;
  margin: 0;
  padding-left: 25px;
  padding: 0 0 1.5rem 0;
}

.payment-method {
  margin-top: 2.5rem;
}

.payment-method div {
  padding: 15px 0;
}

.price div,
.price p {
  width: 80%;
}

.price p {
  border-bottom: 1px solid #dadada;
  color: #000;
  font-weight: bold;
  text-align: left;
}

.price div {
  border-bottom: 1px solid #dadada;
  padding-bottom: 1rem;
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

button {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #161616;;
  border-radius: 30px;
  background: #505050;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.2s ease;
}

button:hover {
  cursor: pointer;
  background: #161616;
  border: 1px solid #cacacaee;
}


.button:disabled{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #929292;
  pointer-events: none;
}


/* 
    TABLE
*/

.table-wrapper {
  overflow: hidden;
  overflow-x: hidden;
  border: 1px solid black
}

.table {
  margin: 2;
  font-size: 1.6rem;
  text-align: left;
  border-collapse: collapse;
  table-layout: fixed;

}

td {
  border-bottom: 1px solid #000;

}

tbody tr:nth-child(odd) {
  background-color: #dddddd;

  
}
tbody tr:nth-child(even) {
  background-color: #fdfdfd;

  
}

tbody tr:hover {
  background: rgb(167, 147, 147);

}

th{
  width: 35rem;
  padding: 0.5rem 1.5rem;
  white-space: nowrap;
  margin: 0 1.5rem;
  font-weight:bold;
 
}
td {
  width: 35rem;
  padding: 0.5rem 1.5rem;
  white-space: nowrap;
  margin: 0 1.5rem;

 
}

.wrap-column {
  width: 30rem;
  min-width: 20rem;
  max-width: 30rem;
  white-space: normal; /* Allow wrapping */
  word-wrap: break-word; /* Break words that are too long */
  padding: 0.5rem 1rem;
}
.wrap-column2 {
  width: 30rem;
  padding: 0.5rem 1rem;
  margin: 0 1rem;
  max-width: 35rem;
  white-space: normal; /* Allow wrapping */
  word-wrap: break-word; /* Break words that are too long */
  
}

.no-wrap-column {
  width: 30rem;
  padding: 0.5rem 1rem;
  margin: 0 1rem;
  max-width: 35rem;
  white-space: nowrap; /* Allow wrapping */
  word-wrap: break-word; /* Break words that are too long */
  
}

/* 
    2nd table
*/



/* 
    UPLOAD
*/

.upload {
  max-width: 25rem;
  font-size: 1.6rem;
  font-family: "Roboto Condensed", sans-serif;
  text-align: center;
  border: 1px solid black;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding-bottom: 2rem;
}

input[type="file"] {
  display: none;
}

.upload button {
  width: 20rem;
}

.upload-label {
  left: calc(50% - 6rem);
  transform: translateX(-50%);
  position: relative;
  width: 15rem;
  margin: 2.5rem 0;
}

.upload-label::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 17rem;
  content: "Choose a file";
  padding-top: 0.5rem;
  width: 10rem;
  height: 2.5rem;
  background: #ddd;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.4s ease;
}

.upload-label:hover::after {
  background: rgb(165, 165, 165);
}

/* 
    FOOTER
*/

.footer {
  margin: 3rem;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
 
}

.footer a {
  display: inline-block;
  color: rgba(49, 132, 147, 0.6);
  margin-top: 1.2rem;
}

.socials {
  display: flex;
  justify-content: center;
}

a.socials__link {
  position: relative;
  width: 3rem;
  height: 3rem;
  color: #000;
  border: 1px solid black;
  border-radius: 5px;
  margin: 5rem 0.5rem 1rem;
}

.socials__link i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
}

.facebook:hover,
.linkedin:hover {
  color: #fff;
  background: #000;
}

.footer__links a {
  font-size: 1.4rem;
  color: rgba(29, 29, 29, 0.5);
  text-decoration: none;
  padding: 0 0.5rem;
}

.footer__links a:hover {
  color: rgba(112, 112, 112, 0.4);
}

/* 
    Pre  Loader
    z-index:priority level 100
*/
#preloader{
  background:#ffffff url(assets/loading-animation.gif) no-repeat center;
  background-position-y:40%;
  background-size:5%;
  height: 100vh;
  width:100%;
  position:fixed;
  z-index:100;
}