
@font-face{
    font-family: 'Asap-Regular';
    src: url("fonts/Asap-Regular.otf");
    font-family: LucidaSans-Italic;
    src: url(assets/LucidaSans-Italic.ttf);
    font-family: MyriadPro-Regular;
    src: url("fonts/assets/MyriadPro-Regular.ttf");
    font-family: OpenSans;
    src: url("fonts/assets/OpenSans.ttf");
    font-family: PTSans-NarrowBold;
    src: url("fonts/assets/PTSans-NarrowBold.ttf");
    font-family: PTSans-Regular;
    src: url("fonts/assets/PTSans-Regular.ttf");
    font-family: SegoeUI;
    src: url("fonts/assets/SegoeUI.ttf");
    font-family: SegoeUI-Bold;
    src: url("fonts/assets/SegoeUI-Bold.ttf");
    font-family: SegoeWP;
    src: url("fonts/assets/SegoeWP.ttf");
    font-family: SegoeWP-light;
    src: url("fonts/assets/SegoeWP-light.ttf");*/
}
/*SECTION 1 INTRO*/
body {
    width: 1300px;
    margin: 0 auto;
}

.intro{
    background-image: url(assets/intro.png); 
    height: 572px;
    position: relative;
    z-index: 1;
}

header{
    display: flex;
    justify-content: space-between;
}

.logo{   
    margin:  14px 6px 0px 147px;
    display: flex;
}

.logo img{
    width: 80px;
    height: 80px;
    margin-top: 18px;
    margin-left: -6px;
}

.logo h1{
    color: #ffffff;
    display: inline-block;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 41px;
    font-style: oblique;
    font-weight: lighter;
} 

nav{
    margin-right: 139px;
}

.shadow-back, .shadow-middle {

    background-color: #F5C506;
    opacity: 0.5;
    width: 451px;
    height: 42px;

}

.shadow-back{
    position: relative;
    z-index: 0;
    margin-top: -45px;
    margin-left: -8px;

}

.shadow-middle{
    position: relative;
    z-index: 1;
    margin-top: -46px;
    margin-left: -4px;

}

.nav-top{
    color: #9e8008;
    background-color: #F5C506;
    position: relative;
    z-index: 2;
    display: flex;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 451px;
    height: 42px;
    margin-top: 71px;
    margin-right: 2px;
}

a{
    text-decoration: none;
    color:  #9e8008;
}


nav img{
    width: 20px;
    height: 20px;
}

.about-img{
    padding: 12px 11px 0px 37px;
}

.services-img{
    padding: 11px 8px 0px 15px;
}

.contact-img{
    width: 25px;
    padding: 11px 8px 0px 15px;
}

nav p{
    margin-top: 10px;
    margin-right: 22px;
    font-size: 17px;
    font-weight: 400;
}

nav hr{
    background-color: #9e8008;
    border: none;
    width: 1px;
    height: 42px;
    margin: 0px;
    opacity: 0.5;
}

.presentation {
    display: flex;
}

.presentation button{
    background-color: #F5C506;
    width: 33px ;
    height: 58px ;
    border: none;
    margin-top: 161px;
}

.desktop-preview{
    width: 579px;
    height: 327px;
    margin-top: 30px;
    margin-left: 102px;
}
.mobile-preview{
    display: none;
}
.presentation div{
    margin: 98px 129px 0px 31px;
}

.presentation h2{
    font-size: 63px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    text-align: center;
    margin: 0px;
}

.presentation h2:nth-child(2){
    color: white;
    margin-top: -5px;
    margin-left: 2px;
}

.presentation h2:nth-child(1){
    color: #F5C506;
}

/*SECTION 2 ICONS*/

#icons{
background-image: url(assets/icon-area.png); 
height: 192px;
display: flex;
align-items: center;
justify-content: center;
}

#icons hr{
    position: relative;
    z-index: 0;
    background-color: gray;
    border: none;
    width: 1.2px;
    height: 237px;
    opacity: 0.2;
    margin: 0px;
}

