@font-face {
    font-family: 'Trap';
    src: url('../fonts/Trap-Light.otf') format('opentype');
    font-weight: light;
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Trap';
    src: url('../fonts/Trap-Regular.otf') format('opentype');
    font-weight: normal;
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Trap';
    src: url('../fonts/Trap-Medium.otf') format('opentype');
    font-weight: medium;
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Trap';
    src: url('../fonts/Trap-Bold.otf') format('opentype');
    font-weight: bold;
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Trap';
    src: url('../fonts/Trap-Black.otf') format('opentype');
    font-weight: black;
    font-weight: 900;
    font-style: normal;
}

*{
    margin:0;
    padding:0;
}

body{
    font-family: 'Roboto Mono', monospace;
    scroll-behavior: smooth;
    /* background-color: #f5f5f5; */
}
.sidebar{
    margin-left: 20px;
}
nav{
    display:flex;
    flex-direction: column;
    min-height:80vh;
    justify-content: space-between;
}
nav div:nth-child(1){
    display: flex;
    justify-content:flex-start;
    align-items: center;
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    position: sticky;
    top:0;
    /* font-size: 2rem;
    font-weight: 500; */
    z-index: 1000;
}
nav div:nth-child(1) a img{
    width:50%;
    object-fit: contain;

}

nav div:nth-child(2) {
    margin-top: 6vh;
}

nav div:nth-child(6){
    margin-top:20vh;
}
.navbar-link a{
    font-size:1rem;
    transition:0.4s ease;
}
.navbar-link:hover a{
    color:#678650;
}
.left-border{
    width:7px;
    height:100vh;
    background-color: #678650;
    position: fixed;
    left:15px;
    top:0;
    z-index: 1000;
}

/* all sections must have 65% width, because of the sidebar */
.about{
    min-height: 100vh;
    width:calc(100vw - 420px);
    margin-left:400px;
    padding: 17vh  0px 0px 0px;
    position: relative;
    display:flex;
    flex-direction: column;

}
.about .quote{
    /* width:calc(calc(100vw - 40vw)/3);
    margin-left: calc(calc(calc(100vw - 40vw)/3)*2); */
    font-family: 'Trap';
    font-size: clamp(1.4rem, 1.8vw, 2rem);
    font-weight: 500;
    color:#678650;
    margin-left: 0%;
    margin-bottom: 40px;
    
}
.about .quote span{
    font-weight: 600;
}

.about .quote-img{
    margin-bottom: 60px;
    /* background-color: tomato; */
}
.about .quote-img img{
    width:47%;
    max-width: 630px;
}
.about video{
    width:calc(100vw - 40vw);
    /* border-radius: 30px; */
}
.about .images{
    display:flex;
    justify-content: space-between;
    z-index: 000;
}

