/* Start Global Variables  */
:root {
    --main-color : red;
}
/* End Global Variables  */

/* Start Global Rules */
*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #f9f4e8;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

ul {
    list-style: none;
}

ul li a {
    text-decoration: none;
}

/* Small  devices */
@media (min-width: 576px) {
    .container {
        width: 550px;
    }
}

/* Medium  devices */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* Large devices  */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

/* X-Large devices */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}
/* End Global Rules */

/* Start Nav */
nav {
    margin-bottom: 180px;
    margin-top: 50px;
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .container .left {
    display: flex;
    align-items: center;
}

nav .container .left a {
    margin-left: 15px;
    padding: 8px 14px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    background-image: linear-gradient(328deg, rgba(234,94,112,1) 0%, rgba(234,175,82,1) 100%);
    text-decoration: none;
    letter-spacing: 0.1px;
    word-spacing: 2px;
    min-width: 9rem;
    transition: background 500ms ease;
}

nav .container .left a:hover {
    background: linear-gradient(460deg, #ea5e50 0%, #eaaf42 100%);
}

nav .container .left img {
    cursor: pointer;
}

nav .container .center {
    display: flex;
    align-items: center;
}

nav .container .center .toggle-menu {
    display: none;
    cursor: pointer;
    transition: all 100ms ease;
}

nav .container .center .toggle-menu:hover {
    color: black;
}

nav .container .center ul{
    display: flex;
    gap: 3rem;
}

nav .container .center ul li a {
    color: #5a5959;
    font-weight:600;
    font-size: 16px;
    transition: all 200ms ease;
}

nav .container .center ul li a:hover {
    color: black;
}

nav .container .right {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

nav .container .right a {
    text-decoration: none;
    font-weight: 600;
    color: #5a5959;
    transition: all 200ms ease;
}

nav .container .right a:hover{
    color: black;
}

nav .container .right .btn {
    background-color: #4977ea;
    color: #f7f9fe;
    padding: 14px 12px;
    border-radius: 5px;
    transition: all 200ms ease;

}

nav .container .right .btn:hover {
    background-color: #4941ea;
    color: white;
}

nav .container .center .toggle-menu {
    color: #5a5959;
    font-size: 26px; 
}

@media (max-width: 992px) {
    nav .container {
        justify-content: space-between;
        gap: 200px;
    }
    nav .container .center ul{
        display: none;
    }
    
    nav .container .center .toggle-menu {
        display: flex;
    }

    nav .container .center .toggle-menu:hover + ul {
        display: flex;
        position: absolute;
        flex-direction: column;
        top: 5.5rem;
        width: 90%;
        right: 1rem;
        background-color: #f9f4e8;
        box-shadow: 0px 0px 12px 2px #68645957;
        z-index: 5;
        border: 1px solid #5a59594f;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
    }

    nav .container .center .toggle-menu:hover + ul li{
        height: 5rem;
        display: flex;
        align-items: center;
    }

    nav .container .right {
        display: none;
    }
}

@media (max-width: 547px) {
    nav .container {
        justify-content: space-between;
        gap: 100px;
    }
}

@media (max-width: 420px) {
    nav .container {
        justify-content: space-between;
        gap: 50px;
    }
}
@media (max-width: 370px) {
    nav .container {
        justify-content: space-between;
        gap: 30px;
    }
}
/* End Nav */

/* Start Hero */

.hero .container{
    display: felx;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12rem;

}

.hero .container .col-1 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero .container .col-1 h1 {
    font-size: 3rem;
    font-weight: 900;
    width: 60%;
    cursor: pointer;
}

.hero .container .col-1 p {
    line-height: 1.5rem;
    font-weight: 600;
    color: #5a5959;
    width: 60%;
}

.hero .container .col-1 img{
    border-radius: 100%;
    width: 1.5rem;
    cursor: pointer;
}

.hero .container .col-1 .email {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero .container .col-1 .email input {
    background-color: #ffffff;
    border: none;
    height: 3rem;
    width: 18rem;
    padding-left: .8rem;
    padding-right: .8rem;
    color: rgb(90, 89, 89);
    font-weight: 700;
    outline: 2px solid #5a595926;
    transition: all 200ms ease;
}

.hero .container .col-1 .email input:focus {
    outline: 2px solid #5a595970;;
}

.hero .container .col-1 .email input::placeholder {
    font-weight: 600;
    color: rgba(90, 89, 89, 0.652);
}

.hero .container .col-1 .email a {
    background-color: #4977ea;
    color: #f7f9fe;
    padding: 14px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 200ms ease-in-out;
}

.hero .container .col-1 .email a:hover {
    background-color: #4941ea;
    color: white;
}

.hero .container .col-1 .spam {
    display: flex;
    gap: .6rem;
}

.hero .container .col-1 .spam p {
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.hero .container .col-2 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container .col-2 img  {
    width: 340px;
}


.hero .container .col-2 .img-one{
    z-index: 4;
    transition: all 500ms ease;
}

.hero .container .col-2 .img-two {
    position: absolute;
    transform: rotate(-10deg);
    z-index: 3;
    transition: all 400ms ease;
}

.hero .container .col-2 .img-three {
    position: absolute;
    transform: rotate(-20deg);
    z-index: 2;
    transition: all 400ms ease;
}

.hero .container .col-2 .img-four {
    position: absolute;
    transform: rotate(-30deg);
    transition: all 400ms ease;
}

.hero .container .col-2:hover .img-one{transform: rotate(5deg);}

.hero .container .col-2:hover .img-two{transform: rotate(-10deg);}

.hero .container .col-2:hover .img-three{transform: rotate(-25deg);}

.hero .container .col-2:hover .img-four{transform: rotate(-40deg);}

@media (max-width: 992px) {
    nav {
        margin-top: 30px;
        margin-bottom: 100px;
    }
    .hero .container {
        flex-direction: column-reverse;
    }
    .hero .container .col-2 img{
        width: 280px;
    }
    .hero .container .col-1 h1 {
        width: 85%;
    }
    .hero .container .col-1 p {
        width: 100%;
    }
    .hero .container .col-2 {
        padding-bottom: 3rem;
    }
}

@media (max-width: 519px) {
    nav {
        margin-top: 20px;
        margin-bottom: 4rem;
    }
    .hero .container .col-1 h1 {
        font-size: 2rem;
    }
    .hero .container .col-1 p {
        font-size: 0.9rem;
    }
    .hero .container .col-2 img{
        width: 250px;
    }
    .hero .container .col-1 .email {
        gap: 1rem;
    }
}

@media (max-width: 470px) {
    .hero .container .col-1 p {
        font-size: 0.8rem;
    }
    .hero .container .col-1 .email input {
        width: 15rem;
    }
}

@media (max-width: 425px) {
    .hero .container .col-1 p {
        font-size: 0.8rem;
    }
    .hero .container .col-1 .email input {
        width: 14rem;
    }
}

@media (max-width: 400px) {
    .hero .container .col-1 .email {
        flex-direction: column;
    }
    .hero .container .col-1 .email input {
        width: 100%;
    }
    .hero .container .col-1 .email a {
        width: 100%;
        text-align: center;
    }
}
/* End Hero */

/* Start Footer */
footer {
    margin-bottom: 1rem;
}

footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

footer .container .follow ul {
    display: flex;
    gap: 2rem;
}

footer .container .follow ul li a {
    color: #5a5959;
    font-weight: 600;
    transition: all 200ms ease;
}

footer .container .follow ul li a:hover {
    color: black;
}

footer .container .contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .container .contact .img {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

footer .container .contact .img img {
    opacity: 0.8;
    transition: all 400ms ease;
}

footer .container .contact .img img:hover{
    opacity: 1;
    }

footer .container .contact .text {
    line-height: 1.5rem;
    word-spacing: .1rem;
}

footer .container .contact .text .one {
    font-weight: 500;
    cursor: help;
}

footer .container .contact .text .two {
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1200px) {
    .hero .container {
        margin-bottom: 5rem;
    }
}

@media (max-width: 751px) {
    .hero .container {
        margin-bottom: 3rem;
    }
    footer .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    footer .container .contact .img img {
        width: 90%;
    }
}
/* End Footer */