figure{
    text-align: center;
    margin: 56px 122px 0px 73px;
}

.customise{
    margin-bottom: 24px;
}

.itsfree{
    margin-bottom: 12px;
}

#icons figcaption{
    font-size: 27px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 100;
}

/*SECTION 3 CALENDAR*/

#carousel{
    position: relative;
    display: flex;
    background-image: url("assets/calendar.jpg");
    height: 509px;
    margin-top: 22px;
    box-shadow: 0px 3px 0px #888, 0px -3px 0px #888;
}

.calendar{
    margin-left: 140px;
    margin-top: -25px;
}

.calendar h4{
    font-size: 38px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 300;
    color: white;
    margin-bottom: 31px;
}

.events{
    display: flex;
}

.paragraph, .twitter{
    background-color: #ec9e03;
    height: 233px;
}

.paragraph{
    width: 341px;
}

.video-text, .twitter p{
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 29px;

}

.video-text{
    margin: 15px 0px 0px 27px;
}

.video-text-mobile{
    display: none;
}

.description-plus{
    margin-left: 310px;
    margin-top: 12px; 
}

video{
    height: 233px;
}

.twitter{
    margin-left: 33px;
    width: 329px;
}

.twitter-bird{
    margin-left: 77px;
    margin-top: 59px;
}

.twitter-plus{
    margin-left: 310px;
    margin-top: 12px;
}

.twitter-plus:hover, .description-plus:hover{
    content: url('assets/plus_hover.png');
}

.twitter p{
    margin-left: 280px;
    margin-top: -218px;
    font-weight: 100; 
}

.twitter-mobile{
    display: none;
}
.date{
    background-color: #c18000;
    opacity: 0.5; 
    width: 113px;
    height: 86px; 
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.date :first-child{
    color: white;
    opacity: 1;
    font-size: 51px;
    margin: 0px;
    font-weight: 800;
}

.date :last-child{
    color: #B26529;
    font-size: 21px;
    margin: -13px;
}

.slider-line{
    margin-top: 40px;
    margin-left: 73px;
}

/*SECTION 4 - ADAPTIVE*/

#adaptive {
    background-color: #4c4c4c;
    height: 499px;
    margin-top: -41px;
}

h3 {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 43px;
    font-weight: 300;
    color: #F5C506;
    padding: 21px 0 0 355px;
}

.devices {
    display: flex;
    position: relative;
}

#adaptive button {
    width: 116px; 
    height: 116px;
    background: #f5c506;
    color: white;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    border: none;
    border-radius: 50%;
    margin-top: -34px;
    margin-left: 137px;
    position: relative;
    z-index: 1;
}

.displays{
    display: flex;
}

.monitor {
    width: 323px; 
    height: 255px;
    position: relative;
    margin-top: 8px;
    margin-left: -94px;
    z-index: 0;
}

.tablet {
    width: 129px; 
    height: 173px;
    margin-top: 53px;
    margin-left: 24px;
}

.phone {
    width: 39px; 
    height: 63px;
    margin-top: 161px;
    margin-left: 24px;
}

ul {
    margin: 50px 50px 0 73px;
}

li {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 22px;
    color: #f5c506;
    margin-bottom: 10px;
}

span {
    color: #A9A9A7;
}

/*FOOTER*/

footer {
    background-color: #4c4c4c;
    height: 64px;
    margin-top: -19px;
}

footer hr {
    height: 4px;
    opacity: 0.5;
    background-color: black;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    border: none;
}

.logomini {
    display: flex;
}

.logomini img {
    width: 51px;
    height: 51px;
    padding-left: 141px;
}

footer h5 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 28px;
    font-style: oblique;
    color: white;
    margin-top: 3px;
    margin-left: 5px;
}

