@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@200..800&family=Dancing+Script:wght@400..700&family=Heebo:wght@100..900&family=Satisfy&family=Varela+Round&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.logo {
    height: 1em;
}


/***** Navbar CSS******************/


.navbar {
    width: 100%;
    margin-top: 1px;
    background: #DAE2B6;
    position: fixed;
    z-index: 10;
    justify-content: center;
}

.nav_cnt {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.navbar .logo_name {
    display: flex;
    align-items: center;
    height: fit-content;
}

.logo_name .name-nav {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 15pt;
    text-decoration: none;
    color: black;
}

.navbar .nav-link {
    text-align: center;
}

.navbar .nav-link.active {
    color: #FFFBE9;
}

@media screen and (max-width:500px),
(max-height:600px) {
    .nav_cnt {
        width: 100%;
    }

    .logo_name .name-nav {
        display: none;
    }
}


/***** Div1 CSS******************/

.head {
    background: #FFFBE9;
    height: 1px;
}

/**********************************************************************/
.oppening {
    margin-top: 2em;
    background: #FFFBE9 0% 0% no-repeat padding-box;
    display: grid;
    align-items: center;
    justify-content: center;
    height: 40vmin;
}

.oppening .item,
.pre-projects .item,
.about .item {
    padding: 1em;
    text-align: center;
    width: 90vmin;
}


.item h1 {
    font-size: 6.2vmin;
    font-weight: 500;
    font-family: "Heebo", sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-optical-sizing: auto;
}

.item p {
    font-size: 2vmin;
    font-family: "Heebo", sans-serif;
}

/**********************************************************************/
.tech {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    flex-wrap: wrap;
    font-size: 14pt;
    background-color: #F4EAD5;
}

.tech .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 80px;
    height: 80px;
    text-align: center;
    align-items: center;
    justify-content: center;

}

.tech .item img {
    width: 40px;
    height: 45px;
}

/**********************************************************************/

.about {
    background-color: #FFFBE9;
    box-shadow: 0 1px 5px #bbb inset;
    height: 60vmin;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Heebo", sans-serif;
    font-weight: 300;
    text-align: justify;



}

.about .item {
    padding: 0.5em;
}

.about .item h1 {
    font-family: "Heebo", sans-serif;
    font-weight: bold;
    font-size: 2em;
}

.about .item img {
    width: 10vmin;
}

.about .item a {
    padding: 3px 25px 3px 25px;
    background-color: #CCD6A6;
    text-decoration: none;
    color: #FFFBE9;
    border-radius: 25px;
    font-weight: bold;
}

/**********************************************************************/

.pre-projects {
    background-color: #DAE2B6;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 35vh;
    margin-bottom: 0;
}


.projects {
    text-align: center;
    margin-top: 0;
    background-color: #FFFBE9;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14pt;
    padding-bottom: 10vh;
}

.card {
    width: 17em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 25em;
    box-shadow: 3px 3px 15px #00000029;
    border: 0;
    margin: 1em;
    border-radius: 10px;
    align-items: center;
    background-color: #F4EAD5;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-img-top {

    width: 100%;
    height: 45%;
}

@media screen and (max-width: 500px),
(max-height:700px) {
    .card {
        width: 100%;
    }
}

a.btn {
    font-size: 0.7em;
    width: fit-content;
    background-color: #CCD6A6;
    text-decoration: none;
    color: #FFFBE9;
    border-radius: 25px;
    border: 0;
    margin: auto;
}

.tech-pro {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    flex-wrap: wrap;
    font-size: 14pt;
}

.tech-pro .item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 0;
}

.tech-pro .item img {
    width: 30px;
    height: 25px;
}

/**********************************************************************/
.contact {
    background-color: #656a53;
    justify-content: center;
    align-items: center;
    display: flex;
    height: fit-content;
}

.contact .co-img {
    width: 50%;
    align-self: flex-start;
}

.contact .co-form {
    direction: rtl;
    margin: 3em;
    align-self: center;
    width: 30%;
    color: white;
}


.contact .co-img img {
    width: 60%;
    margin-left: 2em;
}

@media screen and (max-width: 500px),
(max-height:700px) {

    .contact {
        flex-direction: column;
    }

    .contact .co-img {
        width: 40%;
        align-self: flex-start;
    }

    .contact .co-form {
        direction: rtl;
        margin: 0;
        margin-bottom: 12vh;
        align-self: center;
        width: 75%;
        color: white;
    }


    .contact .co-img img {
        width: 100%;
        margin-left: 2em;
    }

}

.contact form input {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #DAE2B6;
}

.contact form input#theMessage {
    height: 8vh;
}

.contact form input#sub_button {
    font-size: 1em;
    width: 35%;
    height: 4.5vh;
    background-color: #CCD6A6;
    text-decoration: none;
    color: black;
    border-radius: 25px;
    border: 0;
    margin: auto;
}

/**********************************************************************/

.social-media {
    background-color: #FFFBE9;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    padding: 7vh;
}

.social-media .item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-media h6 {
    margin: 1em;
    font-size: 0.7em;
}

/**********************************************************************/

.footer {
    background-color: black;
    color: #F1E5D1;
    display: flex;
    justify-content: space-between;
    padding: 0.8em;
}

.footer .name {
    justify-content: flex-start;
}

.footer .cc {
    justify-content: flex-end;
}

.line {
    background-color: #F1E5D1;
    height: 0.3em;
}