* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
}

.header {
    width: 100%;
    height: 100vh;
    background-image: url('images/bg.jpeg');
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    width: 100%;
    height: 60px;
    background-color: #fff;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
}

nav aside {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding-right: 30%;
    letter-spacing: 3px;
    cursor: pointer;
}


nav aside img {
    height: 40px;
    margin-left: 20px;
    margin-right: 10px;
}

nav ul {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: -10;
    height: 100vh;
    max-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #fff;
    list-style: none;
    clip-path: circle(10px at 90% -10%);
    -webkit-clip-path: circle(10px at 90% -10%);
    transition: 1s linear;
}

nav ul.active {
    clip-path: circle(1350px at 90% -10%);
    -webkit-clip-path: circle(1350px at 90% -10%);
}

nav ul li {
    display: flex;
    justify-content: space-around;

    margin: auto;
}

nav ul li a {
    display: block;
    width: 100%;
    height: 100%;
    padding: 50px 100px;
    text-decoration: none;
    color: #660099;
    letter-spacing: 2px;
    cursor: pointer;
    margin-top: -80px;
}


nav .hamburger {
    position: fixed;
    top: 15px;
    right: 25px;
    width: 35px;
    height: 25px;
    z-index: 11;
    transition: 0.3s;
}

.hamburger span {
    position: absolute;
    top: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background-color: #660099;
    border-radius: 15%;
    transition: 0.3s 0.3s;
}

.hamburger.active {
    transform: rotate(-90deg);
}

.hamburger span:nth-of-type(2) {
    top: 10px;
}

.hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.active span:nth-of-type(1) {
    top: 12px;
    width: 80%;
    transform: rotate(45deg);
}

.hamburger span:nth-of-type(3) {
    top: 20px;
}

.hamburger.active span:nth-of-type(3) {
    top: 12px;
    width: 80%;
    transform: rotate(-45deg);
}

@media(min-width:768px) {

    nav {
        font-size: 20px;
    }

    nav ul li a {
        font-size: 34px;
    }

    nav aside img {
        height: 50px;
        margin-left: 30px;
        margin-right: 20px;
    }

}

@media(min-width:1024px) {
    .hamburger {
        display: none;
    }

    nav ul {
        position: absolute;
        top: 0;
        left: 60%;
        z-index: 15;
        width: 40%;
        height: 100%;
        transform: translateY(0);
        flex-direction: row;
        clip-path: none;
        -webkit-clip-path: none;


    }

    nav ul li {
        width: 30%;
    }

    nav ul li a {
        text-align: center;
        position: relative;
        width: 100%;
        padding: 15px 0;
        letter-spacing: normal;
        font-weight: 400;
        font-size: 20px;
        overflow: hidden;
        margin-top: 0;

    }


    nav aside {
        width: 60%;
        padding: 0;
        transform: translateX(-20%);
    }

    nav aside img {
        height: 50px;
        margin-left: 0;
        margin-right: 20px;
    }
}

#logo {
    width: 90%;
    position: absolute;
    top: 20%;
    left: 5%;

}

#logo .cls-2 {
    stroke-dasharray: 942;
    stroke-dashoffset: 942;
    animation: line-anim 1.5s ease forwards, fill .5s ease forwards 3.4s;
}

#letter1 {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: line-anim 1.5s ease forwards .2s;
}

#letter2 {
    stroke-dasharray: 887;
    stroke-dashoffset: 887;
    animation: line-anim 1.5s ease forwards .5s;
}

#letter3 {
    stroke-dasharray: 739;
    stroke-dashoffset: 739;
    animation: line-anim 1.5s ease forwards .8s;
}

#letter4 {
    stroke-dasharray: 668;
    stroke-dashoffset: 668;
    animation: line-anim 1.5s ease forwards 1.1s;
}

#letter5 {
    stroke-dasharray: 1325;
    stroke-dashoffset: 1325;
    animation: line-anim 1.5s ease forwards 1.4s;
}

