.display-frames{
	animation-name: fade;
	animation-duration: 1.5s;
}

@keyframes fade{
	0%{
		opacity: .1;
	}
	100%{
		opacity: 1;
	}
}

.centered-elems{
    display: flex;
    justify-content: center;
}

#portfolio-link{
    background: linear-gradient(.9turn, var(--color-bright-purple), var(--color-semi-bright-pink), var(--color-bright-orange));
    color: #ffffff;
    text-decoration: none;
    padding: .5rem 1rem;
    border-radius: 25px;
    margin-bottom: 5rem;
    font-size: 1.4rem;
}

#main-search{
    display: flex;
    align-items: center;
    padding: .3rem .3rem .3rem 2rem;
    background: #f1f3f4;
    border-radius: 50px;
    width: 65.125rem;
    justify-content: space-between;
    margin: 0 3rem 1rem 3rem;

    & input{
    	outline: none;
    	background: transparent;
        border: none;
        width: 100%;
	font-size: 1.4rem;
    }

    & button{
    	border: none;
        background: #1b2fa3;
    	border-radius: 50px;
        display: flex;
    	align-items: center;
	padding: .5rem;
    }

    & img{
    	block-size: 2rem;
    }
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 20px;
  width: 20px;
  margin-left: .4em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777'><path d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/></svg>");
  cursor: pointer;
}

#navbar{
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 3rem;
    background-color: #1b2fa3;
    flex-direction: row;
    border-radius: 0 0 15px 15px;
}

#title-name{
    list-style-type: none;
    padding-left: .9rem;
}

#title-name-header1{
    font-size: 2rem;
    text-decoration: none;
    color: #ffffff;
    padding-left: .9rem;
}

#title-name-header2{
    font-size: 1.2rem;
    text-decoration: none;
    color: #d1d1d1;
}

#title{
	& svg{
    width: min(40rem,90vw);
    height:min(calc(.068*40rem),calc(.068*90vw));
    }
}

#srch-btn{
	& svg{
		width: 1.5rem;
		height: 1.5rem;
	}
}

#right-header-side{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navbar-inner-top{
    border-block-end: 1px solid #210868;
    padding-block-end: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#navigation-search{
    gap: .4rem;
    display: flex;
    align-items: center;
    justify-content: right;
}

#navigation-search-input{
    outline: none; background: transparent; background: #f1f3f4; border: 1px solid transparent; padding: .5rem .5rem; border-radius: 25px;
}

#navigation-search-input:focus-within{
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, .14), 0 1px 10px 0 rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .2);
    background-color: #ffffff;
}

#navbar-inner-bottom{
    padding-block: 1rem;
    border-block-end: 1px solid #210868;
    display: flex;
    align-items: center;
    gap: .4rem;
    justify-content: flex-end;
}


@media (max-width: 70.125rem) {
    #main-search{
    	width: 100%;
    }

    #navbar{
        padding: .5rem;
        flex-direction: column;
    }

    #logo-rudn{
        block-size: 3rem;
    }

    #navbar-inner-top{
        padding: .5rem;
    }

    #title{
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    #title-name-header1{
        font-size: 1.3rem;
    }
    
    #title-name-header2{
        font-size: .8rem;
    }

    #right-header-side{
        padding-bottom: 0;
    }
}

body{
	--color-bright-purple: #971df6;
	--color-semi-bright-pink: #cc3291;
	--color-bright-orange: #f66f21;

    --padding-lr: 0;
    --h1-font-size: 4rem;
    --h2-font-size: 3rem;
    --h3-font-size: 2rem;
    --p-font-size: 1.2;

    margin:0;
    font-family: PF Agora Sans Pro, Arial, sans-serif;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1001;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: hsla(0, 0%, 7%, .4);
}

.modal-cross {
    cursor: pointer;
    position: absolute;
    top: 60px;
    right: 60px;
}

.copy-button{
    color: #ffffff; background-color: #1b2fa3; font-size: 1.3rem; padding: .5rem 1rem; border: none; border-radius: 25px; width: 20rem; display: flex; justify-content: space-between; align-items: center;
}

.copy-button:hover{
    background-color: #324de4;
}

.copy-button:focus{
    color: #bbb9b9;
    background-color: #182366;
}

.content-body{
    width: 65.125rem;
}

