html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
}

section {
    margin-bottom: 100px;
    scroll-margin-top: 100px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 70vh;
  color: white;
}


.hero h1 {
    font-size: 32px;
    max-width: 800px;
    line-height: 1.4;
}

.hero p {
    font-size: 18px;
    opacity: 0.8;
    margin: 10px 0 20px;
}

.hero a.cta {
    border: 1px solid white;
    padding: 12px 25px;
    border-radius: 8px;
    transition: 0.3s;
}

.hero a.cta:hover {
    background: white;
    color: black;
}


/* html {
    scroll-behavior: smooth;
} */

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    /* filter: blur(5px); */
    background: rgba(0, 0, 0, 0.6);
}

main {
    flex: 2;
    padding: 15px;
    color: white;
    /* z-index: 0;
    height: 90vh; */
    flex: 1;
    box-sizing: border-box;
}

main .section-title,
.hero h1,
.hero p,
.hero a {
    font-size: x-large 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
}

main .section-title {
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.4rem;
}

.hero h1,
.hero p,
.hero a {
    letter-spacing: 0.1rem;
}

.hero a {
    text-decoration: none;
    color: rgb(252, 252, 252);
    margin: 0;
    padding: 0;
}

::-webkit-scrollbar {
    display: none;
}

.presents,
.project-statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.presents div:nth-child(4),
.project-statistics div:nth-child(4) {
    grid-column: 1 / span 1;
    justify-self: end;
    transform: translateX(50%);
}

.presents div:nth-child(5),
.project-statistics div:nth-child(5) {
    grid-column: 3 / span 1;
    justify-self: start;
    transform: translateX(-50%);
}

.oprtunity {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.oprtunity img {
    width: 80px;
    height: 80px;
}

.propose_text {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
}

h1,
h2 {
    margin: 0px;
}

.propose_text h1 {
    font-size: 20px;
}

.propose_text h1,
.propose_text p {
    margin: 0px;
}

.type img {
    width: 360px;
    height: 260px;
    object-fit: cover;
}

.work-type {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.type {
    width: 400px;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(163, 160, 160, 0.2);
    border-radius: 15px;
}

.type h2 {
    margin-top: 10px;
}

.our-projects div {
    margin-bottom: 50px;
}

.info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.comment {
    padding: 20px;
    border: 2px solid white;
    margin-bottom: 25px;
    width: 40%;
}

.comment:nth-child(odd) {
    border-radius: 50px 50px 0 50px;
}

.comment:nth-child(even) {
    border-radius: 50px 50px 50px 0;
}

.user {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.user img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.cta {
    font-size: 16px;
    padding: 12px 25px;
}

.form-row {
    flex-direction: column;
}

.contact-us {
    padding: 80px 20px;
}

/* contact us */
.contact-us {
    padding: 120px 40px;
    text-align: center;
}

.contact-form {
    max-width: 800px;
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: flex;
    gap: 50px;
}

.form-group {
    position: relative;
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 16px;
    outline: none;
    transition: 0.3s;
    resize: none;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 18px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    pointer-events: none;
    transition: 0.3s;
}

/* floating effect */
.form-group input:focus,
.form-group textarea:focus {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -8px;
    left: 12px;
    font-size: 12px;
    background: black;
    padding: 0 6px;
    color: white;
}

.submit-btn {
    align-self: center;
    width: 100%;
    margin-left: 24px;
    padding: 16px;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-size: 18px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background: white;
    color: black;
}

.form-success {
    display: none;
    margin-top: 15px;
    font-size: 16px;
    color: #00ffcc;
}





/* tests */
.project.two {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.1rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.project.two:nth-child(odd).info .project-img {
    order: 1;
}

.project.two:nth-child(even) .info .project-img {
    order: 2;
}

.project.two:nth-child(odd) .info .project-statistics {
    order: 2;
    align-items: start;
    padding-left: 0;
    padding-right: 50px;
}

.project.two:nth-child(odd) .info .project-statistics .status.descript p {
    text-align: start;
}

.project.two:nth-child(even) .info .project-statistics {
    order: 1;
}

.project.two .project-statistics {
    display: flex;
    flex-direction: column;
    padding: 5px;
    justify-content: center;
    align-items: end;
    gap: 30px;
    padding-left: 50px;
    margin: 0;
}

.project.two .status {
    align-items: center;
    text-align: center;
}

.project.two .status h2 {
    font-size: 20px;
    margin: 0px;
}

.project.two .status p {
    margin: 5px;
}

.project.two .status a {
    color: rgba(0, 89, 255, 1);
    text-decoration: none;
}

.project.two .project-statistics .status.descript {
    align-items: flex-start;
}

.project.two .project-statistics .status.descript p {
    text-align: end;
}

.project.two .project-statistics div:nth-child(4) {
    grid-column: 1 / span 1;
    justify-self: start;
    transform: none;
}

.project.two .project-statistics div:nth-child(5) {
    grid-column: 3 / span 1;
    justify-self: start;
    transform: none;
}

.project.two .project-statistics div * {
    margin: 0;
    border-radius: 25px;
}

.project.two .project-statistics div {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 0px;
}

.project.two .project-statistics div a {
    color: white;
}

.project.two .project-statistics div .timeline {
    border: 2px solid white;
    width: 170px;
}

.project.two .project-statistics div .durzone {
    background-color: antiquewhite;
    color: black;
    padding: 10px 15px;
}

.project.two .link-btn {
    border: 2px solid white;
    padding: 5px 10px;
    color: white;
}

.project.two .link-btn:hover {
    background-color: antiquewhite;
    color: black;
}

.project.three * {
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    font-weight: 200;
    letter-spacing: 0.1rem;
}

/* slider */
.mySlides {
    height: 100%;
    width: 100%;
    display: none;
}

.mySlides img {
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Slideshow container */
.project-img {
    width: 50%;
    height: 450px;
    position: relative;
    flex-shrink: 0;
    margin: 0 !important;
}

.project-img div{
    margin: 0;
    height: 100%;
    width: 100%;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next {
        font-size: 11px
    }
}

/* @media (max-width: 1024px) {
    .mySlides.fade img {
        height: 400px;
    }
} */