@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500&display=swap');
*{
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
*::-webkit-scrollbar{
    width: 0px;
}
html{
    font-family: 'Kanit', sans-serif;
    text-decoration: none;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}
body {
    max-width: 2000px;
    margin: 0 auto;
    
}
header {
    width: 100%;
}
 
 
.homeheader {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.homeheader h1 {
    margin-top: 80px;
    font-size: 7rem;
}
.homeheader h2 {
    font-size: 4.5rem;
}
.first p {
    font-size: 3rem;
}
.ha
 
   {
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInUp 1s forwards 0.5s;
  }
 
  @keyframes fadeInUp {
      to {
          opacity: 1;
          transform: translateY(0);
      }
  }
 
 
  nav{
    width: 100%;
    min-height: 8vh;
    display: flex;
    justify-content: space-between;
    margin-left: 0;
    align-items: center;
    background-color: #111140;
    margin: 0;
    padding: 10px;
    text-align: center;
   
   
    }  
    nav > p {
        color: white;
        font-size: 25px;
        margin-left: 100px;
    }
   
   
nav img{
    width: 90px;
 
    min-height: auto;
}
 
nav ul{
    width: 50%;
    display: flex;
 
    justify-content: space-evenly;
}
 
li a {
   
    font-size: 1.2rem;
    color: #e9e9e9;
    position: relative;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}
 
li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.2s ease-in-out;
}
li a:hover {
    color: #3f40ea;
    transform: scale(1.1);
}
li a:hover::after {
    transform: scaleX(1);
}
 
a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 1.5rem;
   
}
 
.homemain {
    display: flex;
    flex-direction: column;
    min-height: 30vh;
    margin: 0;  
}
 
.homemain h1{
    font-size: 50px;
}
.homemain h2 {
 
    font-size: 4.5rem;
}
.homemain p {
    font-size: 3rem;
 
}
 
.first{
    display: flex;
    width: 100%;
    align-items: left;
    color: #1e1f75;
    min-height: 80vh;
    margin: 0;
    text-align: left;
    padding: 20px;
   margin-left: 40px;
   
}
.first article{
    max-width: 50%;
}
.first .hero-img{
    display: flex;
    width: 650px;
    height: 600px;
    color: white;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 100px;
}
.first .hero-img img{
    height: 125%;
    width: 135%;
    object-fit: fill;
    position: absolute;
    z-index: 5;
    transition: transform 0.3s;
   
}
 
 
.first .hero-img:hover img {
    transform: scale(1.05);
}
.first .hero-img .content{
    border-radius: 5px;
    margin-top: 110px;
    margin-left: 20px;
    height: 100%;
    width: 120%;
    z-index: 1;
}
.second {
    width: 100%;
    display: flex;
    background-color: #111140;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    color: white;
 
   
   
}
 
 
.second h1 {
   
    font-size: 50px;
}
 
 
.technologies {
    display: flex;
    justify-content: space-around;
    column-gap: 200px;
    padding: 20px;
   
}
 
.languages {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px;
    position: relative;
 
   
}
 
 
.languages h3 {
    font-size: 2rem;
    margin-bottom: 5px;
 
    margin-bottom: 100px;
}
 
.languages p.description {
    font-size: 1.7rem;
    margin-top: 10px;
    text-align: center;
 
}

 
 

.third{
    display: flex;
    flex-direction: column;
    min-height: 100%;
   
}
.third h1{
    color: #1e1f75;
    display: flex;
    align-items: center;
    justify-content: center;
}
.third h2{
      color: #1e1f75;
    font-size: 50px;
    display: flex;
   
}
.service{
    display: flex;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}
 
.services {
    width: 100%;
    display: flex;
    flex-direction: column; /* Display services one below the other */
    align-items: flex-start; /* Align items to the left */
    text-align: left;
    padding: 50px;
   
}
 
.services h2,
.services p {
    width: 100%; /* Each takes full width within its container */
    margin: 10px;
}
 
.services h2 {
    font-size: 2rem; /* Adjust font size for h2 */
}
 
