@import url('https://fonts.cdnfonts.com/css/itc-avant-garde-pro-md');

* {
    padding: 0;
    margin: 0;
}
*::-webkit-scrollbar{
    display: none;
}

body {
    background-color: white;
    color: rgba(39,39,41,0.8);
    font-family: 'ITC Avant Garde Pro Md', sans-serif;
    line-height: 1.6;
    height: 100vh;
    overflow: hidden;
    -webkit-overflow-scrolling: auto;

    /* overscroll-behavior: contain; */
}

.container {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

/* Reduces size of the menu items */
@media (max-width: 1320px) {
    .navbar ul li a {
        font-size: 12px;
    }
    
    #auren_logo {
        width: 60px;
        padding-top: 5px;
    }
}

/* Turns the top menu into side menu */
@media (max-width: 1100px) {
    .navlinks {
        display: none !important;
    } 
    .menubtn {
        display: flex !important;
    }
    .navbar {
        background: transparent !important;
        padding: 35px 5%;
        width: 100%;
        height: 80px;
        float: right;
    }
    .sideNav {
        display: block !important;
        width: 0%;
    }
}

.navbar {
    position: fixed;
    top: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 60px;
    background: rgba(0,0,0,0.7);
} 

.navbar ul {
    display: flex;
    list-style: none;
    width: 100%;
    justify-content: center;
}

.navbar ul li {
    margin: 0 1rem;
    padding: 1.25rem;
}

.navbar ul li a {
    text-decoration: none;
    text-transform: uppercase;
    color: white;
    transition: color .4s ease;
}

.navbar ul li a:hover {
    color: rgba(226,35,26,0.9);
} 

.navbar ul li a.active {
    color: rgba(226,35,26,0.9);
} 

nav .menubtn {
    font-size: 30px;
    cursor: pointer;
    color: white;
    display: none;
}

.sideNav {
    color: white;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0%;
    background: rgba(0,0,0,0.8);
    overflow: hidden;
    transition: 0.3s ease-in;
    padding-top: 60px;
    z-index: 2;
    display: none;
    max-width: 250px;
}

.sideNav a{
    padding: 8px 8px 8px 40px;
    display: block;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
    max-width: 100px;
}

.sideNav a:hover{
    color: rgba(226,35,26,0.9);
}

.sideNav #sidenav-about{
    color: rgba(226,35,26,0.9);
}

#auren_logo {
    display: block;
    margin-top: 13px;
}


section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* height: -webkit-fill-available; */
    height: 100dvh;
    width: 100%;
    scroll-snap-align: start;
    color: white;
    position: relative;
}

section h1 {
    font-size: 3.5rem;
}

section p {
    font-size: 1.5rem;
    width: 80%;
}

section#home {
    background: linear-gradient(rgba(38,39,41,.6), rgba(38,39,41,.8)), url("static/jpeg-optimizer_MicrosoftTeams-image.jpeg") no-repeat center center/
    cover;
}

section#sustainability {
    background: linear-gradient(rgba(38,39,41,.6), rgba(38,39,41,.8)), url("static/jpeg-optimizer_shutterstock_211310194.jpeg") no-repeat center center/
    cover;
}

section#digital-transformation {
    background: linear-gradient(rgba(38,39,41,.6), rgba(38,39,41,.8)), url("static/jpeg-optimizer_shutterstock_201140036.jpeg") no-repeat center center/
    cover;
}

section#artificial-intelligence {
    background: linear-gradient(rgba(38,39,41,.6), rgba(38,39,41,.8)), url("static/jpeg-optimizer_shutterstock_119131771.jpeg") no-repeat center center/
    cover;
} 

.auren_logo_phone {
    display: none;
}

@media (max-width: 800px) {
    section h1 {
        font-size: 24px;
        max-width: 80%;
    }
    section p {
        font-size: 16px;
    }
    .auren_logo_phone {
        position: absolute !important;
        display: block;
        bottom: 10px;
        width: 18%;
        padding-bottom: 20px;
        margin: 0 auto;
    }
}

