@import "./style.css";
@import "./forms.css";
    
#sec3 p {
    width: fit-content;
    margin: 0;
}
.bold {
    display: inline !important;
    color: black !important;
}
p a {
    color: blue !important;
}
#sec1 {
    height: calc(200% - 50px);
}
.content.centered.flex.col {
    justify-content: space-around !important;
    width: 100%;
}
.content.centered.flex.col .text-wrapper {
    margin-top: 10%;
    width: 100%;
    height: fit-content;
}
.centered.mobile {
    text-align: center;
}
#image-row img {
    height: 250px;
}
.content.centered.flex.row {
    flex-flow: column;
    justify-content: space-around !important;
    width: 80%;
    height: 100% !important;
}
#sec1.flex.row .text-wrapper {
    text-align: center;
}


.button-wrap {
    margin-top: 25px;
}
#workshop-form {
    width: fit-content;
    height: 50px;
    justify-content: center;
    align-items: center;
}
.submit-button {
    top: 0px;
    width: 125px;
    height: 40px;
    background-color: blue;
    color: white;
}

#newsletter-field {
    width: 90%;
    height: 25px;
    border: none;
    outline: none;
    font-size: 1em;
    border-bottom: 1px solid lightgrey;
    border-radius: 0;
    text-align: center;
}
#newsletter-field:focus {
    border-bottom: 1px solid blue;
}
#newsletter-button {
    position: relative;
    top: 25px;
    right: 0px;
    border: none;
    color: blue;
    background-color: white;
    font-size: 1em;
}
#arduino {
    width: 75%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    box-shadow: 2px 2px 20px lightgrey;
}

#sec2 {
    height: 100%;
}
#sec2 .text-wrapper .title.centered, #sec2 .text-wrapper a {
    text-align: center !important;
}

#sec3 .title {
    text-align: center;
}
#sec2 .text-wrapper a {
    width: fit-content;
}
#sec3 {
    height: 250%;
}
#sec4 {
    height: 150%;
}
#sec3 h2.centered {
    width: fit-content;
    color: blue;
    text-align: center;
}
#sec3 .text-wrapper {
    text-align: center;
}

#sec3 .text-wrapper h2{
    color: blue;
}
#sec3 h2.centered:hover {
    cursor: pointer;
}

.message.centered {
    color: blue;
}

#sec4 .text-wrapper {
    width: calc(100% - 100px);
    padding: 50px;
    border: 1px solid lightgrey;
    border-radius: 20px;
}

#sec5 {
    height: 50%;
    text-align: center !important;
}
@media screen and (min-width: 568px) and (max-width: 853px) and (max-height: 393px) {
   #sec1 {
        height: calc(150% - 50px);
   }
   .content.centered.flex.col .text-wrapper {
    margin-top: 0;
   }
   #image-row {
        margin-top: 50px;
        width: 100%;
        flex-flow: row;
   }
   .main-images {
       width: 200px;
       height: auto !important;
   }
   #sec2 {
     height: 200%;
   }
   #sec2 .content.centered.flex.row {
    width: 100% !important;
    flex-flow: row;
    justify-content: space-between !important;
    align-items: center;
   }
   #sec2 .content.centered.flex.row  .title, #sec2 .content.centered.flex.row  .textbox {
    text-align: left !important;
   }
   #sec2 #arduino {
    width: 200px;
    height: auto;
   }
   #sec3 {
    height: 250%;
   }
}

@media screen and (min-width: 1100px) {
    .centered.mobile {
        margin-left: unset;
        margin-right: unset;
        text-align: left !important;
    }
    .content.centered.flex.col {
        justify-content: space-evenly !important;
    }
    .content.centered.flex.col .text-wrapper {
        margin-top: 0 !important;
    }

    .content.centered.flex.row {
        width: 100% !important;
        flex-flow: row;
        justify-content: space-between !important;
        align-items: center;
    }

    #newsletter-form {
        position: relative;
        width: 400px;
    }
    #newsletter-field {
        width: 400px;
    }
    .message.centered {
        width: 100%;
        text-align: center;
    }
    #image-row {
        margin-top: 25px;
        width: 100%;
        height: 250px;
        justify-content: space-between;
    }
    .main-images {
        height: 100% !important;
        border-radius: 20px;
        box-shadow: 2px 2px 20px lightgrey;
    }
    .main-images.up {
        margin-top: -50px;
    }
    .content.centered.flex.row .text-wrapper {
        width: 500px;
        text-align: left !important;
    }
    
    #arduino {
        width: 450px;
    }
    
    #sec2, #sec3 {
        height: 75% !important;
    }
    #sec2, .content.centered.flex.col {
        justify-content: space-around;
    }
    #sec2 .title.centered, #sec2 .textbox {
        text-align: left !important;
    }
    #left-wrapper {
        padding-left: 0 !important;
        border-right: 1px solid lightgrey;
    }
    #right-wrapper {
        padding-right: 0 !important;
    }
    #sec2 .text-wrapper {
        width: 50% !important;
        text-align: left !important;
    }
    #sec2 .text-wrapper #title {
        position: relative;
        left: 0px;
        text-align: left !important;
    }
    #sec3 {
        height: 100% !important; 
    }
    #sec3 .text-wrapper {
        text-align: left;
    }
    #sec3 {
        height: 100%;
    }
    #sec4 {
        height: 50%;
    }
    .footer .content.centered.flex.row {
        width: 80% !important;
        align-items: flex-start;
    }
    #sec5 {
        height: 50%;
    }
    #sec5 .content.centered.flex.col {
        justify-content: center;
    }
    #sec5 .title, #sec5 p {
        text-align: center !important;
    }
}