.services p {
    font-size: 1.5rem; /* Adjust font size for p */
}
@media (max-width: 1516px) {
    .navp{
        display: none;
    }
    .homeheader{
        min-height: 30vh;
    }
    .homeheader h1 {
        font-size: 8rem;
        margin-top: 30px;
    }
 
    .homeheader h2 {
        font-size: 6rem;
    }
    .homeheader p{
        font-size: 3.5rem;
       
    }
   
 
    .first {
        flex-direction: column;
        align-items: center;
        min-height: 30vh;
    }
 
    .first article {
        max-width: 80%;
        text-align: center;
        margin: 20px 0;
    }
 
    .first .hero-img {
        display: none;
    }
 
    nav {
       
        display: flex;
        justify-content: center;
    }
 
    nav img {
        display: none;
        margin: 0 auto; /* Center the image */
    }
 
    nav ul {
        list-style-type: none;
     
        display: flex;
        justify-content: center;
    }
    nav a {
        font-size: 1.6rem;
    }
    nav li {
        margin: 0 10px;
    }
 
    .second {
        padding: 30px 10px;
    }
    .second img{
        width: 50%;
    }
 
    .technologies {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 2rem;
    }
 
    .languages {
        width: 80%;
        max-width: 300px;
        margin: 20px 0;
    }
 
    .languages h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
 
    .languages p.description {
        font-size: 1.2rem;
        text-align: center;
    }
    .third {
        padding: 20px 10px; /* Adjust padding as needed */
    }
 
    .service {
        flex-direction: column; /* Change to column layout on smaller screens */
        align-items: center; /* Center items */
    }
 
    .services {
        width: 100%;
        text-align: center;
        padding: 30px 0; /* Adjust padding as needed */
    }
 
    .services h2 {
        font-size: 2rem;
        margin-bottom: 15px; /* Adjust margin as needed */
    }
 
    .services p {
        font-size: 1.2rem;
    }
 
 
}
@media (max-width: 720px) {
    .homeheader {
        min-height: 20vh;
    }
 
    .homeheader h1 {
        font-size: 5rem;
        margin-top: 20px;
    }
 
    .homeheader h2 {
        font-size: 4rem;
    }
 
    .homeheader p {
        font-size: 3rem;
    }
    .third {
        padding: 20px 10px; /* Adjust padding as needed */
    }
 
    .service {
        flex-direction: column; /* Change to column layout on smaller screens */
        align-items: center; /* Center items */
    }
 
    .services {
        width: 100%;
        text-align: center;
        padding: 30px 0; /* Adjust padding as needed */
    }
 
    .services h2 {
        font-size: 2rem;
        margin-bottom: 15px; /* Adjust margin as needed */
    }
 
    .services p {
        font-size: 1.2rem;
    }
    @media (max-width: 480px) {
        .homeheader {
            min-height: 15vh;
        }
   
        .homeheader h1 {
            font-size: 4.5rem;
            margin-top: 15px;
        }
   
        .homeheader h2 {
            font-size: 3rem;
        }
   
        .homeheader p {
            font-size: 1.5rem;
        }
        nav a {
            font-size: rem;
        }
       
    }
    .third {
        padding: 15px 10px; /* Adjust padding as needed */
    }

}
 
/*--------------------aboutus--------------------*/
 
#h1 {
    font-size: 4rem;
    color: #111140;
}
 
#h2 {
    font-size: 4rem;
    color: white;
}
 
#text1{
    font-size: 1.5rem;
    color: #111140;
}
#text2{
    font-size: 1.5rem;
    color: white;
}
 
.startup-animation {
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1.5s ease-out forwards;
}
 
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
.startup-animation.animate {
    opacity: 1;
    transform: translateY(0);
}
.hero-aboutus {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100vh;
    text-align: center;
    color: rgb(255, 255, 255);
    flex-direction: column;
    background-color: #1a1a1a;
}
.hero-aboutus img{
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: .4;
    z-index: 1;
    object-fit: cover;
}
 
.aboutus-hero-h1 {
    max-width: 100%;
    font-size: 5rem;
    margin-top: 20px; /* Adjust margin-top as needed */
    z-index: 4;
}
 
.aboutus-hero-p {
    width: 80%;
    font-size: 2rem;
    margin-top: 20px; /* Adjust margin-top as needed */
    z-index: 4;
}
.aboutus-sections {
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}
   
.aboutus-sections-right {
    display: flex;
    flex-direction: row-reverse; /* Reverses the order of the flex items */
    width: 100%;
    background-color: #111140;
}
 
.aboutus-sections-right .sec-aboutus-right {
    width: 50%;
    display: flex;
}
 
.aboutus-sections-right .sec-aboutus-container {
    text-align: right; /* Align text to the right within the container */
    width: 100%;
    min-height: 100%;
    color: black;
    font-size: 1.5rem;
   
}
 
