/* the variables */

:root {
    --main-color: #000000;
    --section-padding: 60px;

}

/* the end for variables*/





/* glopal rules*/
* {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

body {
    background-image: url(images/backgroundPattern.jpg);
    
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
    font-variation-settings:
      "slnt" 0;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    
}


.cairo-font{

}

/* small */

@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* medium */
@media (min-width: 992px) {
    .container {
        width: 970px
    }
}

/* large */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}


.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}
.mark{
    color: yellow;
}

/* the end for glopal rules */

/* start components */
.special-heading {
    color: rgb(255, 255, 255);
    font-size: 80px;
    text-align: center;
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
}

.landing .special-p {
    margin: -30px 0 0px;
    font-weight: 700;
    font-size: 17px;
    white-space: nowrap;
    text-align: center;
    color: rgb(255, 255, 255);

}



@media (max-width: 768px){
    .special-heading{
        font-size: 60px;
    }
    .special-p{
        font-weight: 800;
        margin: -20px;
    }
}

/* the end of compenents */




/* header */

.header {
    padding: 20px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header .logo {
    width: 150px;
}

.header .links {
    position: relative;
}

.header .links:hover .icon span:nth-child(2) {
    width: 100%;
}

.header .links:hover ul {
    display: block;
}

.header .links .icon {
    width: 30px;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.header .links .icon span {
    background-color: #cacfeb;
    margin-bottom: 5px;
}

.header .links .icon span:first-child {
    width: 100%;
    height: 2px;
}

.header .links .icon span:nth-child(2) {
    width: 50%;
    height: 2px;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.header .links .icon span:last-child {
    width: 100%;
    height: 2px;
}



.header .links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #1f1f1f;
    position: absolute;
    right: 0;
    min-width: 200px;
    top: calc(100% + 15px);
    display: none;
    z-index: 1;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.header .container .links ul:before {
    content: "";
    position: absolute;
    border: 10px solid red;
    border-color: transparent transparent #1f1f1f transparent;
    right: 5px;
    top: -20px;
}

.header .links ul li a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: white;
    transition: .3s;
    border-bottom: 1px solid #333;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
}

.header .links ul li a:hover {
    padding-left: 10px;
}


/* the end of header*/


/* the landing */
.landing {
    background-size: cover;
    height: calc(100vh - 90px);
    position: relative;
}
.landing img {
    width:97vw;
    
}
/* special height for pc */
/* still shit width in pc 😥 */
@media (min-width: 768px) {
    .landing img {
        height:50vh;
    }
}
.landing .intro-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, 40%);
    -webkit-transform: translate(-50%, 40%);
    -moz-transform: translate(-50%, 40%);
    -ms-transform: translate(-50%, 40%);
    -o-transform: translate(-50%, 40%);
}
@media (min-width: 768px) {
    .landing .intro-text{
        transform: translate(-50%, 100%);
        -webkit-transform: translate(-50%, 100%);
        -moz-transform: translate(-50%, 100%);
        -ms-transform: translate(-50%, 100%);
        -o-transform: translate(-50%, 100%);
}
}


.landing .intro-text p {
    
    line-height: 1.38;
    text-align: center;
}

/* the end of landing */




/* start menu */

.menu {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    
}
.menu-content {
    display: grid;
    grid-template-rows: repeat(auto-fill,minmax(300px,1fr));
    gap: 20px;
    margin-top: 80px;
}



.menu-content .card {
    
    
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
@media (max-width: 768px){
    .menu-content .card{
        
        background-color:rgb(38 39 45);
    }
}
.menu-content .card img{
    margin: 10px;
    width: 40vw;
    height: 50vh;
    max-width: 100%;

}
@media (max-width: 768px){
    .menu-content .card img{
        
        width: 100vw;
    }
}
.card .info{
    padding: 20px;
}

.card .info h3{
    margin: 0;
    color: #ffffff;
}

.card .info p{
    color: #000000;
    line-height: 1.8;
    margin-bottom: 0;
}
/* the end of menu */




/* start location */

.location {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
    
}
.location-content {
    display: grid;
    grid-template-rows: repeat(auto-fill,minmax(300px,1fr));
    gap: 20px;
    margin-top: 80px;
}

.location-content .card {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.card img{
    max-width: 100%;

}
.card .info{
    padding: 20px;
}

.card .info h3{
    font-size: 17px;
    white-space: nowrap;
    margin: 0;
}

.card .info p{
    color: #ffffff;
    line-height: 1.8;
    white-space: nowrap;
    margin-bottom: 0;
}

/* the end of location */




/* start portfolio */

.portfolio {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}
.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 20px;
    margin-top: 80px;
}

.portfolio-content .card {
    background-color: rgba(0, 0, 0, 0.318);
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.portfolio-content .card a{
    text-decoration: none;
    color:rgb(255 236 0);
    margin-left: 10px;
    margin-right: 10px;
}
.card img{

    margin-top: 10px;
    height: 20vh;
}
.card .info{
    padding: 20px;
}

.card .info h3{
    margin: 0;
    text-align: center;
}
.card .info p{
    text-align: center;
}



/* the end of portfolio */