#openModal {
    position: fixed;
    bottom: 7%;
    right: 5%;
    width: 60px;
    height: 60px;
    background-color: rgba(226,35,26,0.9);
    border-radius: 50%;
    border: none;
    outline: none;
    font-size: 16px;
    cursor: disabled! important;
    opacity: 0; /* Start with opacity 0 */
    transition: opacity 1s ease-in; /* Add transition effect */
    -webkit-box-shadow: 0px 0px 17px 7px rgba(0,0,0,0.42);
    -moz-box-shadow: 0px 0px 17px 7px rgba(0,0,0,0.42);
    box-shadow: 0px 0px 17px 7px rgba(0,0,0,0.42);
    animation: wiggle 3s linear infinite;
    transform-origin: 50% 8em;
    animation-delay: 5s;
}

#openModal.paused {
    animation-play-state: paused;
}


/* Styling for the button icon */
#openModal-icon {
    width: 30px;
    height: 30px;
    display: block;
    margin: 15px auto;
    background-image: url('static/contact-mail_white.png');
    background-size: cover;
}

/* Make the button visible when its opacity is 1 */
#openModal.show {
    cursor: pointer;
    opacity: 1;
}

@keyframes wiggle {
    0%,
    5%{
        transform: rotateZ(0);
    }
    15%{
        transform: rotateZ(-15deg);
    }
    20%{
        transform: rotateZ(10deg);
    }
    25%{
        transform: rotateZ(-10deg);
    }
    30%{
        transform: rotateZ(6deg);
    }
    35%{
        transform: rotateZ(-4deg);
    }
    40%,
    100%{
        transform: rotateZ(0);
    }
}

/* Styling for the modal */
.modal {
    display: none; /* Hide the modal by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    border-radius: 10px 10px;
    margin: 8% auto;
    padding: 40px;
    border: 1px solid rgba(38, 39, 41, 0.8);
    width: 400px;
    -webkit-box-shadow: 0px 0px 36px 33px rgba(0,0,0,0.42);
    -moz-box-shadow: 0px 0px 36px 33px rgba(0,0,0,0.42);
    box-shadow: 0px 0px 36px 33px rgba(0,0,0,0.42);
}

@media (max-width: 800px) {
    .modal-content {
        margin: 15% auto;
    } 
    .modal-content label {
        font-size: 10px;
    } 
    .modal-content {
        width: 70%;
        max-width: 350px;
    }   
    .modal-content h2 {
        margin: 0;
        text-align: center;
        font-size: 20px;
        font-style: 'ITC Avant Garde Pro Md', sans-serif;
    
    }
}

.modal-content h2 {
    margin: 0;
    text-align: center;
    font-size: 25px;
    /* font-style: 'ITC Avant Garde Pro Md', sans-serif; */

}

::placeholder {
    color: rgba(39,39,41,0.8);
}

.modal-content label {
    display: inline-block;
    margin: 10px 0;
    font-size: 12px;
}

.modal-content input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid grey;
    border-radius: 10%;
    outline: none;
    transition: background-color 0.3s;
    margin: 0;
    vertical-align: middle;
}

.modal-content input[type="checkbox"]:hover {
    cursor: pointer;
}

.modal-content input[type="checkbox"]:checked {
    border-color: grey;
    background-color: grey;
    background-image: url('static/tick_white.png');
    background-size: cover;
}

.modal-content input[type="text"],
.modal-content input[type="email"] {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    outline: none;
    resize: none;
    border: none;
    border-bottom: 1px solid #D3D3D3;
    margin-bottom: 30px;
}

.modal-content input[type="text"]:focus, .modal-content input[type="email"]:focus {
    border-bottom: 1px solid grey;
}

.modal-content input[type="submit"] {
    background-color: white;
    width: 100%;
    position: center;
    color: rgba(226,35,26,0.9);;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px;
    border-style: solid;
    border-color: rgba(226,35,26,0.9);
    cursor: pointer;
}

.modal-content input[type="submit"]:hover, 
.modal-content input[type="submit"]:focus  {
    background-color: rgba(226,35,26,1);;
    width: 100%;
    position: center;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;    
    font-weight: bold;
    padding: 10px 20px;
    border-style: solid;
    border-color: rgba(226,35,26,0.9);;
    /* border-radius: 5px; */
    cursor: pointer;
}