.link-btn-nav{
	background: transparent;
	color: #ffffff;
	border-radius: 2px;
	text-decoration: none;
	padding: .1rem .5rem;
	width: fit-content;

	& svg{
		width: 2.6rem;
		height: 2.6rem;
	}
}

.link-btn-nav:hover{
	background-color: #190f2e;
	text-decoration: underline;
}


.content-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}


h1{
    font-size: var(--h1-font-size);
    margin: 1.1rem 0;
}

h2{
    font-size: var(--h2-font-size);
    margin: 1rem 0;
}

h3{
    font-size: var(--h3-font-size);
    margin: 1rem 0;
}

p{
    font-size: var(--p-font-size);
}

#lead-section{
    margin-bottom: -10rem;
    padding: 0 var(--padding-lr);
}

#lead{
    margin-top: 8rem;
}

#lead-desc{
    margin: 0 0 6rem 0;
}

#contacts{
    color: #ffffff;
    background-color: #1F0159;
    border-radius: 15px;
    padding: 2rem 3rem;
    font-size: 1.3rem;

    & ul{
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    & li{
        border-top: 1px solid #C4C4C4;
        padding: 1rem 0;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
    }

    & svg{
        height: 1.3rem;
        width: 1.3rem;
        flex-shrink: 0;
    }
}

.copy-btn{
    & use{
        stroke: #ffffff;
    }
}

.copy-btn:focus-within{
    & use{
        stroke: #747474;
    }
}

.grey{
    color: #D9D9D9;
    width: 20rem;
    display: flex;
    justify-content: space-between;
}

.bold{
    font-weight: bold;
}

#contacts-desc{
    font-size: 1.6rem;
    margin: 0 0 2rem 0;

    & a{
        font-weight: bold;
        color: #ffffff;
    }
}

.grad-back{
    margin-bottom: 0;
    background: linear-gradient(.21turn, var(--color-bright-purple), var(--color-semi-bright-pink), var(--color-bright-orange));
}

#padded-back{
    padding: 15rem var(--padding-lr) 1rem var(--padding-lr);
}

.department-section{
    margin-bottom: 5rem;
    padding: 0 var(--padding-lr);
}

#common-back{
    padding: 4rem var(--padding-lr) 1rem var(--padding-lr);
}

.white{
    color: #ffffff;
}

.header-btn{
    --svg-wh: 2rem;
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    & svg{
        height: var(--svg-wh);
        width: var(--svg-wh);
        flex-shrink: 0;
    }
}

.drp-container{
    border-bottom: 1px solid #c4c4c4;
}

.content-body :last-child{
    border-bottom: 0;
}

.drp-area{
    margin-bottom: 3rem;
}

.drp-area p:first-child{
    margin-top: 0;
}

.hid{
    display: none;
}

.rt{
    transform: rotate(-90deg);
}

.contrast-block{
    padding: 1rem 2rem;
    background-color: #e5e5e5;
    border-radius: 5px;

    & li{
        margin: .5rem 0;
    }
}

@media (max-width: 70.125rem){
    body{
        --padding-lr: 1rem;
        --h1-font-size: 3rem;
        --h2-font-size: 2rem;
        --h3-font-size: 1rem;
        --p-font-size: 1rem;
    }

    .contact{
        gap: 1rem;
    }

    #contacts{
        font-size: 1rem;
        padding: 2rem 1.5rem;
    }

    #contacts-desc {
        font-size: 1rem;
    }

    .grey {
        width: unset;
        gap: 1rem;
        text-align: right;
    }

    .header-btn{
        --svg-wh: 1rem;
    }

    .contrast-block {
        padding: 1rem 1rem 1rem 0;
    }
}


footer{
    margin: 1rem 0 0 0;
    padding: 8rem 4rem .4rem 4rem;
}

#footer-nav{
    margin-bottom: 3rem; display: flex; flex-direction: row; align-items: center;
}

#footer-logo-rudn{
    block-size: 4rem;
    margin-bottom: 1.5rem;
}

.point{
    margin: 0 2rem .8rem 0;
}

#footer-logo{
	width: 6rem;
	height: 6rem;
	margin: 0 2rem 0 .2rem;
}

.footer-link{
    font-size: 1.1rem;
    color: #747474;
    text-decoration: none;
}

.footer-link:hover{
    text-decoration: underline;
}

@media (max-width: 70.125rem){
    #footer-nav{
        flex-direction: column;
	align-items: unset;
    }
}

