@import url('thems.css');

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg-gradient);

    color: white;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding: 0;
    margin: 0;
    border-radius: 10px;
}

.container {
    max-width: 1200px;
    height: min-content;
    background-color: var(--color-bg-primary);
    border-radius: 10px;
    display: grid;
    grid-template-rows: 310px 3fr 150px;
    box-shadow:
            10px 0 20px 1px rgb(0, 0, 0, 0.7),
            -10px 0 20px 1px rgb(0, 0, 0, 0.7);
}

/* head */
header {
    grid-row: 1;
    border-radius: 10px 10px 0 0 ;
    background-image: url(../img/background.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.company {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-right: 50px;
}

.company__logo {
    width: 300px;
    height: 230px;
    
    border-radius: 15px;
    /* box-shadow: 1px 1px 20px 30px rgba(0, 0, 0, 0.9); */
    opacity: 0.8;
    margin-left: 50px;
    margin-top: 25px;
    margin-bottom: 5px;
    cursor: pointer;
}
.logo_bg {
    position: relative;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 0;
    opacity: 0.6;
}

.company__logo > svg {
    position: relative;
    padding: 20px;
    width: 300px;
    color: white;
    z-index: 2;
    margin-top: -240px;
}

.company__word {
    width: 100%;
    color: white;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    margin-top: -40px;
    margin-right: 20px;
    margin-bottom: 30px;
    text-align: right;
    text-shadow: 2px 2px var(--color-bg-secondary);
}
/* end_head */

main {
    display: flex;
    flex-direction: column;
    color: black;
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.5;
    height: max-content;
    background-image: url('../img/motherboard.png');
    padding-top: 10px;
    gap: 10px;
}

ul ::marker {
    font-size: 24px;
    color:#610200;
}

.service {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: min-content;
}

.service__text {
    min-width: 560px;
    color: white;
    height: max-content;
    font-weight: 300;
    font-size: 1.2em;
    padding: 20px;
    border-radius: 25px;
}
.service__ps {
    font-weight: 200;
    font-size: 0.95rem;
    color: white;
    text-align: left;
}
.service__text h2 {
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.5rem;
}

.service__text hr {
    background:  var(--accent-gradient);
    border: 0;
    height: 2px;
    
}
.service__image {
    padding: 40px;
    opacity: 0.95;
    width: 100%;
    height: 100%;
}


.embedded__image {
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../img/design.jpg');
    background-size: cover;

}
.iot__image {
    background-image:linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/iot3.png');
    background-size: cover;
    background-repeat: no-repeat;
    justify-content: flex-end;
    display: flex;
}

.cloud__image {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../img/cloud-integration_bw.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}


.iot_text {
    text-align: left; 
    width: 50%; 
    box-shadow: 10px 10px 20px 20px black;
    backdrop-filter: brightness(40%)
}

.emmbeding_text, 
.cloud__text {
    text-align: left;
    width: 50%;
    margin-right: 49%;
    box-shadow: 10px 10px 20px 20px black;
    backdrop-filter: brightness(40%)
}

.note_image {
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),url('../img/note2.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

footer {
    grid-row: 3;
    background-color: #000000;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    opacity: 0.95;
    background-image: url('../img/motherboard.png');
    background-size:cover;
    background-repeat: no-repeat;
    background-position: 180%;
    border-radius:  0 0  10px 10px;
    overflow: hidden;
}
.contact {
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    opacity: 0.8;
}
.show-email {
    background: var(--btn-gradient);
    width: 250px;
    height: 40px;
    border-radius: 20px;
    border: none;
    color:white ;
    font-size: 18px;
    cursor: pointer;
    text-transform: uppercase;
    text-shadow: 0.05rem 0.05rem #000000;
}

.show-email:hover{
    background: var(--btn-gradient-invert);
}
.contact a {
    text-decoration: none;
    color: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
}


.copyright {
    width: 100%;
    height: 50px;
    padding-top: 20px;
    text-align: center;
    background: #000000;
    opacity: 0.9;
}

@media screen and (max-width: 1070px)  {
    .company__word {
        margin-top: 0px;
        padding-top: 5px;
        padding-bottom: 10px;
    }
}
@media screen and (max-width:756px) {
    .container {
        grid-template-rows: 230px 3fr 150px;
    }
    .company{
        justify-content: center;
        align-items: center;
        margin-right: 0;
    }
    
    .company__logo {
        width: 200px;
        height: 150px;
        margin-left: 30px;
        margin-bottom: 15px;
    }

    .company__logo>svg {
        width: 200px;
        margin-top: -200px;
    }
    .company__word {
        width: 100%;
        text-align: center;
        line-height: 1.1;
        font-size: 1.3rem;
        font-weight: 280;
        background: rgb(0, 0, 0, 0.6);
        border-radius: 10px;
        margin: 0;
    }
    main {
        font-size: 1rem;
        line-height: 1.3;
    }
}

@media screen and (max-width:600px) {
    .container{
        font-size: 0.8rem;
        font-weight: 280;
    }
    header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .company {
        margin-right: 0;
    }
    .company__word {
        font-weight: 250;
        width: 100%;
        text-align: center;

    }
    .note_text {
        margin-right: 10px;
    }
    .service__image {
        justify-content: center;
        align-items: center;  
        padding: 10px;     
    }
    .service__text {
        min-width: 520px;
        width: 100%;
        margin: 0;
    }
    .service__text h2{
        font-weight: 250;        
    }
}

@media screen and (max-width:532px) {
   .service__text {
        min-width: 480px;
    }
}
@media screen and (max-width:500px) {
    .container {
        grid-template-rows: 200px 3fr 150px;
    }
    main {
        font-size: 0.8rem;
    }
    .company{
        width: 100%;
    }
    .company__logo{
        margin-top: -15px;
    }
    .company__word {
        width: 100%;
        font-size: 1rem;
        margin-top: -5px;
    }
    .service__image{
        padding: 20px;        
    }

    .service__text {
        min-width: 450px;
    }
    .note_text {
        margin: 0;
    }
}

@media screen and (max-width:453px) {
   .service__text {
        min-width: 380px;
    }
    .service__text h2 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width:453px) {
    .service__text {
        min-width: 350px;
    }
}
@media screen and (max-width:383px) {
    main{
        font-size: 0.7rem;
    }
    .service__text {
            min-width: 350px;
    }
}
@media screen and (max-width:383px) {
    main {
        font-size: 0.7rem;
        padding-top: 5px;
        gap: 5px;
    }

    .service__text {
        min-width: 335px;
    }
}