@charset "utf-8";
@import url("../webfonts/IranNastaliq/stylesheet.css");
@import url("../webfonts/Far_Nazanin/stylesheet.css");
@import url("../webfonts/B_NAZANIN/stylesheet.css");
@import url("../webfonts/Far_Titr/stylesheet.css");
@import url("../webfonts/Italianno_Regular/stylesheet.css");





*  {
    margin-top: 0px;
    padding-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
html{
		scroll-behavior: smooth;
	}
body {
    background-attachment: fixed;
    width: 100%;


    background-repeat: no-repeat;
    background-image: url(../images/jsja.jpg);
    background-repeat: no-repeat;
    background-size: 105% 101%;
    background-position: 33% 0%;
}
body::-webkit-scrollbar {
  width: 14px;              
}

body::-webkit-scrollbar-track {
  background: rgba(249,249,247,0.77);        
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(29,30,42,1.00);    
  border-radius: 20px;       
  border: 3px solid  rgba(29,30,42,1.00);  
}



header {
    width: 100%;
    height: 100px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: 1px solid rgba(0,0,0,1.00);
    font-family: "B NAZANIN";
    -webkit-box-shadow: 2px 2px 5px #4B4A4A;
    box-shadow: 2px 2px 5px #4B4A4A;
    position: fixed;
    margin-top: -130px;
    background-color: rgba(29,30,42,1.00);
    background-repeat: no-repeat;
}
.logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin-left: 40px;
    margin-top: 15px;
    margin-bottom: 15px;
    float: left;
    border: 2px solid #000000;
    animation: RotatingLogo 3s 1s;
}

header h1 {
    color: #FFFFFF;
    text-align: center;
    font-family: fredericka-the-great;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    text-shadow: 12px 10px 20px #050505;
    padding-top: 30px;
}
nav {
    width: 99%;
    text-align: right;
    float: right;
    margin-top: -70px;
}

nav ul {
    list-style-type: none;
    padding-right: 30px;
    padding-left: 0px;
}
nav ul li {
    display: inline-block;
    padding-left: 20px;
    padding-right: 20px;
}
nav ul li a {
    color: #FBFBFB;
    text-decoration: none;
    font-family: "Far Titr";
    font-weight: bold;
    font-size: 18px;
}
nav ul li a:hover{
    color: #FFFFFF;
    font-size: 22px;
}
main {
    width: calc(100% - 40%);
}
.fdiv {
    text-align: right;
    color: #000000;
    background-color: rgba(158,154,241,0.55);
    width: 99%;
    height: 130px;
    font-family: "Far Titr";
    font-size: 14px;
    border-radius: 10px;
    -webkit-box-shadow: 5px 5px 20px rgba(58,56,56,1.00);
    box-shadow: 5px 5px 20px rgba(58,56,56,1.00);
    padding-left: 10px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    margin-top: 115px;
    margin-bottom: 50px;
    margin-right: 330px;
    margin-left: auto;
}

.sdiv {
    text-align: right;
    color: #000000;
    width: 30%;
    font-family: "Far Titr";
    font-size: 15px;
    border-radius: 7px;
    -webkit-box-shadow: 5px 5px 20px rgba(0,0,0,1.00);
    box-shadow: 5px 5px 20px rgba(0,0,0,1.00);
    padding-left: 10px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    float: right;
    margin-right: 330px;
    height: 470px;
    background-color: rgba(158,154,241,0.55);
}
.sdiv ul {
    padding-right: 20px;
    float: right;
    width: 75%;
    background-image: url(url);
}
.sdiv img {
    width: 80px;
    float: left;
    background-position: 10px 0%;
}
.thirdiv  {
    width: 64%;
    min-height: 300px;
    float: none;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    font-family: "Far Titr";
    font-size: 15px;
    border-radius: 10px;
    margin-right: 710px;
    background-color: rgba(158,154,241,0.55);
    color: rgba(0,0,0,1.00);
    -webkit-box-shadow: 5px 5px 20px rgba(0,0,0,1.00);
    box-shadow: 5px 5px 20px rgba(0,0,0,1.00);
}
.fourthdiv {
    width: 99%;
    min-height: 1000px;
    background-color: rgba(158,154,241,0.55);
    text-align: right;
    font-family: "Far Titr";
    font-size: 15px;
    margin-right: 330px;
    margin-top: 50px;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    -webkit-box-shadow: 5px 5px 20px rgba(0,0,0,1.00);
    box-shadow: 5px 5px 20px rgba(0,0,0,1.00);
    border-radius: 10px;
}
#airlow {
    width: 70px;
    margin-bottom: -10px;
    float: left;
    animation: AirFlow 2s 3s;
    margin-left: 50px;
}
#light {
    width: 80px;
    float: left;
    margin-left: 50px;
    margin-bottom: -20px;
}
#light:hover {opacity: 2.1;transform: scale(2)}
#temperature {
    width: 80px;
    float: left;
    margin-bottom: -20px;
    margin-left: 50px;
}
#temperature:hover {opacity: 2.1;transform: scale(2)}
.home a  {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.63);
    border: 1px dashed rgba(0,0,0,1.00);
    position: fixed;
    bottom: 50px;
    right: 50px;
}
.home a img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    margin-top: 10px;
}




@keyframes AirFlow {
	
	0%{transform: translateX(0px)}
	50%{transform:translateX(500px) }
	100%{transform: translateX(0px)}
	
	
	
}







footer {
    width: 100%;
    height: 100px;
    display: inline-block;
    background-color: #1D1E2A;
    font-family: "B NAZANIN";
    font-size: 30px;
    text-align: center;
    border-radius: 20px;
    -webkit-box-shadow: 5px 5px 10px #000000;
    box-shadow: 5px 5px 10px #000000;
    margin-bottom: 10px;
    margin-top: 50px;
}
body footer a img {
    text-align: center;
    margin-right: 20px;
    margin-left: 20px;
    float: none;
    padding-top: 20px;
}
body footer hr {
    color: #BEC3D2;
    display: inline-block;
    width: 20%;
    margin-bottom: 30px;
}
body footer p {
    color: #FFFFFF;
    font-family: petrona;
    float: right;
    font-size: small;
    margin-top: 20px;
    margin-right: 20px;
}




@keyframes RotatingLogo { 
	0%{transform: rotate(0deg);transform: translateX(0px)}
	50%{transform: translateX(350px) rotate(180deg)}
	100%{transform: rotate(360) translateX(0px)}


}
body footer a img:hover {transform: scale(1.6);opacity: 0.6}
#watering {
    width: 80px;
    float: left;
    margin-left: 50px;
    margin-bottom: -20px;
}