@media (max-height: 600px) {
    .modal-content {
        padding: 30px;
    } 
    .modal-content h2 {
        font-size: 14px !important;
    }
    .close {
        margin-left: auto;
        margin-top: -20px;
        margin-right: -15px;
    }
    .modal-content input[type="text"],
    .modal-content input[type="email"] {
        padding: 8px;
        margin-bottom: 20px;
    }
    .modal-content label {
        font-size: 8px;
    } 
    ::placeholder {
        font-size: 12px;
    }
}

.close {
    margin-left: auto;
    margin-top: -30px;
    margin-right: -20px;
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: rgba(226,35,26,0.9);
    text-decoration: none;
    cursor: pointer;
}

/* CSS for the loading wheel */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
    
.loading-wheel {
    border: 4px solid #f3f3f3; /* Light gray */
    border-top: 4px solid red;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

#successMessage {
    display: none;
}

#successMessage p {
    text-align: center;
}

#errorMessage {
    display: none;
}

#errorMessage p {
    text-align: center;
}


/* .reveal {
    opacity: 0;
    transition: all 1s ease;
    filter: blur(3px);
}

.reveal.active {
    opacity: 1;
    filter: blur(0);

} */

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    /* bottom: 0; */
    /* left: 0; */
    /* right: 0; */
    background: white;
    height: 100lvh;
    width: 100%;
    /* height: auto; */
    /* padding-top: 20px; */
    color: rgba(39,39,41,0.8);
    scroll-snap-align: start;
}

@media (max-width: 1100px) {
    .footer-content{
        background-color: white;    
        padding-top: 35vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }
    #auren_logo_footer_phone{
        display: block;
        height: 5vh;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
    #auren_logo_footer{
        display: none;
    }
    .footer-bottom{
        padding: 10px 0;
        padding-top: 100px;
    }
    .footer-contacts{
        display: block !important;
    }
    .footer-address {
        position: static !important;
    }
    .footer-address img {
        content:url("static/placeholder_red.png");
    }
    .footer-number {
        position: static !important;
    }
    .footer-number img {
        content:url("static/telephone_red.png");
    }
    .footer-mail img {
        content:url("static/mail_red.png");
    }
    .footer-address p, .footer-number p, .footer-mail p{
       font-size: 14px;
    }
    .break{
        display: block !important;
        margin-bottom: 100px;
    }
}   

.footer-contacts{
    display: flex;
    flex-direction: row;
    width: 70%;
    align-items: center;

}

/* .footer-content h3{
    font-size: 1.0rem;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 2rem;
    padding-bottom: 10px;
}

.footer-content p{
    max-width: 500px;
    line-height: 20px;
    font-size: 12px;
} */

.footer-address, .footer-number, .footer-mail {
    position: relative;
    vertical-align: middle;
}

.footer-number p {
    text-decoration: none;
}

#mail-to {
    text-decoration: none;
    color: inherit;
}

.footer-bottom{
    background: white;
    width: 100%;
    padding: 10px 0;
    text-align: center;   
}

.footer-bottom p{
    font-size: 10px;
    word-spacing: 2px;
    text-transform: capitalize;
    color: rgba(39,39,41,0.8);
}

.footer-bottom span{
    text-transform: uppercase;
    opacity: .4;
    font-weight: 200;
}

.map {
    position: absolute;
    top: 0px;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    height: 40vh;
}

@media (min-width: 1100px) {
    .map{
        padding-top: 60px;
    }    
    .footer-mail p, .footer-number p, .footer-address p {
        color: white;
    }
    .footer-bottom{
        position: absolute;
        top: 92vh;
        bottom: 0;
        height: 20px;
    }
    .footer-content{
        /* padding-top: 50vh; */
        position: absolute;
        top: 60vh;
        bottom: 0;
        height: 150px;
        width: 100%;
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        /* flex-direction: column; */
        /* text-align: center; */
        /* margin-top: 20px; */
        background-color: rgba(39,39,41,0.8);
    }
    #auren_logo_footer{
        /* display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        width: 300px;
        padding-bottom: 50px;
        margin-top: 100px; */
        display: block;
        height: 8vh; /* Adjust the width as needed */
        position: absolute;
        top: 58vh;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        margin:auto;
    }
    #auren_logo_footer_phone{
        display: none;
    }
}

.break{
    display: none;
}