.sec-aboutus-container {
    margin-left: 0;
    padding: 100px;
    width: 50%;
    min-height: 100%;
    color: black;
    font-size: 1.5rem;
    align-items: left;
    text-align: left;
 
}
@media (min-width: 1001px) {
    .hero-aboutus {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
 
    .aboutus-hero-h1 {
        font-size: 5rem;
    }
 
    .aboutus-hero-p {
        width: 50%;
        font-size: 2rem;
    }
}
 
/* Smaller than 768px */
@media (max-width: 1000px) {
    nav{
        width: 100%;
        min-height: 8vh;
        display: flex;
        justify-content: space-between;
        margin-left: 10rem;
        align-items: center;
        background-color: #111140;
        margin: 0;
        padding: 0;
       
       
        }  
        nav > p {
            display: none;
        }
       
    nav img{
        width: 90px;
     
        min-height: auto;
    }
     
    nav ul{
        width: 100%;
        display: flex;
     
        justify-content: space-evenly;
    }
     
    li a {
       
        font-size: 1.2rem;
        color: #e9e9e9;
        position: relative;
        text-decoration: none;
        transition: color 0.3s, transform 0.2s;
    }
     
    li a::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: white;
        bottom: 0;
        left: 0;
        transform: scaleX(0);
        transform-origin: 0 50%;
        transition: transform 0.2s ease-in-out;
    }
    li a:hover {
        color: #3f40ea;
        transform: scale(1.1);
    }
    li a:hover::after {
        transform: scaleX(1);
    }
    .hero-aboutus {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
 
    .aboutus-hero-h1 {
        font-size: 3.5rem;
    }
 
    .aboutus-hero-p {
        width: 80%;
        font-size: 1.2rem;
    }
 
    .sec-aboutus-container{
        padding: 50px;
        width: 100%;
        font-size: 1.2rem;
        align-items: center;
        text-align: center;
   
    }
    .aboutus-sections-right .sec-aboutus-right {
        width: 100%;
    }
   
    .aboutus-sections-right .sec-aboutus-container {
        text-align: center;
        font-size: 1.2rem;
       
    }
}

/*--------------------project---------------------*/
#H2 {
    font-size: 4rem;
}

.gif{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(imgs/typing1.gif);
    background-position: center;
    background-size: cover;
    min-height: 95vh;
    
}
.giftext{    
    text-align: center;
}
.giftext h1{
    font-size: 5rem;
    color: #fff;
}
    
 .projectheader {
    display: flex;
    flex-direction: column;
}
.text-overlay p {
    font-size: 2rem;
}
.text-overlay h1 {
    margin-top: 80px;
    font-size: 10rem;
}
.project-text {
    width: 45%; /* Adjust the width of the text section as needed */
    text-align: left;
}
.project-text h1 {
    font-size: 4rem;
    margin-top: 20px;
}
.project-text2 {
    width: 45%; /* Adjust the width of the text section as needed */
    text-align: right;
}
.project-text2 h1 {
    font-size: 4rem;
    margin-top: 20px;
}
.projectmain-txt h2 {
    font-size: 4rem;
}

.project-section {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: white;
    color: #1e1f75;
    padding: 20px;
}
.header-gif {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 20px; /* Adjust the margin as needed */
}

.header-gif img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; 
    border-radius: 5px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 
}
.text-overlay {
    position: absolute;
    top: 0px; /* Adjust the top position as needed */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 1;
    width: 100%;
}


.gif-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.gif-section img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; 
    border-radius: 5px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); 
}


.project-section h1 {
    font-size: 4rem;
    margin-top: 20px;
    
}

.project-gallery {
    width: 45%; /* Adjust the width of the image gallery as needed */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Adjust the gap between images as needed */
    justify-content: center;
    align-items: center;
}
.project-gallery-2{
    width: 45%; /* Adjust the width of the image gallery as needed */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Adjust the gap between images as needed */
    justify-content: center;
    align-items: center; 
    margin: 20px;
}