.about .images>*{
    /* background-color: tomato; */
    display: flex;
    align-items: flex-end;
    
}
.about .images div:nth-child(1){
    width:20%;
    display:flex;
    
    /* background-color: green; */
}
.about .images div:nth-child(2){
    width: 16%;
    /* background-color: red; */
    
}
.about .images div:nth-child(3){
    width: 28%;
    /* background-color: yellow; */

}
.about .images img{
    width:100%;
}
.about .logo {
    width: 80px;
    position:fixed;
    right:20px;
    top:0px;
    margin:15px;
    animation: fadeIn 1s ease infinite alternate;
}
.about .logo img{
    width: 100%;
    height: 100%;
}
.between{
    min-height: 80vh;
    width:calc(100vw - 320px);
    margin-left:300px;
    padding: 0vh  0px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-top: 10vh;
    /* background-color: bisque; */
    /* position: relative;
    display:flex;
    flex-direction: column; */

}
/* Between Section */
.between .right-img{
    display:flex;
    justify-content: flex-end;
}
.between .left-img{
    
    display:flex;
    justify-content: flex-start;
    align-items: center;
    /* background-color: aquamarine; */
    overflow: hidden;
}
.between .left-img .iphone{
    height:550px;
}
.between .right-img .txt{
    height: 8.5vw;
}
.between .left-img .txt{
    height: 4vw;

}
/* Network Section */
.network{
    min-height: 100vh;
    width:calc(100vw - 320px);
    margin-left:280px;
    padding:130px 0;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.network img{
    width:50vw;  
}
.network .text-container{
    /* background-color: blueviolet; */
    width:80%;
    display:flex;
    justify-content: space-between;
}
.network .text-container span{
    font-weight: 800;
    animation: fadeIn 1s ease infinite alternate;
}
.network p{
    /* background-color: lime; */
    font-family: 'Trap';
    font-size: 1.5rem;
    /* font-weight: normal; */
    margin-top: 20px;
    /* width: 60vw; */
    /* text-align: right; */
    color: #678650;
}
.network div p:nth-child(2){
    font-weight: bold;
}
/* Services section */
.services{
    min-height: 70vh;
    width:calc(100vw - 400px);
    margin-left: 360px;
    display:flex;
    justify-content: center;
    align-items: center;
    /* background-color: lime; */
}

.services .item{
    /* background-color: aqua; */
    height: 65vh;
    width:calc(calc(100% / 3) - 100px);
    max-width: 250px;
    margin:0 25px;
    position:relative;
    left:0;
    /* box-shadow: 2px 2px 5px #ccc;
    border-radius: 20px; */
}
.services .item .img-container{
position: relative;
height: 100%;
}
.services .item .img-container .paragraph-bg{
    height:100%;
    width: 100%;
    background-color: rgba(255,255,255,0);
    position:absolute;
    top:0;
    left: 0;
    display: flex;
    align-items: center;
    padding:5px;
    transition:1s;
}
.services .item .img-container .paragraph-bg>p{
    /* position:absolute;
    top:0%;
    left:0%; */
    /* text-align: center; */
    /* margin: auto; */
    color:rgba(0, 0, 0, 0);
    transition:1.5s;
}
.services .item img{
    width:100%;
    height: 100%;
    object-fit: cover;
    /* border-radius: 20px 20px 0 0; */
}
.services .item p{
    font-size: clamp(1rem, 1.5vw, 1rem);
    text-align: center;
    /* background-color: tomato; */
    margin-top: 10px;
}
.services  .item-second{
    top:12vh;
    /* margin-top: 15vh; */
}
.services .item-third{
    top:24vh;
    /* margin-top: 30vh; */
}
.services .item:hover{
   transform: translateY(-10px);
}
.services .item:hover  .img-container .paragraph-bg p{
color: black;
}
.services .item:hover  .img-container .paragraph-bg{
    background-color: rgba(255,255,255,0.7);
    }
.services span{
    background-color: #ccc;
    padding:0% 0;
}
.services .carousel-images{
    font-family: 'Trap';
    color: #678650;
    text-align: right;
}
.services .carousel-images .description{
    width:60%;
    text-align: center;
    margin-top: 20px;
 }
.services .carousel-images .titles {
    font-weight: 600;
    font-size: clamp(1.3rem, 2vw, 2rem);

}
.services .carousel-images .domestico-text{
    height:25px ;
}
.services .carousel-images .img-titles{
    height:30px;
    margin:25px 20px;
}

.services .carousel-inner .carousel-images{
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Commertialization section */
.commercialization{
    min-height: 90vh;
    width:calc(100vw - 320px);
    margin-left: 280px;
    display:flex;
    justify-content: right;
    align-items: center;
    /* background-color: tomato; */
}
.commercialization p{
    color:#678650;
    width:50vw;
    max-width: 600px;
    margin-right: 135px;
    font-family: 'Trap';
    font-size: 1.5rem;
    text-align: right;
    /* background-color: blueviolet; */
}
.commercialization p span{
    font-weight: bold;
}
/* Contact section */
.contact{
    /* background-color: blueviolet; */
    min-height: 20vh;
    width:calc(100vw - 320px);
    margin-left:300px;
    /* width: 100%; */
    position: relative;
    display: flex;
    justify-content:flex-start;
    align-items: center;
    background-color: #678650;
    
}
.contact .contact-container{
    position:absolute;
    /* the 80px are the width of the logo */
    margin-top: 0px;

    right: 135px;
    margin-right: 0px;
    box-sizing: border-box;
    text-align: right;
    color: white;
    font-family: 'Trap';
    box-sizing: border-box;
    /* background-color: blueviolet; */
}
.contact .contact-container p a{
    text-decoration: none;
    color: white;
}
.contact .contact-container .bold{
    font-size: 1.5rem;
    font-weight: bold;
}
.contact .contact-container .email{
    font-weight: 400;
}
.contact .contact-container .telephone{
    font-weight: 400;
    margin-bottom: 0;
}
/* media queries */

@media screen and (max-width: 768px){
    .about,.between, .network, .services,.commercialization, .contact{
        min-height: 50vh;
        width: 95vw;
        margin-left: 5vw;
        margin-bottom: 15vh;
    }
    .about .quote{
        width:60vw;
        margin-left: 20vw;
    }
    .about video{
        width:80vw;
        height:auto;
    }
    .about .quote-img img{
        width:80%;
        margin-left: 2vw;
    }
    .about .images{
        justify-content: space-around;
    }
    .about .logo{
        right: 0;
    }
    .between{
        padding: 0;
        min-height: 30vh;
    }
    .between .left-img .iphone{
        height:250px;
    }
    .between .right-img,.between .left-img{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .between .right-img .txt{
        height: 68px;
    }
    .between .left-img .txt{
        height: 35px;
    }
    
    .network{
        padding: 0px;
    }
    .network img{
        width:90vw;
    }
    /* .about iframe{
        width:80vw;
        height:50vh ;
    } */
    .services{
        width:100%;
        margin-bottom:30vh ;
        flex-direction: column;
        align-items: center;
    }
    /* .services .item{
        height: 40vh;
        width:calc(calc(100% / 3) - 35px);
        max-width: 250px;
        margin:0px 5px;
    } */
    .services .item{
        height:30vh;
        width:90vw;
        max-width: 400px;
    }
   
    .commercialization{
        justify-content: center;
    }
    .commercialization p{
        width: 80vw;
        text-align: center;
        margin-right: 0;
    }
    .contact{
        margin-bottom: 0;
        width:100vw;
        
    }
    .contact .contact-container{
        position:absolute;
        /* the 80px are the width of the logo */
        right: 10px;
        margin-right: 15px;
    }



}

/*animation*/
@keyframes fadeIn{
    from{
        opacity:0;
    }   
    to{
        opacity:1;
    }
}