@media screen and (max-width: 640px) {

    /*SECTION 1 - INTRO*/

    body{
        width: 640px;
    }
    .intro{
        height: 388px;
    }
    
    .logo {
        background-color: #494949;
        width: 186px;
        height: 62px;
        margin: 0px;
    }
    .logo h1{
        margin: 0px;
        font-size: 20px;
        margin-top: 16px;
    }
    .logo img{
        width: 38px;
        height: 38px;
        margin: 12px 8px 0px 12px;
    }
    header{
        justify-content: flex-start;
    }
    .shadow-middle, .shadow-back{
        display: none;
    }

    nav{
        margin: 0px;
    }

    .nav-top {
        margin: 0px;
        height: 62px;
    }
    .nav-top img{
        margin-top: 8px;
        margin-left: 5px; 
    }
    .nav-top p{
        margin-top: 18px;
        font-size: 15px; 
    }
    .nav-top hr{
        height: 62px;
        width: 1.2px;
    }
    .presentation{
        display: flex;
    }
    .presentation button{
        display: none;
    }
    .desktop-preview{
        display: none;
    }
    
    .presentation div{
        display: none;
    }

    .mobile-preview{
        display: block;
        width: 640px;
        height: 327px;
    }

    /*SECTION 2 - ICONS*/

    #icons{
        width: 641px;
        height: 159px;
        justify-content: center;

    }
    .better-design img{
        width: 90px;
        height: 62px;
    }
    .customise img{
        width: 70px;
        height: 68px;
    }
    .itsfree img{
        width: 70px;
        height: 69px;
    }
    #icons figcaption{
        font-size: 23px;
        width: 155px;
        margin: 0px;
    }

    #icons figure{
        margin: 18px 28px 0px 31px;
    }

    /*SECTION 3 - CAROUSEL */

    #carousel{
        width: 640px;
        height: 474px;
        background: none;
        position: relative;
        z-index: 0;

    }

    .calendar h4, .date, .slider-line, .twitter-plus, .twitter p {
        display: none;
    }

    .calendar {
        margin: 0px;
    }

    .paragraph{
        width: 299px;
        height: 232px;
        margin-right: 7px;
    }

    .events{
        margin-left: 12px;
        display: flex;
    }

    .video-text{
        display: none;
    }

    .video-text-mobile{
        display: block;
        margin: 19px 0px 0px 25px;
        color: white;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-size: 28px;
        font-weight: 100;
        line-height: 1.2;
    }

    .twitter{
        display: none;
    }

    .twitter-mobile{
        display: flex;
        margin-top: 10px;
        height: 242px;
        background-color: #F5C507;
    }

    .twitter-bird{
        margin-top: 59px;
        margin-left: 85px;
        width: 163px;
        height: 134px;
    }

    .twitter-mobile p{
        color: #8F8E8E;
        width: 257px;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 13px;
        margin-left: -258px;
        margin-top: 25px;
    }

    .bubbles{
        margin-top: 23px;
        margin-left: 78px;
        width: 285px;
    }

    .bubbles img{
        margin-bottom: 5px;
    }

    .bubbles form{
        display: flex;
    }
    input{
        margin-top: 10px;
        margin-left: 12px;
        width: 204px;
        height: 29px;
        border: 0;
        border-radius: 9px;
    }
    .bubbles button{
        margin-left: -9px;
        margin-top: 10px;
        border-radius: 0px 10px 10px 0px;
        background-color: #DA9916;
        border: 1px;
        font-size: 15px;
        color: #fff;
        height: 32px;
        width: 70px;
    }
    #adaptive{
        position: relative;
        z-index: 1;
        width: 640px;
        height: 465px;
    }
    #adaptive h3{
        padding: 26px 0px 0px 22px;
    }

    .displays{
        margin-top: 18px;
        margin-left: -103px;
    }

    ul {
        display: none;
    }

    /*FOOTER*/

    footer {
        margin-top: -8px;
        width: 640px;
    }

    .logomini img {
        width: 35px;
        height: 30px;
        padding-top: 0px; 
        padding-left: 64px;
    }

    .logomini h5{
        font-size: 16px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }
}