#letter6 {
    stroke-dasharray: 504;
    stroke-dashoffset: 504;
    animation: line-anim 1.5s ease forwards 1.7s;
}

#letter7 {
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: line-anim 1.5s ease forwards 2s;
}

#letter8 {
    stroke-dasharray: 954;
    stroke-dashoffset: 954;
    animation: line-anim 1.5s ease forwards 2.3s;
}

.letter {
    animation: fill .5s ease forwards 3.4s;
}

@keyframes line-anim {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {
    from {
        fill: transparent;
    }

    to {
        fill: #fff;
    }
}

.heading_wrapper {
    width: 100%;
    position: absolute;
    bottom: 5%;
    right: 0;
    overflow: hidden;
}

.heading_wrapper::before {
    content: '';
    display: block;
    background-color: #fff;
    height: 2px;
    width: 80%;
    margin: 0 auto 50px auto;
    animation: heading-border .5s both 4s;
}

.heading_wrapper h1 {
    color: #fff;
    text-align: center;
    font-size: 38px;
    font-weight: 600;
    animation: heading-fade 1s both 4.5s;
}

.heading_wrapper a {
    text-decoration: none;
    color: #660099;
}

.heading_wrapper button {
    display: block;
    margin: 35px auto;
    padding: 18px;
    font-size: 18px;
    border-radius: 15px;
    background: #fff;
    color: #660099;
    animation: button-fade 1s both 5s;
    cursor: pointer;

}



@media(min-width:768px) {
    #logo {
        width: 70%;
        top: 25%;
        left: 15%;
    }

    .heading_wrapper::before {

        height: 3px;
        width: 80%;
        margin: 0 auto 130px auto;
    }

    .heading_wrapper h1 {
        font-size: 48px;

    }
}

@media (orientation: landscape) {
    #logo {
        width: 50%;
        top: 20%;
        left: 20%;
    }

    .heading_wrapper {
        bottom: -4%;
    }

    .heading_wrapper h1 {
        font-size: 28px;
    }

    .heading_wrapper::before {

        width: 80%;
        margin: 0 auto 20px auto;
    }

}

@media (orientation: landscape) and (min-width:1024px) {
    nav ul li a::after {
        content: '';
        position: absolute;
        bottom: 12%;
        left: 0;
        background-color: #660099;
        width: 0;
        height: 3px;
        transition: .5s;
    }

    nav ul li a:hover::after {
        width: 100%;
    }

    #logo {
        width: 30%;
        top: 30%;
        left: 12%;
    }

    .heading_wrapper {
        width: 50%;
        position: absolute;
        right: 5%;
        bottom: 25%;
    }

    .heading_wrapper::before {
        margin: 0 auto 30px auto;
    }
}

@keyframes heading-border {
    from {
        width: 0%;
    }

    to {
        width: 80%;
    }
}