.project-item {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-item img {
    min-width: 100%;
    height: 90%;
    display: block;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.project-item img:hover {
    transform: scale(1.1);
}

.expanded-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.expanded-image {
    max-width: 90%;
    max-height: 90%;
}

 
.dikkebackground{
    background-color:#111140 ;
    width: 100%;
    min-height: 60vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}
.second {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    text-align: center;
 
}
 .projecttitel{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e1f75;
    margin-bottom: 50px;
    margin-top: 50px;
 }
.dikkebackground h2{
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 50px;
    margin-top: 50px;
 }
 .projecth3 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 20px;
}
.dikkebackground h3{
    font-size: 1.5rem;
    color: white;
    text-align: center;
    margin-top: 50px;
}
/* Mobile-first approach */
@media (max-width: 768px) {
    .projectheader {
        text-align: center;
    }

    .text-overlay h1 {
        margin-top: 40px;
        font-size: 6rem;
    }

    .project-text,
    .project-text2 {
        width: 100%;
        text-align: center;
    }

    .project-text h1,
    .project-text2 h1,
    .projectmain-txt h2 {
        font-size: 3rem;
        margin-top: 10px;
        
    }

    .project-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .header-gif {
        margin-top: 10px;
        
    }

    .project-gallery,
    .project-gallery-2 {
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }

    .project-item {
        height: 200px;
    }

    .project-section h1 {
        font-size: 3rem;
        margin-top: 10px;
    }

    .dikkebackground h2,
    .projecttitel h2 {
        font-size: 2rem;
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .projecth3 {
        font-size: 1rem;
        text-align: center;
        margin-top: 10px;
    }

    .dikkebackground h3 {
        font-size: 1rem;
        text-align: center;
        margin-top: 20px;
    }
}
.projectlast {
    width: 100%;
    padding-inline: 200px;
    text-align: center;
}

/* Tablet landscape and larger screens */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Adjust styles for tablet landscape view */
}

/* Desktop and larger screens */
@media (min-width: 1025px) {
    /* Adjust styles for desktop view */
}

/*--------------------Footer---------------------*/

footer {
    background-color: #111140;
    color: white;
    padding: 20px ;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
}

.social-icon {
    display: inline-block;
    margin: 5px;
    margin-left: 10px;
}
.social-icon img{
    width: 100px;
    height: 100px;
}


.footer-address {
    flex: 1;
    text-align: left;
    padding: 10px;
}
.contact {
    
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1800px;
    margin: 50px auto; /* Adjust margin as needed */
    background: none;
    margin-top: 150px;
}
.contact h1{
    font-size: 3.5rem;
    color: #1e1f75;
}
.contact p {
    font-size: 2rem;
    
}
.contact-info {
    flex: 1;
    padding-right: 20px;
}

.contact-form {
    flex: 1;
    padding-left: 20px;
    width: 100%;
    margin: 10px;
}

.contact-form form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.contact-form form label {
    display: block;
    margin-bottom: 8px;
    color: #1e1f75;
    font-size: 16px;
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: 30px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.contact-form form input:focus,
.contact-form form textarea:focus {
    border-color: #1a1a1a;
}

.contact-form form button {
    background-color: #007bff;
    color: #fff;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.contact-form form button:hover {
    background-color: #111140;
}

.copyright-policy {
    flex: 1;
    text-align: center; 
    padding: 10px;
} 

.contact-button {
    display: block;
    margin: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    max-width: 12rem;
    
}
.steps-button {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    max-width: 12rem;
    margin-top: 20px;
    margin-bottom: 50px;
    
}
.map-section {
    width: 100vw;
    margin-top: 50px;
    
    padding: 20px;
    text-align: center;
}
.map-container{
    align-items: center;
    width: 100%;
    height: auto;

}

@media (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        order: 2;
    }

    .footer-address {
        order: 1;
        text-align: center;
    }
}


/*--------------------steps---------------------*/

#h2-steps{
    font-size: 3.2rem;
}
#text-steps{
    font-size: 1.5rem;
}
.steps {
    width: 100%;
    background-color: #111140;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: calc(5vh + 10px) 50px;
    color: #1a1a1a;
}
.steps-r{
    flex-direction: row-reverse;
    background-color: #fff;
}
.steps-img {
    width: 40%;
}
.steps-img-right {
    width: 40%;
}

.steps-img-right img{
    height: 22rem;
}
.steps-img img{
    height: 22rem;
     width: 100%;
     object-fit: contain;
}

.step-explain {
    width: 675px;
    height: auto;
    text-align: left;
    color: #ffffff;
}
.explain-right{
    color: #1a1a1a;
    text-align: right;
}

.steps-header{
    background-color: #fff;
    height: 75vh;
} 
.scrollbutton {
    position: fixed;
    bottom: 20px;
    right: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Make it a circle */
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    z-index: 1000;
    transition: background-color 0.3s ease;
    /* Additional styling for hover effect */
    display: none; /* Initially hide the button */
    justify-content: center;
    align-items: center;
  }
  
  .scrollbutton a {
    width: 100%;
    height: 100%;
    display: block;
    background-image: url('imgs/up-arrow.png'); 
    background-size: 70%; 
    background-position: center; 
    background-repeat: no-repeat;
  }
  
  .scrollbutton:hover {
    background-color: #111140;
  }