@import url(./Montserrat.css);
@import url(./OpenSans.css);

html {
    height: 100%;
    overflow: hidden;
    /* font-size: 14px; */
    /* font-size: clamp(1vh, 14px, 1.4vh); */
    line-height: 1.7rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    font-family: "Montserrat", "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    font-size: calc(0.4vw + 0.4vh + 0.2vmin);
}


html,
body {
    margin: 0;
    height: 100%;
    width: 100%;
    font-size: 1rem;
}

#mainContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
}

#header {
    flex-basis: 10%;
    display: flex;
    flex-direction: row;
    background-color: darkslategray;
}

#mainPage {
    flex-basis: 85%;
}

#footer {
    flex-basis: 5%;
    background-color: darkslategray;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    color: white;
}

#logo {
    height: 100%;
    flex-basis: 10%;
}

#naming {
    height: 100%;
    flex-basis: 55%;
    color: white;
    font-size: 1.5rem;
    font-family: Calibri;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: bold;
}

#homeHoster,
#servicesHoster,
#contactHoster {
    height: 100%;
    flex-basis: 10%;
    color: white;
    font-size: 1.4rem;
    font-family: Calibri;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

#contactButtonHome:hover {
    color: white;
    transition: color 0.4s;
}

#modalBackground {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
}

#modalWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: darkgoldenrod;
    position: relative;
    min-width: 25rem;
    min-height: 20rem;
    height: 40%;
    width: 40%;
    border-radius: 1rem;
}

#modalTitle {
    display: flex;
    margin: 1rem auto 1rem 1rem;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

#modalContent {
    background-color: #fefefe;
    margin: auto;
    height: 100%;
    width: 100%;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    padding: 2rem;
}

#modalClose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    display: block;
    position: absolute;
    top: 1.3rem;
    right: 1.3rem;
    width: 1rem;
    height: 1rem;
}

#modalClose:hover,
#modalClose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

#contactFormElement {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#myContactForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 1.5rem;
    width: 100%;
    height: 90%;
    justify-content: center;
}

#inputName,
#inputSurname,
#inputEmail,
#inputMessage {
    width: 20rem;
    border-radius: 5px;
    border: 1px solid black;
    padding: 0.8rem;
}

#inputMessage {
    height: 10rem;
}

#submit {
    background-color: orange;
    text-align: center;
    padding: 1.2rem;
    width: 20rem;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 2rem;
    color: black;
}

#submit:hover {
    color: white;
    transition: color 0.4s;
}

#nameNo,
#surnameNo,
#emailNo,
#messageNo {
    color: red;
}

#headerContact {
    height: 10%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.6rem;
    color: white;
}

#servicesPage {
    display: flex;
    flex-direction: row;
}

#services-description {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 2rem;
}

#services-details {
    flex-basis: 40%;
    background-color: antiquewhite;
    height: 100%;
    display: flex;
    flex-direction: column;
}