@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat&family=Ysabeau+Office:ital,wght@1,1&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
    font-family: "Montserrat", sans-serif;
}

/* ############################################## SECTION 1 ######################################### */

.section1{
    background: linear-gradient( rgba(4,9,30,0.6), rgba(4,9,30,0.6)),url('../Images/product1.jpg');
    width: 100%;
    height: 100%;
    text-align: center;
    background-size: cover;
    min-height: 25vh;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.section1 .topic h1{
    font-family: "Montserrat",sans-serif;
    color: white;
    font-size: 62px;
    font-weight: 1000;
}

.section1 .para p{
    padding-top: 1rem;
    color: white;
    font-size: 19px;
    letter-spacing: 0.1px;
    line-height: 35px;    
}

@media (max-width: 900px){
    .section1 .topic h1{
        font-size: 35px;  
    }

    .section1 .para p{
        font-size: 14px;
        padding: 8px 20px;
        line-height: 23px;
    }
}

@media (max-width: 700px){
    .section1 .topic h1{
        font-size: 33px;  
    }

    .section1 .para p{
        font-size: 12px;
    }
}

/* ############################################## SECTION 2 ######################################### */

.section2{
    
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.section2 .wrapper{
    width: 80%;
    margin: 2rem 0;
}

.section2 .wrapper #search-container{
    margin: 1rem 0;
}

.section2 .wrapper #search-container input[type="search"]{
    background-color: white;
    width:82%;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    border: 2px solid rgb(54, 145, 230);
    font-size: 17px;
    box-shadow: 0px 1px 5px rgba(0,0,0,0.2);
    float: left;
}

.section2 .wrapper #search-container input[type="search"]:focus {
    border: none;
}

.searchbox{
    position: relative;
    padding: 0;
    margin: 0;
}

.searchbox .autosugges{
    padding: 0px;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    max-height: 15rem;
    background: #ffffff;
    position: absolute;
    left: 0;
    top: 3.5rem;
    width: 80%;
    z-index: 2;
}

.searchbox.active .autosugges{
    padding: 10px 8px;
    opacity: 1;
    pointer-events: auto;
}

.autosugges li{
    list-style: none;
    text-align: left;
    font-size: 14px;
    padding: 8px 12px;
    width: 95%;
    cursor: default;
    border-radius: 3px;
    display: none;
}

.searchbox.active .autosugges li{
    display: block;
}

.autosugges li:hover{
    background: #efefef;
}

.section2 .wrapper #search-container button{
    width: 15%;
    margin-left: 2%;
    padding:0.8rem 1rem;
    border-radius: 2rem;
    background-color:rgb(54, 145, 230);
    border: 1px solid white;
    color:white;
    font-size: 17px;
    letter-spacing: 0.6px;
    font-weight: 700;
    position: absolute;
    top: 0;
    right: 0;

}

#search-container button i{
    font-size: 17px;
    margin-right: 10px;
}

.section2 .wrapper #search-container button:hover{
    transition: 0.2s;
    background: linear-gradient(to bottom left, rgb(8, 181, 255), rgb(13, 9, 153));
    color: white;
} 

.section2 .nav{
    position: relative;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    text-align: center;
    justify-items: center;
}

.section2 .nav input[type="button"]{
    background-color:rgb(54, 145, 230);
    font-size:17px;
    height: 50px;
    width: 100%;
    border-radius: 2rem;
    border:none;
    letter-spacing: 0.5px;
    color: white;
    display: inline-block;
    width: 20%;
    margin: 0 1.4rem;
}

.section2 .nav .OA_dropdown input[type="button"]{
    background-color:rgb(192,32,51);
    font-size:17px;
    height: 40px;
    width: 15%;
    margin: 0 0.5rem;
    border-radius: 2rem;
    border:none;
    letter-spacing: 0.5px;
    color: white;
}

.section2 .nav .OA_dropdown input[type="button"]:nth-child(1),
.section2 .nav input[type="button"]:nth-child(1){
    margin-left: 0;
}

.section2 .nav input[type="button"]:hover{
    background: linear-gradient(to bottom left, rgba(0, 119, 255, 0.908), rgb(13, 9, 153));
    box-shadow: 1px 1px 10px rgba(0, 166, 255, 0.908);
    color: white;
}
.section2 .nav .OA_dropdown input[type="button"]:hover{
    background: linear-gradient(to bottom left, rgba(255, 0, 0, 0.908), rgb(153, 9, 9));
    box-shadow: 1px 1px 10px rgba(255, 0, 34, 0.908);
    color: white;
}

.section2 .nav .horiz{
    margin: 1rem auto;
    border: 1px solid rgba(65, 49, 168, 0.5);
    background-color: rgba(65, 49, 168, 0.5);
    width: 95%;
}

.section2 .nav .OA_dropdown{
    display: flex;
    text-align: left;
    width: 90%;
    margin: auto;
}

.section2 .nav #OA_dropdown,
.section2 .nav #AM_dropdown,
.section2 .nav #AC_dropdown{
    display: none;
}

