
:root {
    --background-color: rgb(21, 21, 21);
    --main-text-color: rgb(190, 190, 190);
    --main-button-color: rgb(26, 100, 116);
    --footer-text-color: grey;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica;

}
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--background-color);
    color: var(--main-text-color);
    overflow-x: hidden;
    width: 100%;
}  

img, a {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

h1 {
    font-size: 50px;
}

p {
    font-size: 18px;
}

h2 {
    font-size: 25px;
    color: var(--main-text-color);
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text-color);
    font-size: 20px;
}

a:hover {
    color: var(--main-button-color);
}

hr{
    border: 0;
    width: 90%;
    margin-left:5%;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), var(--main-text-color), rgba(0, 0, 0, 0));
    }

header {
    position: relative;
    padding: 15px;
    height: 85vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: rgb(0, 0, 0);
    /* background-image: url("img/amek.jpg"); */
    background-image: url("img/ameksw.JPEG");
    /* background-image: url(https://images.unsplash.com/photo-1485470733090-0aae1788d5af?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1517&q=80); */
}

.navbar {
    width: 100%;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar_background {
    position: fixed;
    z-index: 1;
    width: 100%;
    padding: 15px;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
} 

.navbar .logo a {
    font-size: 30px;
    font-weight: bold;
}

.navbar .logo a:hover {
    color: var(--main-text-color);
}

.navbar .links {
    display: flex;
    gap: 30px;
}

.navbar .toggle_btn {
    color: var(--main-text-color);
    font-size: 20px;
    cursor: pointer;
    display: none;
    padding: 0 10px;
}

.action_btn {
    background-color: var(--main-button-color);
    color: var(--main-text-color);
    padding: 10px 25px;
    border: none;
    outline: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: scale 0.2s ease;
}

.action_btn:hover {
    color: var(--main-text-color);
    scale: 1.05;
}

.action_btn:active {
    scale: 0.95;
}

/* DROPDOWN MENU*/
.dropdown_menu {
    display: none;
    position: fixed;
    right: 25px;
    left: 25px;
    top: 90px;
    height: 0px;
    background: rgba(0, 0, 0, 0.7);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    transition: height 0.2s;
    z-index: 10;
}

.dropdown_menu.open {
    height: 240px;
}

.dropdown_menu li {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown_menu .action_btn {
    width: 90%;
    display: flex;
    justify-content: center;
}


.header_sec {
    position: absolute;
    top: 75%;
    display: flex;
}

.rectangle {
    margin-left: 20px;
    font-size: 10px;
    width: 18px;
    height: 100px;
    background-color: var(--main-button-color);
    transition: 1s;
}

section.show-animate .rectangle {
    transform: translateX(500px);
    opacity: 0;
    height: 0;
} 
section.show-animate .header_title,
section.show-animate .header_subtitle {
    transform: translateX(500px);
    overflow: hidden;
    opacity: 0;
}


.header_title {
    margin-left: 30px;   
    transition: all 1s;
}

.header_subtitle {
    font-size: 30px;
    transition: all 1s;
    margin-left: 30px;
    color: var(--main-text-color);
}




/* FOOTER */


footer {
    position:relative;
    width: 100%;
    bottom: 0;
    display: flex;
    justify-content:space-between;
    background: black;
    color: var(--footer-text-color);
    font-size: 12px;
    text-align: center;
    padding: 20px 20px;
}

.footertext p,
.footertext a {
    display: flex;
    color: var(--footer-text-color);
    margin: auto;
    position:relative;
    font-size: 12px;
    height:100%;
    justify-content: center;
    align-items: center;
}
.footertext a:hover {
    color: var(--main-button-color);
}
.socialmedia{
    width:100px;
    display: flex;
    justify-content:space-between;
}

.socialmedia img{
    width: 55px;
    display: flex;
    justify-content:space-between;
    padding: 10px;
}

/* RESPONSIVE */
@media screen and (max-width: 975px) {
    body::-webkit-scrollbar {
        display: none;
    }
    
    body {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }

    .navbar .links,
    .navbar .action_btn {
        display: none;
    }

    .navbar .toggle_btn {
        display: block;
    }

    .dropdown_menu {
        display: block;
    }
}

@media screen and (max-width: 550px) {
    body::-webkit-scrollbar {
        display: none;
    }
    
    body {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    
    .dropdown_menu {
        left: 25px;
        width: unset;
    }

    .navbar .logo a {
        font-size: 20px;
    }

    .header_title {
        font-size: 30px;
    }

    .header_subtitle {
        font-size: 20px;
    }
}