@keyframes heading-fade {
    from {
        opacity: 0;
        transform: translateY(-150%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes button-fade {
    from {
        opacity: 0;
        transform: translateY(150%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ABOUT US */

.container {
    width: 85%;
    margin: 0 auto;
}

main {
    margin-top: 50px;
    color: #660099;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h2 {
    display: block;
    text-align: center;
    font-size: 42px;
    padding: 10px;
    margin-top: 10px;
}

main p {
    font-size: 18px;
    padding: 30px 0;
    text-align: justify;
}

main h3 {
    font-size: 26px;
}

.about_element {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    margin-bottom: 40px;
}

.about_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;

}

.photo_about {
    width: 100%;
    padding: 15px 0;
}

.cards_container {
    flex-wrap: wrap;
    flex-direction: row;
}

.offer_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    width: 80%;
    height: 30vh;
    margin: 20px 0;
    padding: 30px 10px;
}

.title_card {
    font-size: 22px;
    letter-spacing: 2px;
    margin: 5px 2px;
}

.icon_card{
    width: 25%;
    fill: #660099;
}


.why_us:nth-of-type(1) {
    margin-top: 20px;
}

.why_us {
    width: 100%;
    padding: 8px 0;
}

@media (min-width:768px) {
    .offer_card {
        width: 46%;
        margin: 10px;
    }

    .title_card {
        font-size: 18px;
    }

    .icon_card {
        width: 40%;
    }
}


@media (orientation: landscape) and (min-width:1024px) {
    .container {
        width: 80%;
    }

    main h2 {
        font-size: 50px;
    }

    main p {
        font-size: 24px;
    }

    main h3 {
        font-size: 38px;
        margin-top: 60px;
        margin-bottom: 120px;
    }

    .about_wrapper {
        flex-direction: row;
    }

    .about_wrapper:nth-of-type(even) {
        flex-direction: row-reverse;
    }

    .photo_about {
        width: 60%;
        margin: 0 30px;
    }

    .reverse {
        order: -1;
    }

    .why_title {
        margin-bottom: 25px;
    }

    .why_us {
        font-size: 24px;
    }


}

@media (orientation: landscape) and (min-width:1450px) {
    .cards_container{
        width: 140%;
    }
    
    .offer_card {
        width: 18%;
        height: 25vh;
        margin: 0px;
    }

}

/* PROJECTS */

.projects {
    background-color: #660099;
    margin-top: -15px;
    padding-top: 25px;
    padding-bottom: 30px;
    color: #fff;
    text-align: center;
}

.projects h2 {

    padding: 20px;
}

.h3_projects {
    font-size: 22px;
    margin: 15px;
}

.projects h4 {
    display: block;
    margin: 20px 0 10px;
}

.projects_link {
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}

@media (orientation: landscape) and (min-width:1024px) {
    .projects h4 {
        font-size: 36px;
    }
}

/* CONTACT */

.contact {
    color: #660099;
    margin-top: 30px;
    text-align: center;
}

.contact_details {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: space-between;
    justify-content: space-between;
}


.contact_box {
    width: 100%;
    margin: 20px 0;
    background-color: #660099;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.35);
}

.contact_box .round {
    background-color: #fff;
    border-radius: 50%;
    padding: 10px;
    transform: translateY(-10px);

}

.contact_box .round i {
    color: #660099;
    text-align: center;
    font-size: 24px;

}

.contact_box h5 {
    font-size: 22px;
    padding: 8px 0;
}

.contact_box p {
    padding: 4px 0;
}

.contact_form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 10px;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);

}

.input_container {
    width: 100%;
}

.form_input {
    width: 100%;
    border: 2px solid #660099;
    margin: 5px 0;
    padding: 3px;
    color: #660099;
    font-size: 16px;
}

.form_input::placeholder {
    color: #66009970;
}

.contact_form button {
    background-color: #660099;
    font-size: 16px;
    color: #fff;
    letter-spacing: 2px;
    border: 2px solid #660099;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    border-radius: 10px;
}

@media(min-width:768px) {

    .input_container:nth-of-type(1),
    .input_container:nth-of-type(2) {
        width: 48%;
    }
}

@media(min-width:1024px) {
    .contact_details {
        flex-direction: row;
    }

    .contact_box {

        padding: 15px;
        width: 31%;
    }

    .form_input {
        font-size: 18px;
    }
}

footer {
    background-color: #660099;
    color: #fff;
    margin-top: 20px;
    padding: 20px 0;
}

.footer_container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.footer_section {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.footer_section p {
    width: 90%;
    line-height: 200%;
}

.footer_section i {
    margin-right: 10px;
}

.footer_section a {
    width: 100%;
    color: #fff;
    text-decoration: none;
    margin: 5px 0;
}

.footer_label {
    width: 100%;
    text-align: center;
}

.footer_label a {
    color: #fff;
}

@media(min-width:768px) {
    .footer_section {
        width: 32%;
        font-size: 13px;
    }
}

@media(min-width:1024px) {
    .footer_section {
        width: 30%;
        font-size: 16px;
    }
}

form #website{ display:none; }