@media(max-width: 900px){
    .section2 .wrapper #search-container input[type="search"]{
        width:70%;
        font-size: 12px;
        padding: 0.75rem 1rem;
    }

    .section2 .wrapper #search-container button{
        width: 32%;
        font-size: 12px;  
        left: 72%;
    }

    #search-container button i{
        font-size: 12px;
        margin-right: 0;
    }

    .section2 .nav input[type="button"]{
        display: none;
    }

    .section2 .nav .horiz{
        display: none;
    }

    .section2 .wrapper{
        margin: 1.2rem 0 0 0;
    }
    
    .section2 .wrapper #search-container{
        margin: 0;
    }
}

/* ############################################## SECTION 3 ######################################### */

.section3,
.section4{
    width: 100%;
    margin: 0 auto;
}

.section3 .row,
.section4 .row{
    display: block;
    margin: auto;
    width: 100%;
    padding: 2% 0;
    margin-bottom: 3%;
    align-items: center;
    text-align: center;
}

.section3 .row h1,
.section4 .row h1{
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 0;  
}

.section3 .row p,
.section4 .row p{
    color: #777;
    font-size: 15px;
    font-weight: 300;
    line-height: 22px;
    padding: 5px 0;
}

.section3 .category,
.section4 .category{
    margin: 0 2%;
    padding: 2%;
    border-radius: 1rem;
}

.section3 .row h2,
.section4 .row h2{
    text-align: left;
    padding:0 3.5% 2% 3.5%;
    font-size: 25px;
    color: #4c4646;
}

.section3 .row .column,
.section4 .row .column{
    display: flex;  
    justify-content:flex-start;
    width: 93%;
    margin:0 auto;
    text-align: center;
    align-items: center;
}

.section3 .row .column .box,
.section4 .row .column .box{
    text-decoration: none;
    display: inline;
    position: relative;
    background-color: white;
    box-shadow: 0 10px 15px rgba(132, 139, 200, 0.35) ;
    flex-basis: 23%;
    box-sizing: border-box;
    text-align: center; 
    padding: 4% 0 5% 0;
    margin:  1%;
    height: 500px;
}

.section3 .row .column .box:nth-child(1),
.section4 .row .column .box:nth-child(1){
    margin-left: 0;
}

.section3 .row .column .box:nth-child(4),
.section4 .row .column .box:nth-child(4){
    margin-right: 0;
}

.section3 .row .column .box .boxunder,
.section4 .row .column .box .boxunder{
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 166, 255, 0.908);
    height: 5px;
    width: 100%;
}

.section3 .row .column .box img,
.section4 .row .column .box img{
    width: 200px;
    height: 200px;
}

.section3 .row .column .box h3,
.section4 .row .column .box h3{
    font-size: 20px;
    text-align: left;
    letter-spacing: 0.1px;
    margin: 15px 0 0 0;
    padding: 5% 30px;
    color: black;
}

.section3 .row .column .box p,
.section4 .row .column .box p{
    color: #777;
    text-align: left;
    font-size: 15px;
    font-weight: 300;
    margin: 0 0 40px 0;
    padding: 0 0 0 30px;
}

.section3 .row .column .box a,
.section4 .row .column .box a{
    text-decoration: none;
    color: white;
    border: 2px solid rgba(0, 166, 255, 0.8);
    margin: 20px auto;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 166, 255, 0.8);
}

.section3 .row .column .box a:hover,
.section4 .row .column .box a:hover{
    background-color: rgb(26, 20, 201);
}

.section3 .row .column .box a:hover ~ .boxunder,
.section4 .row .column .box a:hover ~ .boxunder{
    background-color: rgb(26, 20, 201);
}

.notfoundimg{
    height: 200px;
    width: 200px;
}

.notfoundtitle{
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    line-height: 50px;
}

@media(max-width: 900px){
    .section3 .row .column,
    .section4 .row .column{
        flex-direction: column;
    }

    .section3 .row .column .box img,
    .section4 .row .column .box img{
        margin-left: 15px;
    }

    .box .sub-box{
        display: flex;
        align-items: center;
        padding: 0 0 30px 0;
        justify-content: flex-start;
    }

    .section3 .row h1,
    .section4 .row h1{
        padding: 0 10px;  
    }

    .section3 .row .column .box .boxunder,
    .section4 .row .column .box .boxunder{
        left: 0;
        width: 5px;
        height: 100%;
    }

    .section3 .row .column .box,
    .section4 .row .column .box{
        margin-bottom: 30px;
        width: 92%;
        padding: 30px 15px 50px 15px;
    }
}

@media(max-width: 700px){
    .section3 .row .column,
    .section4 .row .column{
        flex-direction: column;
    }

    .box .sub-box{
        flex-direction: column;
    }

    .section3 .row h1,
    .section4 .row h1{
        font-size: 32px; 
    }

    .section3 .row p,
    .section4 .row p{
        font-size: 12px;
        padding: 5px 20px 30px;
    }

    .section3 .row h2,
    .section4 .row h2{
        font-size: 20px;
    }

    .section3 .row .column .box h3,
    .section4 .row .column .box h3{
        font-size: 18px;
    }

    .section3 .row .column .box p,
    .section4 .row .column .box p{
        font-size: 14px;
    }

    .section3 .row .column .box a,
    .section4 .row .column .box a{
        margin: 20px 0 40px 0;
    }

    .section3 .row .column .box .boxunder,
    .section4 .row .column .box .boxunder{
        bottom: 0;
        width: 100%;
        height: 5px;
    }
}
    
