/* Full Screen */

/* pertaining to the background */
body {
    background-color: rgb(77, 73, 73);
}
/* pertaining to the header */


header {
    background-color: rgb(20, 3, 3);
    width: 100%;
}
.opener {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}
.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 60%;
}

.title img {
    max-width: 95%;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 10%;
    margin-top: 1%;
    margin-bottom: 1%;
    margin-left: 1%;
}
.logo img{
    max-width: 100%;
}


nav {
    margin-top: 3%;
    margin-bottom: auto;
    margin-right: 3%;
}

.menu {
    background-color: rgb(204, 198, 198);
    color: white;
    font-size: 1.5rem;
    border-radius: 10px;
    padding: 11px 25px;
    width: 100px;
    text-align: center;
    display: inline-block;
    position: relative; 
    z-index: 99;  
}

.menu a {
    color: rgb(8, 8, 8);
    text-decoration: none;
}
.dropdown {
    display: none;
    position: absolute;
    padding-top: 20px;
    margin-left: -25px;
    z-index: 99;
}
.menu:hover .dropdown {
    display: block;

}
.dropdown .menu {
    margin-top: 10px;
  
}
.menu:hover {
    background-color: rgb(198, 238, 180);
    transition-duration: 0.5s;
    text-decoration: none;
}


/* pertaining to the main */
main {
    background-color: rgb(77, 73, 73);
    width: 100%;
}
.lead {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 50px;
    text-align: center;
    font-size: 3rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: rgb(37, 207, 79);
}
.boxes {
    background-color: rgb(104, 105, 105);
    max-width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
.stack {
    display: block;
    margin-bottom: 10px;
}
.name {
    margin-bottom: 20px;
}
.email {
    margin-bottom: 20px;
}
.phone {
    margin-top: 20px;
    margin-bottom: 20px;
}
.text {
    margin-bottom: 20px;
}
.showmobile {
    display: none;
}
.company {
    margin-bottom: 20px;
}
.contact {
    margin-bottom: 20px;
}
.country {
    margin-bottom: 20px;
}
.phonemargine {
    margin-right: 20px;
}

input[type=text] {
    padding: 5px 20px;
    width: 30%;
}
input[type=email] {
    padding: 5px 20px;
    width: 30%;
}
input[type=phone] {
    padding: 5px 20px;
    width: 30%;
}
textarea {
    padding: 12px 20px;
    width: 75%;
}

input[type=submit] {
    width: 25%;
    padding: 5px 20px;
}

.phoneus {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.phoneus h1 {
    font-size: 6rem;
    margin-top: 10px;
    margin-bottom: 20px;
}
.phoneus h2 {
    margin-top: 30px;
    font-size: 4rem;
}
.phoneus1 {
    background-color: rgb(204, 198, 198);
    color: rgb(7, 6, 6);
    font-size: 1.5rem;
    border-radius: 10px;
    padding: 11px 25px;
    width: auto;
    text-align: center;
    display: inline-block;
    position: relative; 
}
.phoneus1 a {
    text-decoration: none;
    color: black;
}
.phoneus1:hover {
    background-color: rgb(198, 238, 180);
    transition-duration: 0.5s;
}


/* Pertaining to the Footer */

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

.social-media {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 75%;
    margin-top: 50px;
}
.social-media img {
    width: 100%;
}

.legal {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 60%;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 1rem;
}


/* Surface 7 pro sideways */

@media (max-width: 1368px) {

    .menu {
        width: 90px;
        font-size: 1.4rem;
    }

}





/* Nest Hub Max*/

@media (max-width: 1280px) {

    .menu {
        width: 80px;
        font-size: 1.3rem;
    }
}









/* ipad air sideways */

@media (max-width: 1180px) {

.menu {
    width: 70px;
    font-size: 1.2rem;
}
    
}










/* Nest Hub and ipad mini sideways */

@media (max-width: 1024px) {
    .menu {
        width: 60px;
        font-size: 1.1rem;
    }
    .social-media img {
        width: 85%;
    }
    
}









/* Samsung Galaxy A51/71 Sideways and Surface Pro7 and Samsung Galaxy S20 Ultra */

@media (max-width: 915px) {
    .menu {
        width: 50px;
        font-size: 1rem;
    }

}






/* Nest Hub Max Sideways */

@media (max-width: 800px) {
    .menu {
        width: 40px;
        font-size: 0.9rem;
    }
    .social-media img {
        width: 75%;
    }
}






/* Surface Duo Sideways */

@media (max-width: 720px) {
    .menu {
        width: 30px;
        font-size: 0.7rem;
    }
  
}







/* iphone SE Sideways */

@media (max-width: 667px) {

    .lead {
        font-size: 2rem;
    }
}










/* Galaxy Fold Sideways */

@media (max-width: 653px) {




}


/* Nest Hub Sideways*/

@media (max-width: 600px) {

}










/* Surface Duo */

@media (max-width: 540px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .opener {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 90%;
    }
    nav {display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        }
    .menu {
        width: 80%;
        font-size: 1.5rem;
    }

    .logo {
        margin-top: 10px;
        max-width: 50%;
    }
    .logo img {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hidemobile {
        display: none;
    }
    nav .menu  {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .menu:hover .dropdown {
        width: 80%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: 20px;
        margin-left: 8px;
    
    }
    .phoneus h1 {
        font-size: 4rem;
    }
    .phoneus h2 {
        font-size: 2rem;
    }
    .phoneus1 {
        font-size: 1rem;
    }
    
    .legal {
        font-size: .5rem;
    }

}









/* Unknown */

@media (max-width: 480px) {

    .menu {
        font-size: 1.4rem;
    }

}








/* iphone XR */

@media (max-width: 414px) {

    .menu {
        font-size: 1.3rem;
    }
}






/* Samsung Galaxy S8+ */

@media (max-width: 360px) {

    .menu {
        font-size: 1.2rem;
    }
}






/* Galaxy Fold  */

@media (max-width: 280px)  {

    .menu {
        font-size: 1.1rem;
    }
}
