body {
    margin: 0 0;
    background-color: rgba(31, 29, 52, 1);
    /*background-image: radial-gradient(ellipse at top left, rgba(236, 108, 255, 0.2) 0%, rgba(31, 29, 52, 1) 20%);
    background-repeat: no-repeat;*/
    font-family: "Kanit", sans-serif;
    font-style: normal;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


li {
    list-style: none;
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    font-weight: 500;
}

a:hover {
    color: rgb(255, 0, 255);
}

.activePage {
    color: rgb(255, 0, 255);
}

header {
    position: relative;
    padding: 0 2%;
}

.navBar {
    max-width: 1500px;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 5%;
}

.logo img {
    display: block;
    width: 170px;
    height: auto;
    margin: 0 auto;
}

.links {
    display: flex;
    gap: 2rem;
}

.toggleButton {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    z-index: 3;
}

.dropdownMenu {
    width: 0;
    height: 0;
    display: none;
    position: absolute;
    right: 0;
    top: 0;
    padding: 10% 0;
    background: rgb(31, 29, 52, 1);
    backdrop-filter: blur(15px);
    overflow: hidden;
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.dropdownMenuContact {
    display: block;
    width: 100%;
    height: 100%;
    padding-top:50px;
    padding-left: 5%;
}

.dropdownMenu p {
    color: white;
}

.dropdownMenu.open  {
    width: 100%;
    height: 100%;
}

.dropdownMenu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

section {
    max-width: 1500px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    text-align: left;
    padding: 5% 5%;
    margin: auto;
    overflow: hidden;
}

section.servicesContainer {
    flex-direction: column;
    height: auto;
}

.colouredBackgroundServices {
    width: 100%;
    height: auto;
    background-color: #1E265C;
    padding: 0;
    margin: none;
}

.services {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
    justify-content: space-evenly;
}

.card {
    display: block;
    width: 300px;
    height: auto;
    text-align: center;
}

.cardHeading {
    font-size: 1.7rem;
    color: white;
    margin: 0;
}

.cardParagraph {
    font-size: 1rem;
    color: white;
    margin: 0;
}

.content {
    display: block;
    max-width: 900px;
    height: auto;
}

.contentImageLarge {
    width: 600px;
    height: auto;
}

.content2 {
    text-align: left;
    max-width: 1000px;
}

.content2.right {
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px;
}

.content2.right button {
    width: 300px;
    height: 70px;
    border-radius: 15px;
    background-color: #FF0ABA;
    background: linear-gradient(to left, #FF0ABA 50%, rgba(31, 29, 52, 1) 50%) right;
    background-size: 200%;
    transition: .5s ease-out;    
    color: white;
    border-style: solid;
    border-color: white;
    font-family: "Kanit", sans-serif;
}

.content2.right button:hover {
    cursor: pointer;
    background-position: left;
}

.content3 {
 width: 500px;
 height: auto;
 text-align: left;
 margin: auto
}

.content3ImageLarge {
    width: 700px;
    height: auto;
}

.heading1 {
    font-size: 5rem;
    color: white;
    margin-top: 0;
    line-height: 1;
}

.heading2 {
    font-size: 5rem;
    line-height: 1;
    background: -webkit-linear-gradient(0deg, rgba(255,10,186,1) 21%, rgba(158,0,255,1) 73%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heading3 {
    font-size: 1.5rem;
    color: white;
    max-width: 700px;
}

.formContainer {
    max-width: 900px;
    height: auto;
    text-align: left;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input {
    height: 40px;
    background-color: transparent;
    border-style: none;
    border-bottom: 1px solid #464646;
    font-size: 1.2rem;
    color: white;
    font-family: "Kanit", sans-serif;
    font-style: normal;
}

form textarea {
    height: 120px;
    border-radius: 10px;
    border: 1px solid #464646;
    background-color: transparent;
    resize: none;
    font-size: 1.2rem;
    color: white;
    font-family: "Kanit", sans-serif;
    font-style: normal;
}

form button {
    width: 200px;
    height: 50px;
    border-radius: 10px;
    color: white;
    background-color: #FF0ABA;
    background: linear-gradient(to left, #FF0ABA 50%, rgba(31, 29, 52, 1) 50%) right;
    background-size: 200%;
    transition: .5s ease-out;
    border-style: none;
    font-size: 1.2rem;
    border-style: solid;
    border-color: white;
    font-family: "Kanit", sans-serif;
}

form button:hover {
    background-position: left;
    cursor: pointer;
}

.gradientBackground1 {
    width: 100%;
    height: auto;
    background-image: radial-gradient(ellipse at bottom right, rgba(236, 108, 255, 0.2) 0%, rgba(31, 29, 52, 1) 40%);
}

.gradientBackground2 {
    width: 100%;
    height: auto;
    background-image: radial-gradient(ellipse at top right, rgba(236, 108, 255, 0.15) 0%, rgba(31, 29, 52, 1) 40%);
}

footer {
    max-width: 100%;
    height: auto;
    padding: 5px;;
    /*display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1E265C;
    padding: 1% 0;
    margin-top: auto;*/
    display: grid;
    grid-template-columns: 25% 50% 25%;
    font-size: 1rem;
    align-items:end;
}

footer a {
    font-size: 1rem;
}

footer p {
    margin:2px;
}

.footerItem1 {
    text-align: left;
    align-items: end;
    
}

.footerItem2 {
    text-align: center;
}

.footerItem3 {

}

footer img {
    width: 170px;
    height: auto;
}

@media (max-width: 1200px) {
    .heading1 {
        font-size: 3.7rem;
    }

    .heading2 {
        font-size: 3.7rem;
    }

    .heading3 {
        font-size: 1.2rem;
    }

    .links {
        display: none;
    }

    .toggleButton {
        display: block;
    }

    .dropdownMenu {
        display: block;
    }

    .logo img {
        width: 150px;
    }

    .content2.right {
        padding: 50px;
    }

    footer img {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .heading1 {
        font-size: 2.7rem;
    }

    .heading2 {
        font-size: 2.7rem;
    }

    .heading3 {
        font-size: 1rem;
    }

    p {
        margin: auto;
    }

    .logo img {
        width: 120px;
    }
    
    .contentImageLarge {
        width: 70%;
    }

    .content3ImageLarge {
        width: 70%;
    }

    .content2 {
        text-align: center;
    }

    section {
        flex-wrap: wrap;
    }

    .card img {
        width: 30%;
    }

    .card {
        margin: auto;
        margin-top: 10%;
    }

    footer img {
        width: 120px;
    }

    footer {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footerItem1 {
        display: none;
    }

    .footerItem3 {
        display: none;
    }

    .services {
        display: inline-block;
    }
}